net.minecraft.world.damagesource

public record DamageType

buw
net.minecraft.world.damagesource.DamageType
net.minecraft.class_8110
net.minecraft.unmapped.C_vkikwfla
net.minecraft.entity.damage.DamageType
net.minecraft.entity.damage.DamageType

Field summary

Modifier and TypeField
private final String
d
msgId
comp_1242
f_tjkivtfe
msgId
messageId
private final DamageScaling
e
scaling
comp_1243
f_ucgmhxwa
scaling
scaling
private final float
f
exhaustion
comp_1244
f_rovdrnem
exhaustion
exhaustion
private final DamageEffects
g
effects
comp_1245
f_atjiubco
effects
effects
private final DeathMessageType
h
deathMessageType
comp_1246
f_nhvgwnza
deathMessageType
deathMessageType
public static final com.mojang.serialization.Codec<DamageType>
a
DIRECT_CODEC
field_42318
f_ccxgusji
CODEC
DIRECT_CODEC
public static final com.mojang.serialization.Codec<Holder<DamageType>>
b
CODEC
field_51565
f_wtgxjvyv
ENTRY_CODEC
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>>
c
STREAM_CODEC
field_51932
f_qbfeqlhf
ENTRY_PACKET_CODEC
PACKET_CODEC

Constructor summary

ModifierConstructor
public (String msgId, DamageScaling scaling, float exhaustion)
public (String msgId, DamageScaling scaling, float exhaustion, DamageEffects effects)
public (String msgId, float exhaustion, DamageEffects effects)
public (String msgId, float exhaustion)
public (String messageId, DamageScaling scaling, float exhaustion, DamageEffects effects, DeathMessageType deathMessageType)

Method summary

Modifier and TypeMethod
public String
a()
msgId()
comp_1242()
m_oeyyhiji()
msgId()
getMessageId()
public DamageScaling
b()
scaling()
comp_1243()
m_rthkwsuc()
scaling()
getScaling()
public float
c()
exhaustion()
comp_1244()
m_rzbgllaq()
exhaustion()
getExhaustion()
public DamageEffects
d()
effects()
comp_1245()
m_fumayixv()
effects()
getEffects()
public DeathMessageType
e()
deathMessageType()
comp_1246()
m_jvdiocfw()
deathMessageType()
getDeathMessageType()