Enum Class GameModeSwitcherScreen.GameModeIcon
java.lang.Object
java.lang.Enum<GameModeSwitcherScreen.GameModeIcon>
net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen.GameModeIcon
- All Implemented Interfaces:
- Serializable,- Comparable<GameModeSwitcherScreen.GameModeIcon>,- Constable
- Enclosing class:
- GameModeSwitcherScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final Stringprivate static final intprotected static final int(package private) final Component(package private) final ItemStackprotected static final GameModeSwitcherScreen.GameModeIcon[]
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateGameModeIcon(Component p_97594_, String p_97595_, ItemStack p_97596_) 
- 
Method SummaryModifier and TypeMethodDescription(package private) voiddrawIcon(GuiGraphics p_282609_, int p_283301_, int p_281692_) (package private) String(package private) static GameModeSwitcherScreen.GameModeIcongetFromGameType(GameType p_283307_) (package private) ComponentgetName()(package private) GameModeSwitcherScreen.GameModeIcongetNext()Returns the enum constant of this class with the specified name.static GameModeSwitcherScreen.GameModeIcon[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
CREATIVE
- 
SURVIVAL
- 
ADVENTURE
- 
SPECTATOR
 
- 
- 
Field Details- 
VALUES
- 
ICON_AREAprivate static final int ICON_AREA- See Also:
 
- 
ICON_TOP_LEFTprotected static final int ICON_TOP_LEFT- See Also:
 
- 
name
- 
command
- 
renderStack
 
- 
- 
Constructor Details- 
GameModeIcon
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
drawIcon
- 
getNameComponent getName()
- 
getCommandString getCommand()
- 
getNextGameModeSwitcherScreen.GameModeIcon getNext()
- 
getFromGameType
 
-