public class RangedAttribute extends BaseAttribute
Constructor and Description |
---|
RangedAttribute(IAttribute p_i45891_1_,
java.lang.String unlocalizedNameIn,
double defaultValue,
double minimumValueIn,
double maximumValueIn) |
Modifier and Type | Method and Description |
---|---|
double |
clampValue(double p_111109_1_) |
java.lang.String |
getDescription() |
RangedAttribute |
setDescription(java.lang.String descriptionIn) |
equals, getAttributeUnlocalizedName, getDefaultValue, getParent, getShouldWatch, hashCode, setShouldWatch
public RangedAttribute(@Nullable IAttribute p_i45891_1_, java.lang.String unlocalizedNameIn, double defaultValue, double minimumValueIn, double maximumValueIn)
public RangedAttribute setDescription(java.lang.String descriptionIn)
public java.lang.String getDescription()
public double clampValue(double p_111109_1_)