net.minecraft.world.damagesource

public record DamageType

buc
net.minecraft.world.damagesource.DamageType
net.minecraft.class_8110
net.minecraft.unmapped.C_vkikwfla
net.minecraft.entity.damage.DamageType
net.minecraft.entity.damage.DamageType
net.minecraft.src.C_268380_
net.minecraft.world.damagesource.DamageType

Field summary

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

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()
f_268677_()
public DamageScaling
b()
scaling()
comp_1243()
m_rthkwsuc()
scaling()
getScaling()
f_268501_()
public float
c()
exhaustion()
comp_1244()
m_rzbgllaq()
exhaustion()
getExhaustion()
f_268663_()
public DamageEffects
d()
effects()
comp_1245()
m_fumayixv()
effects()
getEffects()
f_268686_()
public DeathMessageType
e()
deathMessageType()
comp_1246()
m_jvdiocfw()
deathMessageType()
getDeathMessageType()
f_268472_()