public class PlayerInventory1_12_2
extends mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
wrappedBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Constructor and Description |
|---|
PlayerInventory1_12_2(java.lang.Object inventory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> |
getArmorStacks() |
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> |
getHotbarStacks() |
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> |
getMainStacks() |
java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> |
getOffHandStacks() |
int |
getSlots() |
mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> |
getStack(int slot) |
boolean |
isEmpty() |
void |
setStack(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> stack,
int slot) |
getStackshasItem, hasStack, isNotEmpty, isSlotEmpty, isSlotNotEmptyequals, getWrapped, getWrappedClass, toStringpublic java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getArmorStacks()
getArmorStacks in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>public java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getHotbarStacks()
getHotbarStacks in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>public java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getMainStacks()
getMainStacks in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>public java.util.Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getOffHandStacks()
getOffHandStacks in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>public mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> getStack(int slot)
getStack in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>public int getSlots()
getSlots in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>public boolean isEmpty()
isEmpty in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>public void setStack(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> stack,
int slot)
setStack in class mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>