net.minecraft.world.entity.ai.attributes

public enum AttributeModifier$Operation

implements StringRepresentable

bnp$a
net.minecraft.world.entity.ai.attributes.AttributeModifier$Operation
net.minecraft.class_1322$class_1323
net.minecraft.entity.attribute.EntityAttributeModifier$Operation
net.minecraft.src.C_555_$C_556_
net.minecraft.world.entity.ai.attributes.AttributeModifier$Operation

Enum constant summary

Enum Constant
a
ADDITION
field_6328
ADDITION
ADDITION
b
MULTIPLY_BASE
field_6330
MULTIPLY_BASE
MULTIPLY_BASE
c
MULTIPLY_TOTAL
field_6331
MULTIPLY_TOTAL
MULTIPLY_TOTAL

Field summary

Modifier and TypeField
private static final AttributeModifier$Operation[]
e
OPERATIONS
field_6332
VALUES
f_22227_
public static final com.mojang.serialization.Codec<AttributeModifier$Operation>
d
CODEC
field_45742
CODEC
f_290595_
private final String
f
name
field_45743
name
f_291294_
private final int
g
value
field_6329
id
f_22228_

Constructor summary

ModifierConstructor
private (String p_22233_, int p_299661_)

Method summary

Modifier and TypeMethod
public int
a()
toValue()
method_6191()
getId()
m_22235_()
public static AttributeModifier$Operation
a(int arg0)
fromValue(int arg0)
method_6190(int arg0)
fromId(int id)
m_22236_(int p_22237_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()