Class PlayerInventory1_12_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.entity.player.InventoryPlayer>
mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>
mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.container.PlayerInventory1_12_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.entity.player.InventoryPlayer>
public class PlayerInventory1_12_2
extends mods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
wrapped -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> intgetSlots()mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> getStack(int slot) booleanisEmpty()voidsetStack(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> stack, int slot) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI
hasItem, hasStack, isNotEmpty, isSlotEmpty, isSlotNotEmptyMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped
equals, getWrapped, getWrappedClass, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped
unwrap
-
Constructor Details
-
PlayerInventory1_12_2
-
-
Method Details
-
getArmorStacks
public Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getArmorStacks()- Specified by:
getArmorStacksin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
getHotbarStacks
public Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getHotbarStacks()- Specified by:
getHotbarStacksin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
getMainStacks
public Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getMainStacks()- Specified by:
getMainStacksin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
getOffHandStacks
public Collection<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> getOffHandStacks()- Specified by:
getOffHandStacksin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.PlayerInventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
getStack
public mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> getStack(int slot) - Specified by:
getStackin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
getSlots
public int getSlots()- Specified by:
getSlotsin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-
setStack
public void setStack(mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> stack, int slot) - Specified by:
setStackin classmods.thecomputerizer.theimpossiblelibrary.api.common.container.InventoryAPI<net.minecraft.entity.player.InventoryPlayer>
-