Inventory Tabs (updated)

Inventory Tabs (updated)

196k Downloads

Entity Inventories

19MisterX98 opened this issue ยท 2 comments

commented

Add support for entity inventories:

  • -Add support for minecart inventories

  • -Add support for horses/donkeys/llamas with chests (you need to open their inventories via shift click)

  • -Maybe villager/wandering trader inventories

commented

After a crazy long amount of time, I've started working on this feature!

Here is Minecart inventories working:

InventoryTabs_Entities.mp4

I still need to filter entities, right now it shows tabs for every single one (the furnace Minecart does not need a tab, for example)

EDIT: also, villager tabs:

villager tabs

commented

Just going to document the issues with this so far so they're tracked:

Each type of entity gets only one tab: (here's two famers)
image

Detection method adds every entity that has a use interaction (I think?) - allays have been noted, here's an unemployed villager:
image

Villager method has no context sensitivity:
image

This sleeping villager wont be woken by clicking the tab (that's a completely seperate use action that needs to occur first)

Instinctively - villagers have so much additional context and settings that they're probably better implemented as a sub-type of EntityTab instead of just Simple.