net.minecraft.world.damagesource

public enum DamageEffects

implements StringRepresentable

bkr
net.minecraft.world.damagesource.DamageEffects
net.minecraft.class_8107
net.minecraft.entity.damage.DamageEffects
net.minecraft.src.C_268364_
net.minecraft.world.damagesource.DamageEffects

Enum constant summary

Enum Constant
a
HURT
field_42275
HURT
HURT
b
THORNS
field_42276
THORNS
THORNS
c
DROWNING
field_42277
DROWNING
DROWNING
d
BURNING
field_42278
BURNING
BURNING
e
POKING
field_42279
POKING
POKING
f
FREEZING
field_42280
FREEZING
FREEZING

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<DamageEffects>
g
CODEC
field_42281
CODEC
f_268463_
private final String
h
id
field_42282
id
f_268435_
private final SoundEvent
i
sound
field_42283
sound
f_268660_

Constructor summary

ModifierConstructor
private (String p_270754_, SoundEvent p_270875_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public SoundEvent
a()
sound()
method_48786()
getSound()
m_269402_()