Class RangedAttribute
java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.world.entity.ai.attributes.RangedAttribute
- 
Field SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.attributes.AttributeMAX_NAME_LENGTH
- 
Constructor SummaryConstructorsConstructorDescriptionRangedAttribute(String p_22310_, double p_22311_, double p_22312_, double p_22313_) 
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.attributes.AttributegetDefaultValue, getDescriptionId, isClientSyncable, setSyncable
- 
Field Details- 
minValueprivate final double minValue
- 
maxValueprivate final double maxValue
 
- 
- 
Constructor Details- 
RangedAttribute
 
- 
- 
Method Details- 
getMinValuepublic double getMinValue()
- 
getMaxValuepublic double getMaxValue()
- 
sanitizeValuepublic double sanitizeValue(double p_22315_) - Overrides:
- sanitizeValuein class- Attribute
 
 
-