Package net.minecraft.world
Interface WorldlyContainer
- All Superinterfaces:
Clearable,Container,ContainerExtension,Iterable<ItemStack>
- All Known Implementing Classes:
AbstractFurnaceBlockEntity,BlastFurnaceBlockEntity,BrewingStandBlockEntity,ComposterBlock.EmptyContainer,ComposterBlock.InputContainer,ComposterBlock.OutputContainer,FurnaceBlockEntity,ShulkerBoxBlockEntity,SmokerBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.Container
Container.ContainerIterator -
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceItemThroughFace(int pIndex, ItemStack pItemStack, Direction pDirection) Returnstrueif automation can insert the given item in the given slot from the given side.booleancanTakeItemThroughFace(int pIndex, ItemStack pStack, Direction pDirection) Returnstrueif automation can extract the given item in the given slot from the given side.int[]getSlotsForFace(Direction pSide) Methods inherited from interface net.minecraft.world.Clearable
clearContentMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getContainerSize, getEntitiesWithContainerOpen, getItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpenMethods inherited from interface net.neoforged.neoforge.common.extensions.ContainerExtension
onTransfer, setItemMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
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.
-