Class AttributeModifier
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeModifier
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate double
private UUID
private static org.apache.logging.log4j.Logger
private 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_)
AttributeModifier(UUID p_22205_, Supplier<String> p_22206_, double p_22207_, AttributeModifier.Operation p_22208_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
getId()
getName()
int
hashCode()
static AttributeModifier
load(CompoundTag p_22213_)
save()
toString()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
amount
private final double amount -
operation
-
nameGetter
-
id
-
-
Constructor Details
-
AttributeModifier
-
AttributeModifier
public AttributeModifier(UUID p_22200_, String p_22201_, double p_22202_, AttributeModifier.Operation p_22203_) -
AttributeModifier
public AttributeModifier(UUID p_22205_, Supplier<String> p_22206_, double p_22207_, AttributeModifier.Operation p_22208_)
-
-
Method Details