类 RangedAttribute
java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.world.entity.ai.attributes.RangedAttribute
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.attributes.Attribute
Attribute.Sentiment
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.attributes.Attribute
CODEC, STREAM_CODEC
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.attributes.Attribute
getDefaultValue, getDescriptionId, getStyle, isClientSyncable, setSentiment, setSyncable
-
字段详细资料
-
minValue
private final double minValue -
maxValue
private final double maxValue
-
-
构造器详细资料
-
RangedAttribute
-
-
方法详细资料
-
getMinValue
public double getMinValue() -
getMaxValue
public double getMaxValue() -
sanitizeValue
public double sanitizeValue(double p_22315_) - 覆盖:
sanitizeValue
在类中Attribute
-