Package net.minecraft.world.level.block
Class ComposterBlock.InputContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.level.block.ComposterBlock.InputContainer
- 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_LIMIT, LARGE_MAX_STACK_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionInputContainer(BlockState p_52022_, LevelAccessor p_52023_, BlockPos p_52024_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanPlaceItemThroughFace(int p_52028_, ItemStack p_52029_, Direction p_52030_) booleancanTakeItemThroughFace(int p_52034_, ItemStack p_52035_, Direction p_52036_) intint[]getSlotsForFace(Direction p_52032_) voidMethods inherited from class net.minecraft.world.SimpleContaineraddItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, 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, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setItem, startOpen, stillValid, stopOpen
- 
Field Details- 
state
- 
level
- 
pos
- 
changedprivate boolean changed
 
- 
- 
Constructor Details- 
InputContainer
 
- 
- 
Method Details- 
getMaxStackSizepublic int getMaxStackSize()- Specified by:
- getMaxStackSizein interface- Container
 
- 
getSlotsForFace- Specified by:
- getSlotsForFacein interface- WorldlyContainer
 
- 
canPlaceItemThroughFacepublic boolean canPlaceItemThroughFace(int p_52028_, ItemStack p_52029_, @Nullable Direction p_52030_) - Specified by:
- canPlaceItemThroughFacein interface- WorldlyContainer
 
- 
canTakeItemThroughFace- Specified by:
- canTakeItemThroughFacein interface- WorldlyContainer
 
- 
setChangedpublic void setChanged()- Specified by:
- setChangedin interface- Container
- Overrides:
- setChangedin class- SimpleContainer
 
 
-