public static enum IRotate.StressImpact extends java.lang.Enum<IRotate.StressImpact>
| Enum Constant and Description |
|---|
HIGH |
LOW |
MEDIUM |
OVERSTRESSED |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.text.TextFormatting |
getAbsoluteColor() |
static net.minecraft.util.text.ITextComponent |
getFormattedStressText(double stressPercent) |
net.minecraft.util.text.TextFormatting |
getRelativeColor() |
static boolean |
isEnabled() |
static IRotate.StressImpact |
of(double stressPercent) |
static IRotate.StressImpact |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRotate.StressImpact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRotate.StressImpact LOW
public static final IRotate.StressImpact MEDIUM
public static final IRotate.StressImpact HIGH
public static final IRotate.StressImpact OVERSTRESSED
public static IRotate.StressImpact[] values()
for (IRotate.StressImpact c : IRotate.StressImpact.values()) System.out.println(c);
public static IRotate.StressImpact 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 getAbsoluteColor()
public net.minecraft.util.text.TextFormatting getRelativeColor()
public static IRotate.StressImpact of(double stressPercent)
public static boolean isEnabled()
public static net.minecraft.util.text.ITextComponent getFormattedStressText(double stressPercent)