Class Capabilities.Item
java.lang.Object
net.neoforged.neoforge.capabilities.Capabilities.Item
- Enclosing class:
Capabilities
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockCapability<ResourceHandler<ItemResource>, @Nullable Direction> static final EntityCapability<ResourceHandler<ItemResource>, @Nullable Void> Capability for the inventory of an entity.static final EntityCapability<ResourceHandler<ItemResource>, @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<ResourceHandler<ItemResource>, ItemAccess> -
Constructor Summary
Constructors -
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
public static final EntityCapability<ResourceHandler<ItemResource>,@Nullable Direction> ENTITY_AUTOMATIONCapability 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
-
Item
private Item()
-