Class Attribute
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Attribute>
net.minecraft.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_111109_1_) setSyncable
(boolean p_233753_1_) Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
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_111109_1_) -
getDescriptionId
-