Package dev.piglin.piglinworldapi.block
Enum Class Mushroom
- All Implemented Interfaces:
Serializable,Comparable<Mushroom>,Constable
Mushrooms' block states have 6 boolean fields, this enum lists all possible values
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.cannot retexture item with CustomModelData=0 as it's the default valueDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.cannot retexture item with CustomModelData=0 as it's the default valueDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.used in vanilla generationDeprecated.cannot retexture item with CustomModelData=0 as it's the default valueDeprecated.used in vanilla generation -
Method Summary
Modifier and TypeMethodDescriptionintstatic MushroomfromCustomModel(int in)static MushroomReturns the enum constant of this class with the specified name.static Mushroom[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED_001100
-
RED_001101
-
RED_001110
-
RED_001111
-
RED_010001
-
RED_010011
-
RED_010101
-
RED_010111
-
RED_011001
-
RED_011011
-
RED_011100
-
RED_011101
-
RED_011110
-
RED_011111
-
RED_100000
-
RED_100001
-
RED_100010
-
RED_100011
-
RED_100100
-
RED_100101
-
RED_100110
-
RED_100111
-
RED_101000
-
RED_101001
-
RED_101010
-
RED_101011
-
RED_101100
-
RED_101101
-
RED_101110
-
RED_101111
-
RED_110000
-
RED_110001
-
RED_110010
-
RED_110011
-
RED_110100
-
RED_110101
-
RED_110110
-
RED_110111
-
RED_111000
-
RED_111001
-
RED_111010
-
RED_111011
-
RED_111100
-
RED_111101
-
RED_111110
-
RED_111111
-
RED_000000
Deprecated.cannot retexture item with CustomModelData=0 as it's the default value -
RED_000010
Deprecated.used in vanilla generation -
RED_000111
Deprecated.used in vanilla generation -
RED_000101
Deprecated.used in vanilla generation -
RED_000001
Deprecated.used in vanilla generation -
RED_000011
Deprecated.used in vanilla generation -
RED_001011
Deprecated.used in vanilla generation -
RED_001001
Deprecated.used in vanilla generation -
RED_001010
Deprecated.used in vanilla generation -
RED_001000
Deprecated.used in vanilla generation -
RED_011000
Deprecated.used in vanilla generation -
RED_011010
Deprecated.used in vanilla generation -
RED_010010
Deprecated.used in vanilla generation -
RED_010000
Deprecated.used in vanilla generation -
RED_010100
Deprecated.used in vanilla generation -
RED_010110
Deprecated.used in vanilla generation -
RED_000100
Deprecated.used in vanilla generation -
RED_000110
Deprecated.used in vanilla generation -
BROWN_000001
-
BROWN_000100
-
BROWN_000101
-
BROWN_000111
-
BROWN_001000
-
BROWN_001001
-
BROWN_001100
-
BROWN_001101
-
BROWN_001110
-
BROWN_001111
-
BROWN_010000
-
BROWN_010001
-
BROWN_010011
-
BROWN_010100
-
BROWN_010101
-
BROWN_010111
-
BROWN_011000
-
BROWN_011001
-
BROWN_011011
-
BROWN_011100
-
BROWN_011101
-
BROWN_011110
-
BROWN_011111
-
BROWN_100000
-
BROWN_100001
-
BROWN_100010
-
BROWN_100011
-
BROWN_100100
-
BROWN_100101
-
BROWN_100110
-
BROWN_100111
-
BROWN_101000
-
BROWN_101001
-
BROWN_101010
-
BROWN_101011
-
BROWN_101100
-
BROWN_101101
-
BROWN_101110
-
BROWN_101111
-
BROWN_110000
-
BROWN_110001
-
BROWN_110010
-
BROWN_110011
-
BROWN_110100
-
BROWN_110101
-
BROWN_110110
-
BROWN_110111
-
BROWN_111000
-
BROWN_111001
-
BROWN_111010
-
BROWN_111011
-
BROWN_111100
-
BROWN_111101
-
BROWN_111110
-
BROWN_111111
-
BROWN_000000
Deprecated.cannot retexture item with CustomModelData=0 as it's the default value -
BROWN_000110
Deprecated.used in vanilla generation -
BROWN_010110
Deprecated.used in vanilla generation -
BROWN_000010
Deprecated.used in vanilla generation -
BROWN_010010
Deprecated.used in vanilla generation -
BROWN_011010
Deprecated.used in vanilla generation -
BROWN_001010
Deprecated.used in vanilla generation -
BROWN_001011
Deprecated.used in vanilla generation -
BROWN_000011
Deprecated.used in vanilla generation -
STEM_000001
-
STEM_000010
-
STEM_000011
-
STEM_000100
-
STEM_000101
-
STEM_000110
-
STEM_000111
-
STEM_001000
-
STEM_001001
-
STEM_001010
-
STEM_001011
-
STEM_001100
-
STEM_001101
-
STEM_001110
-
STEM_001111
-
STEM_010000
-
STEM_010001
-
STEM_010010
-
STEM_010011
-
STEM_010100
-
STEM_010101
-
STEM_010110
-
STEM_010111
-
STEM_011000
-
STEM_011001
-
STEM_011010
-
STEM_011011
-
STEM_011100
-
STEM_011110
-
STEM_011111
-
STEM_100000
-
STEM_100001
-
STEM_100010
-
STEM_100011
-
STEM_100100
-
STEM_100101
-
STEM_100110
-
STEM_100111
-
STEM_101000
-
STEM_101001
-
STEM_101010
-
STEM_101011
-
STEM_101100
-
STEM_101101
-
STEM_101110
-
STEM_101111
-
STEM_110000
-
STEM_110001
-
STEM_110010
-
STEM_110011
-
STEM_110100
-
STEM_110101
-
STEM_110110
-
STEM_110111
-
STEM_111000
-
STEM_111001
-
STEM_111010
-
STEM_111011
-
STEM_111100
-
STEM_111101
-
STEM_111110
-
STEM_111111
-
STEM_000000
Deprecated.cannot retexture item with CustomModelData=0 as it's the default value -
STEM_011101
Deprecated.used in vanilla generation
-
-
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
-
fromCustomModel
- Parameters:
in- Custom model data value- Returns:
- The mushroom value corresponding to the custom model data
-
customModelData
public int customModelData()- Returns:
- Custom model data representation of this mushroom
-