Package net.minecraft.client.realms.dto
Enum RealmsServer.WorldType
- All Implemented Interfaces:
Serializable,Comparable<RealmsServer.WorldType>,java.lang.constant.Constable
- Enclosing class:
- RealmsServer
@Environment(CLIENT) public static enum RealmsServer.WorldType extends Enum<RealmsServer.WorldType>
- Mappings:
Namespace Name official dmb$cintermediary net/minecraft/class_4877$class_4321named net/minecraft/client/realms/dto/RealmsServer$WorldType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ADVENTUREMAPEXPERIENCEINSPIRATIONMINIGAMENORMAL -
Constructor Summary
Constructors Modifier Constructor Description privateWorldType() -
Method Summary
Modifier and Type Method Description static RealmsServer.WorldTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RealmsServer.WorldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLdmb$c;a:Ldmb$c;intermediary field_19437Lnet/minecraft/class_4877$class_4321;field_19437:Lnet/minecraft/class_4877$class_4321;named NORMALLnet/minecraft/client/realms/dto/RealmsServer$WorldType;NORMAL:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
MINIGAME
- Mappings:
Namespace Name Mixin selector official bLdmb$c;b:Ldmb$c;intermediary field_19438Lnet/minecraft/class_4877$class_4321;field_19438:Lnet/minecraft/class_4877$class_4321;named MINIGAMELnet/minecraft/client/realms/dto/RealmsServer$WorldType;MINIGAME:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
ADVENTUREMAP
- Mappings:
Namespace Name Mixin selector official cLdmb$c;c:Ldmb$c;intermediary field_19439Lnet/minecraft/class_4877$class_4321;field_19439:Lnet/minecraft/class_4877$class_4321;named ADVENTUREMAPLnet/minecraft/client/realms/dto/RealmsServer$WorldType;ADVENTUREMAP:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
EXPERIENCE
- Mappings:
Namespace Name Mixin selector official dLdmb$c;d:Ldmb$c;intermediary field_19440Lnet/minecraft/class_4877$class_4321;field_19440:Lnet/minecraft/class_4877$class_4321;named EXPERIENCELnet/minecraft/client/realms/dto/RealmsServer$WorldType;EXPERIENCE:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
INSPIRATION
- Mappings:
Namespace Name Mixin selector official eLdmb$c;e:Ldmb$c;intermediary field_19441Lnet/minecraft/class_4877$class_4321;field_19441:Lnet/minecraft/class_4877$class_4321;named INSPIRATIONLnet/minecraft/client/realms/dto/RealmsServer$WorldType;INSPIRATION:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
-
Constructor Details
-
WorldType
private WorldType()
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-