Package org.bukkit.material.types
Enum Class MushroomBlockTexture
- All Implemented Interfaces:
- Serializable,- Comparable<MushroomBlockTexture>,- Constable
Deprecated.
use BlockData
Represents the different textured blocks of mushroom.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDeprecated.Cap texture on all faces.Deprecated.Pores on all faces.Deprecated.Stem texture on all faces.Deprecated.Cap texture on the top and east faces, pores on remaining sides.Deprecated.Cap texture on the top and north faces, pores on remaining sides.Deprecated.Cap texture on the top, north and east faces, pores on remaining sides.Deprecated.Cap texture on the top, north and west faces, pores on remaining sides.Deprecated.Cap texture on the top and south faces, pores on remaining sides.Deprecated.Cap texture on the top, south and east faces, pores on remaining sides.Deprecated.Cap texture on the top, south and west faces, pores on remaining sides.Deprecated.Cap texture on the top face, pores on remaining sides.Deprecated.Cap texture on the top and west faces, pores on remaining sides.Deprecated.Stem texture on the north, east, south and west faces, pores on top and bottom.
- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable MushroomBlockTexturegetByData(byte data) Deprecated.Magic valuestatic @Nullable MushroomBlockTexturegetCapByFace(@Nullable BlockFace face) Deprecated.Gets the MushroomBlockType with cap texture on the given block face.Deprecated.Gets the face that has cap texture.bytegetData()Deprecated.Magic valuestatic MushroomBlockTextureDeprecated.Returns the enum constant of this class with the specified name.static MushroomBlockTexture[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ALL_PORESDeprecated.Pores on all faces.
- 
CAP_NORTH_WESTDeprecated.Cap texture on the top, north and west faces, pores on remaining sides.
- 
CAP_NORTHDeprecated.Cap texture on the top and north faces, pores on remaining sides.
- 
CAP_NORTH_EASTDeprecated.Cap texture on the top, north and east faces, pores on remaining sides.
- 
CAP_WESTDeprecated.Cap texture on the top and west faces, pores on remaining sides.
- 
CAP_TOPDeprecated.Cap texture on the top face, pores on remaining sides.
- 
CAP_EASTDeprecated.Cap texture on the top and east faces, pores on remaining sides.
- 
CAP_SOUTH_WESTDeprecated.Cap texture on the top, south and west faces, pores on remaining sides.
- 
CAP_SOUTHDeprecated.Cap texture on the top and south faces, pores on remaining sides.
- 
CAP_SOUTH_EASTDeprecated.Cap texture on the top, south and east faces, pores on remaining sides.
- 
STEM_SIDESDeprecated.Stem texture on the north, east, south and west faces, pores on top and bottom.
- 
ALL_CAPDeprecated.Cap texture on all faces.
- 
ALL_STEMDeprecated.Stem texture on all faces.
 
- 
- 
Method Details- 
valuesDeprecated.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
 
- 
valueOfDeprecated.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 name
- NullPointerException- if the argument is null
 
- 
getDataDeprecated.Magic valueGets the associated data value representing this mushroom block face.- Returns:
- A byte containing the data value of this mushroom block face
 
- 
getCapFaceDeprecated.Gets the face that has cap texture.- Returns:
- The cap face
 
- 
getByDataDeprecated.Magic valueGets the MushroomBlockType with the given data value.- Parameters:
- data- Data value to fetch
- Returns:
- The MushroomBlockTexturerepresenting the given value, or null if it doesn't exist
 
- 
getCapByFace@Nullable public static @Nullable MushroomBlockTexture getCapByFace(@Nullable @Nullable BlockFace face) Deprecated.Gets the MushroomBlockType with cap texture on the given block face.- Parameters:
- face- the required block face with cap texture
- Returns:
- The MushroomBlockTexturerepresenting the given block face, or null if it doesn't exist
- See Also:
 
 
-