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
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final Stringstatic final intprivate booleanFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleandoublesanitizeValue(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:
-
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
-