Package net.minecraft.data
Enum BlockModelProvider.TintMode
- java.lang.Object
-
- java.lang.Enum<BlockModelProvider.TintMode>
-
- net.minecraft.data.BlockModelProvider.TintMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockModelProvider.TintMode>
- Enclosing class:
- BlockModelProvider
static enum BlockModelProvider.TintMode extends java.lang.Enum<BlockModelProvider.TintMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_TINTED
TINTED
-
Constructor Summary
Constructors Modifier Constructor Description private
TintMode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelsUtil
getCross()
ModelsUtil
getCrossPot()
static BlockModelProvider.TintMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockModelProvider.TintMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TINTED
public static final BlockModelProvider.TintMode TINTED
-
NOT_TINTED
public static final BlockModelProvider.TintMode NOT_TINTED
-
-
Method Detail
-
values
public static BlockModelProvider.TintMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BlockModelProvider.TintMode c : BlockModelProvider.TintMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockModelProvider.TintMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCross
public ModelsUtil getCross()
-
getCrossPot
public ModelsUtil getCrossPot()
-
-