Class RangedAttribute
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Attribute>
-
- net.minecraft.entity.ai.attributes.Attribute
-
- net.minecraft.entity.ai.attributes.RangedAttribute
-
- All Implemented Interfaces:
IForgeRegistryEntry<Attribute>
public class RangedAttribute extends Attribute
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private double
maxValue
private double
minValue
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description RangedAttribute(java.lang.String p_i231504_1_, double p_i231504_2_, double p_i231504_4_, double p_i231504_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
sanitizeValue(double p_111109_1_)
-
Methods inherited from class net.minecraft.entity.ai.attributes.Attribute
getDefaultValue, getDescriptionId, isClientSyncable, setSyncable
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Method Detail
-
sanitizeValue
public double sanitizeValue(double p_111109_1_)
- Overrides:
sanitizeValue
in classAttribute
-
-