类 RangedAttribute

java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
net.minecraft.world.entity.ai.attributes.RangedAttribute

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

    • minValue

      private final double minValue
    • maxValue

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

    • RangedAttribute

      public RangedAttribute(String pDescriptionId, double pDefaultValue, double pMin, double pMax)
  • 方法详细资料

    • getMinValue

      public double getMinValue()
    • getMaxValue

      public double getMaxValue()
    • sanitizeValue

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