Enum Class IRotate.SpeedLevel

java.lang.Object
java.lang.Enum<IRotate.SpeedLevel>
com.simibubi.create.content.contraptions.base.IRotate.SpeedLevel
All Implemented Interfaces:
Serializable, Comparable<IRotate.SpeedLevel>, Constable
Enclosing interface:
IRotate

public static enum IRotate.SpeedLevel extends Enum<IRotate.SpeedLevel>
  • Enum Constant Details

  • Method Details

    • values

      public static IRotate.SpeedLevel[] 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 IRotate.SpeedLevel 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
    • getTextColor

      public net.minecraft.ChatFormatting getTextColor()
    • getColor

      public int getColor()
    • getParticleSpeed

      public int getParticleSpeed()
    • of

      public static IRotate.SpeedLevel of(float speed)
    • getSpeedValue

      public float getSpeedValue()
    • getFormattedSpeedText

      public static net.minecraft.network.chat.Component getFormattedSpeedText(float speed, boolean overstressed)