Interface DamageSources

All Known Implementing Classes:
PNCDamageSource.DamageSourcesImpl

public interface DamageSources
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEtchingAcidDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt to mobs and players standing in Etching Acid
    boolean
    isMinigunDamage(net.minecraft.world.damagesource.DamageSource damageSource)
    Damage dealt by a Minigun (including Drones and Sentry Turrets)
    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
    • isMinigunDamage

      boolean isMinigunDamage(net.minecraft.world.damagesource.DamageSource damageSource)
      Damage dealt by a Minigun (including Drones and Sentry Turrets)
      Parameters:
      damageSource - damage source to check
      Returns:
      true if minigun damage