Class TimeValues.ConstValue

java.lang.Object
net.minecraftforge.common.animation.TimeValues.ConstValue
All Implemented Interfaces:
ITimeValue
Enclosing class:
TimeValues

public static final class TimeValues.ConstValue extends Object implements ITimeValue
  • Field Details

    • output

      private final float output
  • Constructor Details

    • ConstValue

      public ConstValue(float output)
  • Method Details

    • apply

      public float apply(float input)
      Specified by:
      apply in interface ITimeValue
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object