Class AttributeModifier
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeModifier
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final UUID
private static final org.slf4j.Logger
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_) 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.slf4j.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