net.minecraft.world.damagesource

public record DamageType

bhq
net.minecraft.world.damagesource.DamageType
net.minecraft.class_8110
net.minecraft.entity.damage.DamageType
net.minecraft.src.C_268380_
net.minecraft.world.damagesource.DamageType

Field summary

Modifier and TypeField
private final String
b
msgId
comp_1242
msgId
f_268677_
private final DamageScaling
c
scaling
comp_1243
scaling
f_268501_
private final float
d
exhaustion
comp_1244
exhaustion
f_268663_
private final DamageEffects
e
effects
comp_1245
effects
f_268686_
private final DeathMessageType
f
deathMessageType
comp_1246
deathMessageType
f_268472_
public static final com.mojang.serialization.Codec<DamageType>
a
CODEC
field_42318
CODEC
f_268510_

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 f_268501_, DamageScaling f_268663_, float f_268686_, DamageEffects f_268472_, DeathMessageType arg4)

Method summary

Modifier and TypeMethod
public String
a()
msgId()
comp_1242()
msgId()
f_268677_()
public DamageScaling
b()
scaling()
comp_1243()
scaling()
f_268501_()
public float
c()
exhaustion()
comp_1244()
exhaustion()
f_268663_()
public DamageEffects
d()
effects()
comp_1245()
effects()
f_268686_()
public DeathMessageType
e()
deathMessageType()
comp_1246()
deathMessageType()
f_268472_()