net.minecraft.world.damagesource

public enum DamageScaling

implements StringRepresentable

brj
net.minecraft.world.damagesource.DamageScaling
net.minecraft.class_8108
net.minecraft.entity.damage.DamageScaling
net.minecraft.src.C_268373_
net.minecraft.world.damagesource.DamageScaling

Enum constant summary

Enum Constant
a
NEVER
field_42285
NEVER
NEVER
b
WHEN_CAUSED_BY_LIVING_NON_PLAYER
field_42286
WHEN_CAUSED_BY_LIVING_NON_PLAYER
WHEN_CAUSED_BY_LIVING_NON_PLAYER
c
ALWAYS
field_42287
ALWAYS
ALWAYS

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<DamageScaling>
d
CODEC
field_42288
CODEC
f_268563_
private final String
e
id
field_42289
id
f_268442_

Constructor summary

ModifierConstructor
private (String p_270507_)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()