Class Attribute
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Attribute>
net.minecraft.world.entity.ai.attributes.Attribute
- All Implemented Interfaces:
IForgeRegistryEntry<Attribute>
- Direct Known Subclasses:
RangedAttribute
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
double
sanitizeValue(double p_22083_)
setSyncable(boolean p_22085_)
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- See Also:
- Constant Field Values
-
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
-