类 ComposterBlock.EmptyContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.level.block.ComposterBlock.EmptyContainer
- 所有已实现的接口:
Iterable<ItemStack>
,Clearable
,Container
,StackedContentsCompatible
,WorldlyContainer
- 封闭类:
ComposterBlock
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.world.Container
Container.ContainerIterator
-
字段概要
从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canPlaceItemThroughFace
(int p_52008_, ItemStack p_52009_, Direction p_52010_) boolean
canTakeItemThroughFace
(int p_52014_, ItemStack p_52015_, Direction p_52016_) int[]
getSlotsForFace
(Direction p_52012_) 从类继承的方法 net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, fillStackedContents, fromItemList, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, 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, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpen
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
构造器详细资料
-
EmptyContainer
public EmptyContainer()
-
-
方法详细资料
-
getSlotsForFace
- 指定者:
getSlotsForFace
在接口中WorldlyContainer
-
canPlaceItemThroughFace
public boolean canPlaceItemThroughFace(int p_52008_, ItemStack p_52009_, @Nullable Direction p_52010_) - 指定者:
canPlaceItemThroughFace
在接口中WorldlyContainer
-
canTakeItemThroughFace
- 指定者:
canTakeItemThroughFace
在接口中WorldlyContainer
-