Enum Class WorldListWidget.WorldListType
java.lang.Object
java.lang.Enum<WorldListWidget.WorldListType>
net.minecraft.client.gui.screen.world.WorldListWidget.WorldListType
- All Implemented Interfaces:
Serializable,Comparable<WorldListWidget.WorldListType>,Constable
- Enclosing class:
WorldListWidget
@Environment(CLIENT)
public static enum WorldListWidget.WorldListType
extends Enum<WorldListWidget.WorldListType>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldListWidget$WorldListTypeintermediary net/minecraft/class_528$class_11781official gxb$c
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WorldListWidget.WorldListType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLEPLAYER
- Mappings:
Namespace Name Mixin selector named SINGLEPLAYERLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;SINGLEPLAYER:Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;intermediary field_62201Lnet/minecraft/class_528$class_11781;field_62201:Lnet/minecraft/class_528$class_11781;official aLgxb$c;a:Lgxb$c;
-
UPLOAD_WORLD
- Mappings:
Namespace Name Mixin selector named UPLOAD_WORLDLnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;UPLOAD_WORLD:Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldListType;intermediary field_62202Lnet/minecraft/class_528$class_11781;field_62202:Lnet/minecraft/class_528$class_11781;official bLgxb$c;b:Lgxb$c;
-
-
Constructor Details
-
WorldListType
private WorldListType()
-
-
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
-