Package net.minecraft.world.ticks
Interface ContainerSingleItem
- All Known Implementing Classes:
- DecoratedPotBlockEntity,- JukeboxBlockEntity
- 
Field SummaryFields inherited from interface net.minecraft.world.ContainerDEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
- 
Method SummaryModifier 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.ContainercanPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged, startOpen, stopOpen
- 
Method Details- 
getTheItemItemStack getTheItem()
- 
splitTheItem
- 
setTheItem
- 
getContainerBlockEntityBlockEntity getContainerBlockEntity()
- 
removeTheItem
- 
getContainerSizedefault int getContainerSize()- Specified by:
- getContainerSizein interface- Container
 
- 
isEmptydefault boolean isEmpty()
- 
clearContentdefault void clearContent()- Specified by:
- clearContentin interface- Clearable
 
- 
removeItemNoUpdate- Specified by:
- removeItemNoUpdatein interface- Container
 
- 
getItem
- 
removeItem- Specified by:
- removeItemin interface- Container
 
- 
setItem
- 
stillValid- Specified by:
- stillValidin interface- Container
 
 
-