Class Tags.DamageTypes

java.lang.Object
net.neoforged.neoforge.common.Tags.DamageTypes
Enclosing class:
Tags

public static class Tags.DamageTypes extends Object
  • Field Details

    • IS_MAGIC

      public static final TagKey<DamageType> IS_MAGIC
      Damage types representing magic damage.
    • IS_POISON

      public static final TagKey<DamageType> IS_POISON
      Damage types representing poison damage.
    • IS_WITHER

      public static final TagKey<DamageType> IS_WITHER
      Damage types representing damage that can be attributed to withering or the wither.
    • IS_ENVIRONMENT

      public static final TagKey<DamageType> IS_ENVIRONMENT
      Damage types representing environmental damage, such as fire, lava, magma, cactus, lightning, etc.
    • IS_PHYSICAL

      public static final TagKey<DamageType> IS_PHYSICAL
      Damage types representing physical damage.
      These are types that do not fit other #is_x tags (except #is_fall) and would meet the general definition of physical damage.
    • IS_TECHNICAL

      public static final TagKey<DamageType> IS_TECHNICAL
      Damage types representing damage from commands or other non-gameplay sources.
      Damage from these types should not be reduced, and bypasses invulnerability.
    • NO_FLINCH

      public static final TagKey<DamageType> NO_FLINCH
      Damage types that will not cause the red flashing effect.
      This tag is empty by default.
      See Also:
  • Constructor Details

    • DamageTypes

      public DamageTypes()
  • Method Details