Enum Class EasingGroup

java.lang.Object
java.lang.Enum<EasingGroup>
dev.latvian.mods.klib.easing.EasingGroup
All Implemented Interfaces:
Serializable, Comparable<EasingGroup>, Constable, net.minecraft.util.StringRepresentable

public enum EasingGroup extends Enum<EasingGroup> implements net.minecraft.util.StringRepresentable
  • Enum Constant Details

  • Field Details

    • VALUES

      public static final EasingGroup[] VALUES
    • CODEC

      public static final com.mojang.serialization.Codec<EasingGroup> CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,EasingGroup> STREAM_CODEC
    • DATA_TYPE

      public static final DataType<EasingGroup> DATA_TYPE
    • name

      public final String name
    • in

      public final Easing in
    • out

      public final Easing out
    • inOut

      public final Easing inOut
  • Method Details

    • values

      public static EasingGroup[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EasingGroup valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EasingGroup>
    • easeMirrored

      public double easeMirrored(double x, EasingGroup end)
    • easeMirrored

      public double easeMirrored(double x)