Class Capabilities.ItemHandler
java.lang.Object
net.neoforged.neoforge.capabilities.Capabilities.ItemHandler
- Enclosing class:
Capabilities
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockCapability<IItemHandler,
@Nullable Direction> static final EntityCapability<IItemHandler,
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,
Void> -
Constructor Summary
-
Method Summary
-
Field Details
-
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
-
-
Constructor Details
-
ItemHandler
private ItemHandler()
-