public class RangedAttribute extends BaseAttribute
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description |
private double |
maximumValue |
private double |
minimumValue |
| 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, func_180372_d, getAttributeUnlocalizedName, getDefaultValue, getShouldWatch, hashCode, setShouldWatchprivate final double minimumValue
private final double maximumValue
private java.lang.String description
public RangedAttribute(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_)