public static enum IRotate.SpeedLevel extends java.lang.Enum<IRotate.SpeedLevel>
| Modifier and Type | Method and Description |
|---|---|
int |
getColor() |
static net.minecraft.util.text.ITextComponent |
getFormattedSpeedText(float speed,
boolean overstressed) |
int |
getParticleSpeed() |
float |
getSpeedValue() |
net.minecraft.util.text.TextFormatting |
getTextColor() |
static IRotate.SpeedLevel |
of(float speed) |
static IRotate.SpeedLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRotate.SpeedLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRotate.SpeedLevel NONE
public static final IRotate.SpeedLevel MEDIUM
public static final IRotate.SpeedLevel FAST
public static IRotate.SpeedLevel[] values()
for (IRotate.SpeedLevel c : IRotate.SpeedLevel.values()) System.out.println(c);
public static IRotate.SpeedLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic net.minecraft.util.text.TextFormatting getTextColor()
public int getColor()
public int getParticleSpeed()
public static IRotate.SpeedLevel of(float speed)
public float getSpeedValue()
public static net.minecraft.util.text.ITextComponent getFormattedSpeedText(float speed,
boolean overstressed)