Package net.minecraft.world.ticks
Interface ContainerSingleItem
- All Known Implementing Classes:
- JukeboxBlockEntity
- 
Field SummaryFields inherited from interface net.minecraft.world.ContainerDEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
- 
Method SummaryModifier and TypeMethodDescriptiondefault voiddefault intdefault ItemStackdefault booleanisEmpty()default ItemStackdefault ItemStackremoveItemNoUpdate(int p_273409_) default voidsetFirstItem(ItemStack p_273635_) Methods inherited from interface net.minecraft.world.ContainercanPlaceItem, canTakeItem, countItem, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, removeItem, setChanged, setItem, startOpen, stillValid, stopOpen
- 
Method Details- 
getContainerSizedefault int getContainerSize()- Specified by:
- getContainerSizein interface- Container
 
- 
isEmptydefault boolean isEmpty()
- 
clearContentdefault void clearContent()- Specified by:
- clearContentin interface- Clearable
 
- 
getFirstItem
- 
removeFirstItem
- 
setFirstItem
- 
removeItemNoUpdate- Specified by:
- removeItemNoUpdatein interface- Container
 
 
-