Class RangedAttribute

All Implemented Interfaces:
IForgeRegistryEntry<Attribute>

public class RangedAttribute extends Attribute
  • Field Details

    • minValue

      private final double minValue
    • maxValue

      private final double maxValue
  • Constructor Details

    • RangedAttribute

      public RangedAttribute(String p_i231504_1_, double p_i231504_2_, double p_i231504_4_, double p_i231504_6_)
  • Method Details

    • sanitizeValue

      public double sanitizeValue(double p_111109_1_)
      Overrides:
      sanitizeValue in class Attribute