public interface IBasicInventory
extends net.minecraft.inventory.IInventory
Modifier and Type | Method and Description |
---|---|
default boolean |
canPlaceItem(int index,
net.minecraft.item.ItemStack stack) |
default void |
clearContent() |
default int |
getMaxStackSize() |
default net.minecraft.item.ItemStack |
removeItem(int index,
int count) |
default void |
startOpen(net.minecraft.entity.player.PlayerEntity player) |
default void |
stopOpen(net.minecraft.entity.player.PlayerEntity player) |
default net.minecraft.item.ItemStack removeItem(int index, int count)
removeItem
in interface net.minecraft.inventory.IInventory
default int getMaxStackSize()
getMaxStackSize
in interface net.minecraft.inventory.IInventory
default void startOpen(net.minecraft.entity.player.PlayerEntity player)
startOpen
in interface net.minecraft.inventory.IInventory
default void stopOpen(net.minecraft.entity.player.PlayerEntity player)
stopOpen
in interface net.minecraft.inventory.IInventory
default boolean canPlaceItem(int index, net.minecraft.item.ItemStack stack)
canPlaceItem
in interface net.minecraft.inventory.IInventory
default void clearContent()
clearContent
in interface net.minecraft.inventory.IClearable