Interface DamageSources

All Known Implementing Classes:
PNCDamageSource.DamageSourcesImpl

public interface DamageSources
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isDroneOverloadDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to Drones when they are wrenched, execute a Suicide widget, or encounter a fatal run-time program error.
    boolean
    isEtchingAcidDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to mobs and players standing in Etching Acid
    boolean
    isPlasticBlockDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to mobs (and players without footwear) standing on Plastic Construction Bricks (tm)
    boolean
    isPressureDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to mobs and players trapped in a Pressure Chamber when > 2 bar
    boolean
    isSecurityStationDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to players who fail to hack a Security Station
  • Method Details

    • isPressureDamage

      boolean isPressureDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt to mobs and players trapped in a Pressure Chamber when > 2 bar
      Parameters:
      damageSource - damage source to check
      Returns:
      true if pressure chamber damage
    • isSecurityStationDamage

      boolean isSecurityStationDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt to players who fail to hack a Security Station
      Parameters:
      damageSource - damage source to check
      Returns:
      true if security station damage
    • isEtchingAcidDamage

      boolean isEtchingAcidDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt to mobs and players standing in Etching Acid
      Parameters:
      damageSource - damage source to check
      Returns:
      true if etching acid damage
    • isPlasticBlockDamage

      boolean isPlasticBlockDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt to mobs (and players without footwear) standing on Plastic Construction Bricks (tm)
      Parameters:
      damageSource - damage source to check
      Returns:
      true if plastic block damage
    • isDroneOverloadDamage

      boolean isDroneOverloadDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt to Drones when they are wrenched, execute a Suicide widget, or encounter a fatal run-time program error. This damage is always instantly fatal to the Drone.
      Parameters:
      damageSource - damage source to check
      Returns:
      true if drone overload damage