Skip navigation links
A B C D E F G H I M N O P R S V 

A

accept(int) - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts the given count of items.
acceptAll() - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts all items.
acceptNone() - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slots count function which accepts no items.
accepts(S) - Method in class net.lenni0451.mcstructs.inventory.Slot
Check if this slots accepts the given item stack.
acceptsCount(S) - Method in class net.lenni0451.mcstructs.inventory.Slot
Get the max count of items this slot accepts.
acceptTags(ItemTag...) - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts the given item tags.
acceptTags(int, ItemTag...) - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts the given item tags with the given max count.
acceptTypes(ItemType...) - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts the given item types.
acceptTypes(int, ItemType...) - Static method in class net.lenni0451.mcstructs.inventory.Slot
Get a slot count function which accepts the given item types with the given max count.
AContainer<T extends IInventory<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.types
The base class for containers.
AContainer(int) - Constructor for class net.lenni0451.mcstructs.inventory.types.AContainer
 
AContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7
 
AContainer_v1_7(int) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
addBookEnchantment(S, Enchantment, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
addSlot(IInventory<I, S>, int, BiFunction<Slot<T, I, S>, S, Integer>) - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Add a slot to this container.
addSlot(IntFunction<SLOT>) - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Add a custom slot to this container.
addStack(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
AnvilContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
AnvilContainer_v1_7(int, InventoryHolder<T, I, S>, EnchantmentRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
AnvilContainer_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
AnvilContainer_v1_8(int, InventoryHolder<T, I, S>, EnchantmentRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.container.AnvilContainer_v1_8
 
AnvilResultSlot_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.slots
 
AnvilResultSlot_v1_7(CraftingResultInventory_v1_7<I, S>, int, AnvilContainer_v1_7<T, I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.AnvilResultSlot_v1_7
 

B

BeaconContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
BeaconContainer_v1_7(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BeaconContainer_v1_7
 
BeaconInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
BeaconInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
BrewingStandContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
BrewingStandContainer_v1_7(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BrewingStandContainer_v1_7
 
BrewingStandInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
BrewingStandInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 

C

canTake(InventoryHolder<T, I, S>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.AnvilResultSlot_v1_7
 
canTake(InventoryHolder<T, I, S>) - Method in class net.lenni0451.mcstructs.inventory.Slot
Check if the given inventory holder can take the contents of this slot.
canTakeAll(Slot<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
canTakeAll(Slot<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
ChestContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
ChestContainer_v1_7(int, T, int) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
click(InventoryHolder<T, I, S>, int, int, InventoryAction) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
click(InventoryHolder<T, I, S>, int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
click(InventoryHolder<T, I, S>, int, int, InventoryAction) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
click(InventoryHolder<T, I, S>, int, int, InventoryAction) - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Handle a click in this container.
close() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
close() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
close() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
close() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
close() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
close() - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Handle the closing of this container.
CraftingInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
CraftingInventory_v1_7(ICraftingContainer<I, S>, int, int) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
CraftingResultInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
CraftingResultInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingResultInventory_v1_7
 
CraftingResultSlot_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.slots
 
CraftingResultSlot_v1_7(CraftingResultInventory_v1_7<I, S>, int, CraftingInventory_v1_7<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.CraftingResultSlot_v1_7
 
CraftingResultSlot_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.slots
 
CraftingResultSlot_v1_8(CraftingResultInventory_v1_7<I, S>, int, CraftingInventory_v1_7<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.slots.CraftingResultSlot_v1_8
 
CraftingTableContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
CraftingTableContainer_v1_7(int, T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
CraftingTableContainer_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
CraftingTableContainer_v1_8(int, T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.container.CraftingTableContainer_v1_8
 
craftingUpdate(ICraftingInventory<I, S>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
craftingUpdate(ICraftingInventory<I, S>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
craftingUpdate(ICraftingInventory<I, S>) - Method in interface net.lenni0451.mcstructs.inventory.types.ICraftingContainer
Update the crafting inventory.
createEnchantmentInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
createEnchantmentInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.EnchantmentTableContainer_v1_8
 

D

DispenserContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
DispenserContainer_v1_7(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.DispenserContainer_v1_7
 
DispenserInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
DispenserInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
DraggingState - Enum in net.lenni0451.mcstructs.inventory.enums
The dragging state of a container.

E

EnchantmentTableContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
EnchantmentTableContainer_v1_7(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
EnchantmentTableContainer_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
EnchantmentTableContainer_v1_8(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.container.EnchantmentTableContainer_v1_8
 

F

FurnaceContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
FurnaceContainer_v1_7(int, T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
FurnaceContainer_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
FurnaceContainer_v1_8(int, T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.container.FurnaceContainer_v1_8
 
FurnaceInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
FurnaceInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 

G

getAnvilContainer() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.AnvilResultSlot_v1_7
 
getArmor() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getArmorSlotOffset(List<ItemType>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
getBeaconInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BeaconContainer_v1_7
 
getBrewingStandInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BrewingStandContainer_v1_7
 
getButton(int) - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Get the button from the given button and dragging state.
getChestInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
getCraftingContainer() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getCraftingInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
getCraftingInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
getCraftingInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.CraftingResultSlot_v1_7
 
getCraftingResultInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
getCraftingResultInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
getCurrentRecipe() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getCurrentRecipeIndex() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getCursorStack() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getDispenserInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.DispenserContainer_v1_7
 
getDraggingState(int) - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Get the dragging state from the given button and dragging state.
getEmptySlot() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getEnchantmentInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
getEnchantmentRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getEnchantments(S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getFurnaceInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
getHeight() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getHopperInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HopperContainer_v1_7
 
getHorseInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 
getInputSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getInventory() - Method in class net.lenni0451.mcstructs.inventory.Slot
Get the inventory of this slot.
getInventoryHolder() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getInventoryIndex() - Method in class net.lenni0451.mcstructs.inventory.Slot
Get the inventory index of this slot.
getMain() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getOpenContainer() - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
 
getOutputSlot() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BeaconContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BrewingStandContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.DispenserContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HopperContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
getPlayerInventory() - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
 
getPlayerInventoryContainer() - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
 
getRarityFactor(Enchantment) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getRecipeRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
getRecipeRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
getRecipeRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
getRecipeRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
getRecipeRegistry() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getRepairCost() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getRepairItem(S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getRepairItemName() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getRepairStackCount() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
getRowCount() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
getRowSlotCount() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingResultInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
getSize() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getSize() - Method in interface net.lenni0451.mcstructs.inventory.types.IInventory
 
getSlot(int) - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Get a slot by its index.
getSlotCount() - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
 
getSlotIndex() - Method in class net.lenni0451.mcstructs.inventory.Slot
Get the slot index of this slot.
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getStack(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingResultInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
getStack(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getStack() - Method in class net.lenni0451.mcstructs.inventory.Slot
 
getStack(int) - Method in interface net.lenni0451.mcstructs.inventory.types.IInventory
Get the item stack in the given slot.
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
getStacks() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
getVillagerInventory() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
getWidth() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
getWindowId() - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
 
getXpLevel() - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
 

H

hasChest() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 
hasContainer(List<ItemType>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.CraftingResultSlot_v1_7
 
HopperContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
HopperContainer_v1_7(int, T) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HopperContainer_v1_7
 
HopperInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
HopperInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
HorseContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
HorseContainer_v1_7(int, T, int, boolean, boolean) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 

I

ICraftingContainer<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Interface in net.lenni0451.mcstructs.inventory.types
The base interface for crafting containers.
IInventory<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Interface in net.lenni0451.mcstructs.inventory.types
The base interface for inventories.
IInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Interface in net.lenni0451.mcstructs.inventory.impl.v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BeaconContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BrewingStandContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.DispenserContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HopperContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.CraftingTableContainer_v1_8
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.EnchantmentTableContainer_v1_8
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.FurnaceContainer_v1_8
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.PlayerContainer_v1_8
 
initSlots() - Method in class net.lenni0451.mcstructs.inventory.types.AContainer
Initialize all slots of this container.
InventoryAction - Enum in net.lenni0451.mcstructs.inventory.enums
The inventory actions when clicking on a slot.
InventoryHolder<T extends IInventory<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory
The inventory holder.
InventoryHolder(T, R, BiFunction<T, R, AContainer<T, I, S>>) - Constructor for class net.lenni0451.mcstructs.inventory.InventoryHolder
Create a new inventory holder.
InventoryHolder(T, AContainer<T, I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.InventoryHolder
Create a new inventory holder.
isCreativeMode() - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
 
isDragging(int) - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Check if the button can be used for dragging.
isHorse() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 

M

maxStackCount() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
maxStackCount() - Method in interface net.lenni0451.mcstructs.inventory.types.IInventory
 
mergeStack(S, int, int, boolean) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.AContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BeaconContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.BrewingStandContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.ChestContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.CraftingTableContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.DispenserContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.EnchantmentTableContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.FurnaceContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HopperContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.HorseContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
moveStack(InventoryHolder<T, I, S>, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.EnchantmentTableContainer_v1_8
 

N

net.lenni0451.mcstructs.inventory - package net.lenni0451.mcstructs.inventory
 
net.lenni0451.mcstructs.inventory.enums - package net.lenni0451.mcstructs.inventory.enums
 
net.lenni0451.mcstructs.inventory.impl.v1_7 - package net.lenni0451.mcstructs.inventory.impl.v1_7
 
net.lenni0451.mcstructs.inventory.impl.v1_7.container - package net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
net.lenni0451.mcstructs.inventory.impl.v1_7.inventory - package net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
net.lenni0451.mcstructs.inventory.impl.v1_7.slots - package net.lenni0451.mcstructs.inventory.impl.v1_7.slots
 
net.lenni0451.mcstructs.inventory.impl.v1_8.container - package net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
net.lenni0451.mcstructs.inventory.impl.v1_8.slots - package net.lenni0451.mcstructs.inventory.impl.v1_8.slots
 
net.lenni0451.mcstructs.inventory.types - package net.lenni0451.mcstructs.inventory.types
 

O

onTake(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.AnvilResultSlot_v1_7
 
onTake(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.CraftingResultSlot_v1_7
 
onTake(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.VillagerResultSlot_v1_7
 
onTake(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.slots.CraftingResultSlot_v1_8
 
onTake(InventoryHolder<T, I, S>, S) - Method in class net.lenni0451.mcstructs.inventory.Slot
Update the slot when an item stack is taken from this slot.
onUpdate() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
onUpdate() - Method in class net.lenni0451.mcstructs.inventory.Slot
Update the inventory of this slot.
onUpdate() - Method in interface net.lenni0451.mcstructs.inventory.types.IInventory
Handle inventory updates.

P

PlayerContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
Slots:
0-4: crafting slots (output, slot 1-1, slot 1-2, slot 2-1, slot 2-2)
5-8: armor slots (boots, leggings, chestplate, helmet)
9-35: upper inventory slots
36-44: hotbar slots
PlayerContainer_v1_7(T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.PlayerContainer_v1_7
 
PlayerContainer_v1_8<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_8.container
 
PlayerContainer_v1_8(T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_8.container.PlayerContainer_v1_8
 
PlayerInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
PlayerInventory_v1_7() - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 

R

refresh() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
refresh() - Method in class net.lenni0451.mcstructs.inventory.impl.v1_8.container.AnvilContainer_v1_8
 

S

setCreativeMode(boolean) - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
Set the creative mode state.
setCurrentRecipeIndex(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
setCursorStack(S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
setDraggingState(DraggingState, int) - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Append the dragging state to the given button.
setEnchantments(S, Map<Enchantment, Short>) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
setOpenContainer(AContainer<T, I, S>) - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
Set the currently open container.
setRepairCost(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
setRepairItemName(String) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
setRepairStackCount(int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.container.AnvilContainer_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingResultInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
setStack(int, S) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
setStack(S) - Method in class net.lenni0451.mcstructs.inventory.Slot
Set the item stack in this slot.
setStack(int, S) - Method in interface net.lenni0451.mcstructs.inventory.types.IInventory
Set the item stack in the given slot.
setXpLevel(int) - Method in class net.lenni0451.mcstructs.inventory.InventoryHolder
Set the xp level of the inventory holder.
SimpleInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
SimpleInventory_v1_7(int) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
Slot<T extends IInventory<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory
The base slot for containers.
Slot(IInventory<I, S>, int, int, BiFunction<Slot<T, I, S>, S, Integer>) - Constructor for class net.lenni0451.mcstructs.inventory.Slot
Create a new slot.
split(int, int) - Method in interface net.lenni0451.mcstructs.inventory.impl.v1_7.IInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BeaconInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.BrewingStandInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.CraftingResultInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.DispenserInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.FurnaceInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.HopperInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.PlayerInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.SimpleInventory_v1_7
 
split(int, int) - Method in class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 

V

valueOf(String) - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.inventory.enums.InventoryAction
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.mcstructs.inventory.enums.DraggingState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.mcstructs.inventory.enums.InventoryAction
Returns an array containing the constants of this enum type, in the order they are declared.
VillagerContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.container
 
VillagerContainer_v1_7(int, T, ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.container.VillagerContainer_v1_7
 
VillagerInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.inventory
 
VillagerInventory_v1_7(ARecipeRegistry<I, S>) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.inventory.VillagerInventory_v1_7
 
VillagerResultSlot_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> - Class in net.lenni0451.mcstructs.inventory.impl.v1_7.slots
 
VillagerResultSlot_v1_7(VillagerInventory_v1_7<I, S>, int) - Constructor for class net.lenni0451.mcstructs.inventory.impl.v1_7.slots.VillagerResultSlot_v1_7
 
A B C D E F G H I M N O P R S V 
Skip navigation links