java.lang.Object
me.desht.pneumaticcraft.api.pneumatic_armor.BaseArmorUpgradeHandler<IArmorExtensionData>
me.desht.pneumaticcraft.common.pneumatic_armor.handlers.EnderVisorHandler
All Implemented Interfaces:
IArmorUpgradeHandler<IArmorExtensionData>

public class EnderVisorHandler extends BaseArmorUpgradeHandler<IArmorExtensionData>
  • Constructor Details

    • EnderVisorHandler

      public EnderVisorHandler()
  • Method Details

    • getID

      public net.minecraft.resources.ResourceLocation getID()
      Description copied from interface: IArmorUpgradeHandler
      Get a unique ID for this upgrade handler. You can use this ID to retrieve the handler object with ICommonArmorRegistry.getArmorUpgradeHandler(ResourceLocation).
      Returns:
      a unique resource location
    • getRequiredUpgrades

      public PNCUpgrade[] getRequiredUpgrades()
      Description copied from interface: IArmorUpgradeHandler
      Return the upgrades that are required to be in the armor piece to enable this module.
      Returns:
      an array of required upgrades
    • getIdleAirUsage

      public float getIdleAirUsage(ICommonArmorHandler armorHandler)
      Description copied from interface: IArmorUpgradeHandler
      Returns the usage in mL/tick when this upgrade handler is enabled. Note this is constant usage just from the upgrade being switched on, and does not take into account air used when some action is taken, e.g. flying with the Jet Boots upgrade is not included here, but air used by the Entity Tracker upgrade is included.
      Parameters:
      armorHandler - the armor handler object (can be used to get upgrades, etc.)
      Returns:
      usage in mL/tick
    • getEquipmentSlot

      public net.minecraft.world.entity.EquipmentSlot getEquipmentSlot()
      Description copied from interface: IArmorUpgradeHandler
      Get the armor slot that this upgrade handler is attached to.
      Returns:
      the armor slot