类 RangedAttribute

java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.world.entity.ai.attributes.RangedAttribute
所有已实现的接口:
IAttributeExtension
直接已知子类:
PercentageAttribute

public class RangedAttribute extends Attribute
  • 字段详细资料

    • minValue

      private final double minValue
    • maxValue

      private final double maxValue
  • 构造器详细资料

    • RangedAttribute

      public RangedAttribute(String p_22310_, double p_22311_, double p_22312_, double p_22313_)
  • 方法详细资料

    • getMinValue

      public double getMinValue()
    • getMaxValue

      public double getMaxValue()
    • sanitizeValue

      public double sanitizeValue(double p_22315_)
      覆盖:
      sanitizeValue 在类中 Attribute