Class Capabilities.ItemHandler

java.lang.Object
net.neoforged.neoforge.capabilities.Capabilities.ItemHandler
Enclosing class:
Capabilities

public static final class Capabilities.ItemHandler extends Object
  • Field Details

    • BLOCK

      public static final BlockCapability<IItemHandler,@Nullable net.minecraft.core.Direction> BLOCK
    • ENTITY

      public static final EntityCapability<IItemHandler,@Nullable Void> 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<IItemHandler,@Nullable net.minecraft.core.Direction> 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

      public static final ItemCapability<IItemHandler,@Nullable Void> ITEM
  • Constructor Details

    • ItemHandler

      private ItemHandler()