类 Capabilities.ItemHandler
java.lang.Object
net.neoforged.neoforge.capabilities.Capabilities.ItemHandler
- 封闭类:
Capabilities
-
字段概要
字段修饰符和类型字段说明static final BlockCapability
<IItemHandler, @Nullable Direction> static final EntityCapability
<IItemHandler, @Nullable Void> Capability for the inventory of an entity.static final EntityCapability
<IItemHandler, @Nullable Direction> Capability for an inventory of entity that should be accessible to automation, in the sense that droppers, hoppers, and similar modded devices will try to use it.static final ItemCapability
<IItemHandler, @Nullable Void> -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
BLOCK
-
ENTITY
Capability for the inventory of an entity. If an entity has multiple inventory "subparts", this capability should give a combined view of all the subparts. -
ENTITY_AUTOMATION
Capability for an inventory of entity that should be accessible to automation, in the sense that droppers, hoppers, and similar modded devices will try to use it. -
ITEM
-
-
构造器详细资料
-
ItemHandler
private ItemHandler()
-