Uses of Enum Class
net.minecraft.world.damagesource.DamageEffects
Packages that use DamageEffects
- 
Uses of DamageEffects in net.minecraft.world.damagesourceFields in net.minecraft.world.damagesource declared as DamageEffectsModifier and TypeFieldDescriptionprivate final DamageEffectsDamageType.effectsThe field for theeffectsrecord component.Fields in net.minecraft.world.damagesource with type parameters of type DamageEffectsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DamageEffects>DamageEffects.CODECMethods in net.minecraft.world.damagesource that return DamageEffectsModifier and TypeMethodDescriptionstatic DamageEffectsDamageEffects.create(String name, String id, Supplier<SoundEvent> sound) Creates a new DamageEffects with the specified ID and sound.
 Example usage:DamageType.effects()Returns the value of theeffectsrecord component.static DamageEffectsReturns 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.Constructors in net.minecraft.world.damagesource with parameters of type DamageEffectsModifierConstructorDescriptionDamageType(String p_270473_, float p_270700_, DamageEffects p_270105_) DamageType(String p_270743_, DamageScaling p_270585_, float p_270555_, DamageEffects p_270608_) DamageType(String msgId, DamageScaling scaling, float exhaustion, DamageEffects effects, DeathMessageType deathMessageType) Creates an instance of aDamageTyperecord class.
- 
Uses of DamageEffects in net.neoforged.neoforge.debug.damagesourceFields in net.neoforged.neoforge.debug.damagesource declared as DamageEffects