Class PowerArmorSpecs

java.lang.Object
com.hbm_m.powerarmor.PowerArmorSpecs

public class PowerArmorSpecs extends Object
  • Field Details

    • capacity

      public final long capacity
    • maxReceive

      public final long maxReceive
    • drain

      public final long drain
    • consumption

      public final long consumption
    • dtFall

      public float dtFall
    • dtExplosion

      public float dtExplosion
    • dtKinetic

      public float dtKinetic
    • dtProjectile

      public float dtProjectile
    • dtFire

      public float dtFire
    • dtCold

      public float dtCold
    • dtRadiation

      public float dtRadiation
    • dtEnergy

      public float dtEnergy
    • drFall

      public float drFall
    • drExplosion

      public float drExplosion
    • drKinetic

      public float drKinetic
    • drProjectile

      public float drProjectile
    • drFire

      public float drFire
    • drCold

      public float drCold
    • drRadiation

      public float drRadiation
    • drEnergy

      public float drEnergy
    • resFall

      public float resFall
    • resExplosion

      public float resExplosion
    • resKinetic

      public float resKinetic
    • resProjectile

      public float resProjectile
    • resFire

      public float resFire
    • resCold

      public float resCold
    • resRadiation

      public float resRadiation
    • hasVats

      public boolean hasVats
    • hasThermal

      public boolean hasThermal
    • hasNightVision

      public boolean hasNightVision
    • hasGeigerSound

      public boolean hasGeigerSound
    • hasCustomGeiger

      public boolean hasCustomGeiger
    • hasHardLanding

      public boolean hasHardLanding
    • noHelmetRequired

      public boolean noHelmetRequired
    • stepHeight

      public float stepHeight
    • stepSize

      public int stepSize
    • dashCount

      public int dashCount
    • stepSound

      public String stepSound
    • jumpSound

      public String jumpSound
    • fallSound

      public String fallSound
    • overlay

      public String overlay
    • passiveEffects

      public List<net.minecraft.world.effect.MobEffectInstance> passiveEffects
  • Constructor Details

    • PowerArmorSpecs

      public PowerArmorSpecs(long capacity, long maxReceive, long drain, long consumption)
      Basic constructor - matches 1.7.10 ArmorFSBPowered constructor
      Parameters:
      capacity - Maximum energy capacity
      maxReceive - Maximum energy received per tick (charging)
      drain - Passive energy drain per tick (when wearing full set)
      consumption - Energy cost per damage point (when armor takes damage)
    • PowerArmorSpecs

      public PowerArmorSpecs(long capacity, long maxReceive, long drain)
      Simplified constructor with default consumption
  • Method Details

    • setResistances

      public PowerArmorSpecs setResistances(float fall, float explosion, float kinetic, float projectile, float fire, float cold, float radiation)
      Set damage resistances (legacy method - sets DR values)
    • setDT

      public PowerArmorSpecs setDT(float fall, float explosion, float kinetic, float projectile, float fire, float cold, float radiation, float energy)
      Set Damage Threshold (DT) values
    • setDR

      public PowerArmorSpecs setDR(float fall, float explosion, float kinetic, float projectile, float fire, float cold, float radiation, float energy)
      Set Damage Resistance (DR) values
    • setProtection

      public PowerArmorSpecs setProtection(float dtFall, float drFall, float dtExplosion, float drExplosion, float dtKinetic, float drKinetic, float dtProjectile, float drProjectile, float dtFire, float drFire, float dtCold, float drCold, float dtRadiation, float drRadiation, float dtEnergy, float drEnergy)
      Set both DT and DR for complete protection configuration
    • addEffect

      public PowerArmorSpecs addEffect(net.minecraft.world.effect.MobEffectInstance effect)
    • setFeatures

      public PowerArmorSpecs setFeatures(boolean vats, boolean thermal, boolean hardLanding, boolean geiger)
    • setFeatures

      public PowerArmorSpecs setFeatures(boolean vats, boolean thermal, boolean hardLanding, boolean geiger, boolean customGeiger)
    • setMovement

      public PowerArmorSpecs setMovement(float stepHeight, int dashCount)
    • setNoHelmet

      public PowerArmorSpecs setNoHelmet(boolean noHelmet)
    • setGeigerHUD

      public PowerArmorSpecs setGeigerHUD(boolean customGeiger)
    • setStepSize

      public PowerArmorSpecs setStepSize(int stepSize)
    • setSounds

      public PowerArmorSpecs setSounds(String step, String jump, String fall)
    • setStepSound

      public PowerArmorSpecs setStepSound(String step)
    • setJumpSound

      public PowerArmorSpecs setJumpSound(String jump)
    • setFallSound

      public PowerArmorSpecs setFallSound(String fall)
    • setOverlay

      public PowerArmorSpecs setOverlay(String path)