public static enum ProgWidgetCoordinateOperator.EnumOperator extends java.lang.Enum<ProgWidgetCoordinateOperator.EnumOperator> implements ITranslatableEnum
| Enum Constant and Description |
|---|
MAX_MIN |
MULIPLY_DIVIDE |
PLUS_MINUS |
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.ResourceLocation |
texture |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.BlockPos |
apply(net.minecraft.util.math.BlockPos p1,
net.minecraft.util.math.BlockPos p2,
boolean isWhiteList) |
int |
defaultValue(boolean isWhiteList) |
java.lang.String |
getTranslationKey() |
net.minecraft.util.math.BlockPos |
initialValue(ProgWidgetCoordinate whiteList,
ProgWidgetCoordinate blackList) |
static ProgWidgetCoordinateOperator.EnumOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgWidgetCoordinateOperator.EnumOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgWidgetCoordinateOperator.EnumOperator PLUS_MINUS
public static final ProgWidgetCoordinateOperator.EnumOperator MULIPLY_DIVIDE
public static final ProgWidgetCoordinateOperator.EnumOperator MAX_MIN
public static ProgWidgetCoordinateOperator.EnumOperator[] values()
for (ProgWidgetCoordinateOperator.EnumOperator c : ProgWidgetCoordinateOperator.EnumOperator.values()) System.out.println(c);
public static ProgWidgetCoordinateOperator.EnumOperator 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 java.lang.String getTranslationKey()
getTranslationKey in interface ITranslatableEnumpublic int defaultValue(boolean isWhiteList)
public net.minecraft.util.math.BlockPos initialValue(ProgWidgetCoordinate whiteList, ProgWidgetCoordinate blackList)
public net.minecraft.util.math.BlockPos apply(net.minecraft.util.math.BlockPos p1,
net.minecraft.util.math.BlockPos p2,
boolean isWhiteList)