Package net.minecraft.world.storage
Enum Class MapDecoration.Type
- All Implemented Interfaces:
Serializable
,Comparable<MapDecoration.Type>
,Constable
- Enclosing class:
- MapDecoration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionprivate final byte
private final int
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MapDecoration.Type
byIcon
(byte p_191159_0_) byte
getIcon()
int
boolean
boolean
static MapDecoration.Type
Returns the enum constant of this class with the specified name.static MapDecoration.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAYER
-
FRAME
-
RED_MARKER
-
BLUE_MARKER
-
TARGET_X
-
TARGET_POINT
-
PLAYER_OFF_MAP
-
PLAYER_OFF_LIMITS
-
MANSION
-
MONUMENT
-
BANNER_WHITE
-
BANNER_ORANGE
-
BANNER_MAGENTA
-
BANNER_LIGHT_BLUE
-
BANNER_YELLOW
-
BANNER_LIME
-
BANNER_PINK
-
BANNER_GRAY
-
BANNER_LIGHT_GRAY
-
BANNER_CYAN
-
BANNER_PURPLE
-
BANNER_BLUE
-
BANNER_BROWN
-
BANNER_GREEN
-
BANNER_RED
-
BANNER_BLACK
-
RED_X
-
-
Field Details
-
icon
private final byte icon -
renderedOnFrame
private final boolean renderedOnFrame -
mapColor
private final int mapColor
-
-
Constructor Details
-
Type
private Type(boolean p_i47343_3_) -
Type
private Type(boolean p_i47344_3_, int p_i47344_4_)
-
-
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
-
getIcon
public byte getIcon() -
isRenderedOnFrame
public boolean isRenderedOnFrame() -
hasMapColor
public boolean hasMapColor() -
getMapColor
public int getMapColor() -
byIcon
-