Class AttributeModifier
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeModifier
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
static final com.mojang.serialization.Codec<AttributeModifier>
private final UUID
private static final org.slf4j.Logger
private final String
private final AttributeModifier.Operation
-
Constructor Summary
ConstructorDescriptionAttributeModifier
(String p_22196_, double p_22197_, AttributeModifier.Operation p_22198_) AttributeModifier
(UUID p_22200_, String p_22201_, double p_22202_, AttributeModifier.Operation p_22203_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
getId()
int
hashCode()
static AttributeModifier
load
(CompoundTag p_22213_) save()
toString()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CODEC
-
amount
private final double amount -
operation
-
name
-
id
-
-
Constructor Details
-
AttributeModifier
-
AttributeModifier
public AttributeModifier(UUID p_22200_, String p_22201_, double p_22202_, AttributeModifier.Operation p_22203_)
-
-
Method Details