类 RangedAttribute
java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.world.entity.ai.attributes.RangedAttribute
- 所有已实现的接口:
IAttributeExtension
- 直接已知子类:
PercentageAttribute
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.attributes.Attribute
Attribute.Sentiment
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.attributes.Attribute
CODEC, MERGED_BLUE, MERGED_GRAY, MERGED_RED, STREAM_CODEC
从接口继承的字段 net.neoforged.neoforge.common.extensions.IAttributeExtension
FORMAT
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.attributes.Attribute
getDefaultValue, getDescriptionId, getMergedStyle, getStyle, isClientSyncable, setSentiment, setSyncable
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.IAttributeExtension
getBaseId, getDebugInfo, toBaseComponent, toComponent, toValueComponent
-
字段详细资料
-
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
-