Package fr.fidorial.inventory
package fr.fidorial.inventory
Containers: the inventories of players and of their ender chests, and the blocks of the worlds
keeping slots, the chests, alone or joined into large chests, the barrels and the hoppers.
Every type here is an interface the server implements: plugins read and change the containers the server hands them.
- Since:
- 0.1.0
-
ClassDescriptionThe slots of a barrel, read from and written to its block entity as
BlockInventorytells.The slots a block keeps in its block entity: those of a chest, of a barrel or of a hopper.The 27 slots of one chest block: a chest, a trapped chest or one of the copper chests, read from and written to its block entity asBlockInventorytells.A fixed number of item slots, indexed from0.A large chest: two chests standing side by side, facing the same way, seen as one container of 54 slots.A player's ender chest, shared by every ender chest block they open.One place an entity wears or holds an item, as an item'sminecraft:equippablecomponent names it.The equipment slots an attribute modifier applies in.The 5 slots of a hopper, read from and written to its block entity asBlockInventorytells.The inventory a player carries; the server makes it, plugins read and change it.