Package org.bukkit.material.types
Enum MushroomBlockTexture
- All Implemented Interfaces:
- Serializable,- Comparable<MushroomBlockTexture>,- java.lang.constant.Constable
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 ConstantDescriptionCap texture on all faces.Pores on all faces.Stem texture on all faces.Cap texture on the top and east faces, pores on remaining sides.Cap texture on the top and north faces, pores on remaining sides.Cap texture on the top, north and east faces, pores on remaining sides.Cap texture on the top, north and west faces, pores on remaining sides.Cap texture on the top and south faces, pores on remaining sides.Cap texture on the top, south and east faces, pores on remaining sides.Cap texture on the top, south and west faces, pores on remaining sides.Cap texture on the top face, pores on remaining sides.Cap texture on the top and west faces, pores on remaining sides.Stem texture on the north, east, south and west faces, pores on top and bottom.
- 
Method SummaryModifier and TypeMethodDescriptionstatic MushroomBlockTexturegetByData(byte data) Deprecated.Magic valuestatic MushroomBlockTexturegetCapByFace(BlockFace face) Gets the MushroomBlockType with cap texture on the given block face.Gets the face that has cap texture.bytegetData()Deprecated.Magic valuestatic MushroomBlockTextureReturns the enum constant of this type with the specified name.static MushroomBlockTexture[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
ALL_PORESPores on all faces.
- 
CAP_NORTH_WESTCap texture on the top, north and west faces, pores on remaining sides.
- 
CAP_NORTHCap texture on the top and north faces, pores on remaining sides.
- 
CAP_NORTH_EASTCap texture on the top, north and east faces, pores on remaining sides.
- 
CAP_WESTCap texture on the top and west faces, pores on remaining sides.
- 
CAP_TOPCap texture on the top face, pores on remaining sides.
- 
CAP_EASTCap texture on the top and east faces, pores on remaining sides.
- 
CAP_SOUTH_WESTCap texture on the top, south and west faces, pores on remaining sides.
- 
CAP_SOUTHCap texture on the top and south faces, pores on remaining sides.
- 
CAP_SOUTH_EASTCap texture on the top, south and east faces, pores on remaining sides.
- 
STEM_SIDESStem texture on the north, east, south and west faces, pores on top and bottom.
- 
ALL_CAPCap texture on all faces.
- 
ALL_STEMStem texture on all faces.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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:
- IllegalArgumentException- if this enum type 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
 
- 
getCapFaceGets 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
 
- 
getCapByFaceGets 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:
 
 
-