Package net.ixdarklord.coolcatcore.api.container
package net.ixdarklord.coolcatcore.api.container
-
ClassDescriptionAn item whose stacks carry an inventory (a backpack, a pouch), kept in the stack's
minecraft:containercomponent.The shape of an inventory: how many slots, what each accepts and holds, who reaches it and from which faces.A menu slot of aSlotContainerthat follows its layout: filters andSlotRole.OUTPUTdecide what a player may put in, and slot limits how much.Inventories kept in an item stack'sminecraft:containercomponent (as shulker boxes keep theirs).Moving items in and out of anyContainerthe way automation does: through a face (nullfor none), followingWorldlyContainerface rules,Container.canPlaceItem(int, ItemStack)/Container.canTakeItem(Container, int, ItemStack)and slot limits.What aWorldlyContainershows through one face: only the slots that face reaches (numbered from 0), and only what the face allows in and out.An inventory following aContainerLayout.Who may put items into a slot and take them out: players through a menu, and automation (hoppers, pipes,ItemTransfer).