Interface IBasicInventory
- All Superinterfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container
- All Known Implementing Classes:
CookingPotTileEntity,FossilCleanerTileEntity,InventoryTileEntity
public interface IBasicInventory
extends net.minecraft.world.Container
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanPlaceItem(int index, net.minecraft.world.item.ItemStack stack) default voiddefault intdefault net.minecraft.world.item.ItemStackremoveItem(int index, int count) default voidstartOpen(net.minecraft.world.entity.player.Player player) default voidstopOpen(net.minecraft.world.entity.player.Player player) Methods inherited from interface net.minecraft.world.Container
canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItemNoUpdate, setChanged, setItem, stillValid
-
Method Details
-
removeItem
default net.minecraft.world.item.ItemStack removeItem(int index, int count) - Specified by:
removeItemin interfacenet.minecraft.world.Container
-
getMaxStackSize
default int getMaxStackSize()- Specified by:
getMaxStackSizein interfacenet.minecraft.world.Container
-
startOpen
default void startOpen(net.minecraft.world.entity.player.Player player) - Specified by:
startOpenin interfacenet.minecraft.world.Container
-
stopOpen
default void stopOpen(net.minecraft.world.entity.player.Player player) - Specified by:
stopOpenin interfacenet.minecraft.world.Container
-
canPlaceItem
default boolean canPlaceItem(int index, net.minecraft.world.item.ItemStack stack) - Specified by:
canPlaceItemin interfacenet.minecraft.world.Container
-
clearContent
default void clearContent()- Specified by:
clearContentin interfacenet.minecraft.world.Clearable
-