Enum Class ProgWidgetCoordinateOperator.EnumOperator
java.lang.Object
java.lang.Enum<ProgWidgetCoordinateOperator.EnumOperator>
me.desht.pneumaticcraft.common.progwidgets.ProgWidgetCoordinateOperator.EnumOperator
- All Implemented Interfaces:
Serializable,Comparable<ProgWidgetCoordinateOperator.EnumOperator>,Constable,ITranslatableEnum
- Enclosing class:
- ProgWidgetCoordinateOperator
public static enum ProgWidgetCoordinateOperator.EnumOperator
extends Enum<ProgWidgetCoordinateOperator.EnumOperator>
implements ITranslatableEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.BlockPosapply(net.minecraft.core.BlockPos p1, net.minecraft.core.BlockPos p2, boolean isWhiteList) intdefaultValue(boolean isWhiteList) net.minecraft.core.BlockPosinitialValue(ProgWidgetCoordinate whiteList, ProgWidgetCoordinate blackList) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLUS_MINUS
-
MULIPLY_DIVIDE
-
MAX_MIN
-
-
Field Details
-
texture
public final net.minecraft.resources.ResourceLocation texture
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceITranslatableEnum
-
defaultValue
public int defaultValue(boolean isWhiteList) -
initialValue
public net.minecraft.core.BlockPos initialValue(ProgWidgetCoordinate whiteList, ProgWidgetCoordinate blackList) -
apply
public net.minecraft.core.BlockPos apply(net.minecraft.core.BlockPos p1, net.minecraft.core.BlockPos p2, boolean isWhiteList)
-