Package net.minecraft.world
Interface WorldlyContainer
- All Known Implementing Classes:
AbstractFurnaceBlockEntity,BlastFurnaceBlockEntity,BrewingStandBlockEntity,ComposterBlock.EmptyContainer,ComposterBlock.InputContainer,ComposterBlock.OutputContainer,FurnaceBlockEntity,ShulkerBoxBlockEntity,SmokerBlockEntity
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceItemThroughFace(int index, ItemStack itemStack, Direction direction) Returnstrueif automation can insert the given item in the given slot from the given side.booleancanTakeItemThroughFace(int index, ItemStack stack, Direction direction) Returnstrueif automation can extract the given item in the given slot from the given side.int[]getSlotsForFace(Direction side) Methods inherited from interface net.minecraft.world.Clearable
clearContentMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpen
-
Method Details
-
getSlotsForFace
-
canPlaceItemThroughFace
Returnstrueif automation can insert the given item in the given slot from the given side. -
canTakeItemThroughFace
Returnstrueif automation can extract the given item in the given slot from the given side.
-