类 ComposterBlock.InputContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.level.block.ComposterBlock.InputContainer
- 所有已实现的接口:
Iterable<ItemStack>
,Clearable
,Container
,StackedContentsCompatible
,WorldlyContainer
- 封闭类:
ComposterBlock
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.world.Container
Container.ContainerIterator
-
字段概要
字段修饰符和类型字段说明private boolean
private final LevelAccessor
private final BlockPos
private final BlockState
从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canPlaceItemThroughFace
(int p_52028_, ItemStack p_52029_, Direction p_52030_) boolean
canTakeItemThroughFace
(int p_52034_, ItemStack p_52035_, Direction p_52036_) int
int[]
getSlotsForFace
(Direction p_52032_) void
从类继承的方法 net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, fillStackedContents, fromItemList, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setItem, stillValid, storeAsItemList, toString
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.Clearable
clearContent
从接口继承的方法 net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setItem, startOpen, stillValid, stopOpen
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
字段详细资料
-
state
-
level
-
pos
-
changed
private boolean changed
-
-
构造器详细资料
-
InputContainer
-
-
方法详细资料
-
getMaxStackSize
public int getMaxStackSize()- 指定者:
getMaxStackSize
在接口中Container
-
getSlotsForFace
- 指定者:
getSlotsForFace
在接口中WorldlyContainer
-
canPlaceItemThroughFace
public boolean canPlaceItemThroughFace(int p_52028_, ItemStack p_52029_, @Nullable Direction p_52030_) - 指定者:
canPlaceItemThroughFace
在接口中WorldlyContainer
-
canTakeItemThroughFace
- 指定者:
canTakeItemThroughFace
在接口中WorldlyContainer
-
setChanged
public void setChanged()- 指定者:
setChanged
在接口中Container
- 覆盖:
setChanged
在类中SimpleContainer
-