Class Attribute
java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
- Direct Known Subclasses:
RangedAttribute
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final String
static final int
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
double
sanitizeValue
(double p_22083_) setSyncable
(boolean p_22085_)
-
Field Details
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- See Also:
-
defaultValue
private final double defaultValue -
syncable
private boolean syncable -
descriptionId
-
-
Constructor Details
-
Attribute
-
-
Method Details
-
getDefaultValue
public double getDefaultValue() -
isClientSyncable
public boolean isClientSyncable() -
setSyncable
-
sanitizeValue
public double sanitizeValue(double p_22083_) -
getDescriptionId
-