Package net.minecraft.util.palette
Enum UpgradeData.BlockFixers
- java.lang.Object
-
- java.lang.Enum<UpgradeData.BlockFixers>
-
- net.minecraft.util.palette.UpgradeData.BlockFixers
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UpgradeData.BlockFixers>
,UpgradeData.IBlockFixer
- Enclosing class:
- UpgradeData
static enum UpgradeData.BlockFixers extends java.lang.Enum<UpgradeData.BlockFixers> implements UpgradeData.IBlockFixer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACKLIST
CHEST
DEFAULT
LEAVES
STEM_BLOCK
-
Field Summary
Fields Modifier and Type Field Description static Direction[]
DIRECTIONS
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockFixers(boolean p_i49366_3_, Block... p_i49366_4_)
private
BlockFixers(Block... p_i47847_3_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpgradeData.BlockFixers
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UpgradeData.BlockFixers[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.minecraft.util.palette.UpgradeData.IBlockFixer
processChunk, updateShape
-
-
-
-
Enum Constant Detail
-
BLACKLIST
public static final UpgradeData.BlockFixers BLACKLIST
-
DEFAULT
public static final UpgradeData.BlockFixers DEFAULT
-
CHEST
public static final UpgradeData.BlockFixers CHEST
-
LEAVES
public static final UpgradeData.BlockFixers LEAVES
-
STEM_BLOCK
public static final UpgradeData.BlockFixers STEM_BLOCK
-
-
Field Detail
-
DIRECTIONS
public static final Direction[] DIRECTIONS
-
-
Method Detail
-
values
public static UpgradeData.BlockFixers[] 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 (UpgradeData.BlockFixers c : UpgradeData.BlockFixers.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpgradeData.BlockFixers 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
-
-