net.minecraft.world.damagesource

public record DamageType

brq
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.DamageSources

Field summary

Modifier and TypeField
private final String
b
msgId
comp_1242
f_tjkivtfe
msgId
messageId
f_268677_
private final DamageScaling
c
scaling
comp_1243
f_ucgmhxwa
scaling
scaling
f_268501_
private final float
d
exhaustion
comp_1244
f_rovdrnem
exhaustion
exhaustion
f_268663_
private final DamageEffects
e
effects
comp_1245
f_atjiubco
effects
effects
f_268686_
private final DeathMessageType
f
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
CODEC
f_314803_

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_()