Package net.neoforged.neoforge.common
Class Tags.DamageTypes
java.lang.Object
net.neoforged.neoforge.common.Tags.DamageTypes
- Enclosing class:
Tags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TagKey<DamageType> Damage types representing environmental damage, such as fire, lava, magma, cactus, lightning, etc.static final TagKey<DamageType> Damage types representing magic damage.static final TagKey<DamageType> 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.static final TagKey<DamageType> Damage types representing poison damage.static final TagKey<DamageType> Damage types representing damage from commands or other non-gameplay sources.
Damage from these types should not be reduced, and bypasses invulnerability.static final TagKey<DamageType> Damage types representing damage that can be attributed to withering or the wither.static final TagKey<DamageType> Damage types that will not cause the red flashing effect.
This tag is empty by default. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
IS_MAGIC
Damage types representing magic damage. -
IS_POISON
Damage types representing poison damage. -
IS_WITHER
Damage types representing damage that can be attributed to withering or the wither. -
IS_ENVIRONMENT
Damage types representing environmental damage, such as fire, lava, magma, cactus, lightning, etc. -
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
Damage types representing damage from commands or other non-gameplay sources.
Damage from these types should not be reduced, and bypasses invulnerability. -
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
-
neoforgeTag
-