Package net.minecraft.world.level.block
Class ComposterBlock.OutputContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.level.block.ComposterBlock.OutputContainer
- All Implemented Interfaces:
- Clearable,- Container,- StackedContentsCompatible,- WorldlyContainer
- Enclosing class:
- ComposterBlock
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprivate final LevelAccessorprivate final BlockPosprivate final BlockStateFields inherited from interface net.minecraft.world.ContainerDEFAULT_DISTANCE_BUFFER
- 
Constructor SummaryConstructorsConstructorDescriptionOutputContainer(BlockState p_52042_, LevelAccessor p_52043_, BlockPos p_52044_, ItemStack p_52045_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanPlaceItemThroughFace(int p_52049_, ItemStack p_52050_, Direction p_52051_) booleancanTakeItemThroughFace(int p_52055_, ItemStack p_52056_, Direction p_52057_) intint[]getSlotsForFace(Direction p_52053_) voidMethods inherited from class net.minecraft.world.SimpleContaineraddItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setItem, stillValid, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.ClearableclearContentMethods inherited from interface net.minecraft.world.ContainercanPlaceItem, canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setItem, startOpen, stillValid, stopOpen
- 
Field Details- 
state
- 
level
- 
pos
- 
changedprivate boolean changed
 
- 
- 
Constructor Details- 
OutputContainerpublic OutputContainer(BlockState p_52042_, LevelAccessor p_52043_, BlockPos p_52044_, ItemStack p_52045_) 
 
- 
- 
Method Details- 
getMaxStackSizepublic int getMaxStackSize()- Specified by:
- getMaxStackSizein interface- Container
 
- 
getSlotsForFace- Specified by:
- getSlotsForFacein interface- WorldlyContainer
 
- 
canPlaceItemThroughFacepublic boolean canPlaceItemThroughFace(int p_52049_, ItemStack p_52050_, @Nullable Direction p_52051_) - Specified by:
- canPlaceItemThroughFacein interface- WorldlyContainer
 
- 
canTakeItemThroughFace- Specified by:
- canTakeItemThroughFacein interface- WorldlyContainer
 
- 
setChangedpublic void setChanged()- Specified by:
- setChangedin interface- Container
- Overrides:
- setChangedin class- SimpleContainer
 
 
-