Uses of Enum Class
net.minecraft.entity.damage.DamageEffects
-
Uses of DamageEffects in net.minecraft.entity.damage
Modifier and TypeFieldDescriptionprivate final DamageEffects
DamageType.effects
The field for theeffects
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DamageEffects> DamageEffects.CODEC
Modifier and TypeMethodDescriptionDamageType.effects()
Returns the value of theeffects
record component.static DamageEffects
Returns the enum constant of this class with the specified name.static DamageEffects[]
DamageEffects.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionDamageType
(String msgId, float exhaustion, DamageEffects effects) DamageType
(String msgId, DamageScaling scaling, float exhaustion, DamageEffects effects) DamageType
(String string, DamageScaling damageScaling, float float2, DamageEffects damageEffects, DeathMessageType deathMessageType)