Package net.minecraft.world.ticks
Interface ContainerSingleItem
- All Known Implementing Classes:
 DecoratedPotBlockEntity,JukeboxBlockEntity
- 
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE - 
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault intdefault ItemStackgetItem(int p_304882_) default booleanisEmpty()default ItemStackremoveItem(int p_304944_, int p_304791_) default ItemStackremoveItemNoUpdate(int p_273409_) default ItemStackdefault voidvoidsetTheItem(ItemStack p_304718_) splitTheItem(int p_304641_) default booleanstillValid(Player p_304856_) Methods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged, startOpen, stopOpen 
- 
Method Details
- 
getTheItem
ItemStack getTheItem() - 
splitTheItem
 - 
setTheItem
 - 
getContainerBlockEntity
BlockEntity getContainerBlockEntity() - 
removeTheItem
 - 
getContainerSize
default int getContainerSize()- Specified by:
 getContainerSizein interfaceContainer
 - 
isEmpty
default boolean isEmpty() - 
clearContent
default void clearContent()- Specified by:
 clearContentin interfaceClearable
 - 
removeItemNoUpdate
- Specified by:
 removeItemNoUpdatein interfaceContainer
 - 
getItem
 - 
removeItem
- Specified by:
 removeItemin interfaceContainer
 - 
setItem
 - 
stillValid
- Specified by:
 stillValidin interfaceContainer
 
 -