Package org.geysermc.geyser.level
Enum Class BedrockMapIcon
- All Implemented Interfaces:
Serializable
,Comparable<BedrockMapIcon>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic BedrockMapIcon
fromType(com.github.steveice10.mc.protocol.data.game.level.map.MapIconType iconType)
Get the BedrockMapIcon for the Java MapIconTypeint
int
toARGB()
Get the ARGB value of a BedrockMapIconstatic BedrockMapIcon
Returns the enum constant of this class with the specified name.static BedrockMapIcon[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ICON_WHITE_ARROW
-
ICON_ITEM_FRAME
-
ICON_RED_ARROW
-
ICON_BLUE_ARROW
-
ICON_TREASURE_MARKER
-
ICON_RED_POINTER
-
ICON_WHITE_CIRCLE
-
ICON_SMALL_WHITE_CIRCLE
-
ICON_MANSION
-
ICON_TEMPLE
-
ICON_WHITE_BANNER
-
ICON_ORANGE_BANNER
-
ICON_MAGENTA_BANNER
-
ICON_LIGHT_BLUE_BANNER
-
ICON_YELLOW_BANNER
-
ICON_LIME_BANNER
-
ICON_PINK_BANNER
-
ICON_GRAY_BANNER
-
ICON_LIGHT_GRAY_BANNER
-
ICON_CYAN_BANNER
-
ICON_PURPLE_BANNER
-
ICON_BLUE_BANNER
-
ICON_BROWN_BANNER
-
ICON_GREEN_BANNER
-
ICON_RED_BANNER
-
ICON_BLACK_BANNER
-
-
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
-
fromType
public static BedrockMapIcon fromType(com.github.steveice10.mc.protocol.data.game.level.map.MapIconType iconType)Get the BedrockMapIcon for the Java MapIconType- Parameters:
iconType
- A MapIconType- Returns:
- The mapping for a BedrockMapIcon
-
toARGB
public int toARGB()Get the ARGB value of a BedrockMapIcon- Returns:
- ARGB as an int
-
getIconID
public int getIconID()
-