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 dmv$c
intermediary net/minecraft/class_4877$class_4321
named 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 ADVENTUREMAP
EXPERIENCE
INSPIRATION
MINIGAME
NORMAL
-
Constructor Summary
Constructors Modifier Constructor Description private
WorldType()
-
Method Summary
Modifier and Type Method Description static RealmsServer.WorldType
valueOf(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 a
Ldmv$c;a:Ldmv$c;
intermediary field_19437
Lnet/minecraft/class_4877$class_4321;field_19437:Lnet/minecraft/class_4877$class_4321;
named NORMAL
Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;NORMAL:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
MINIGAME
- Mappings:
Namespace Name Mixin selector official b
Ldmv$c;b:Ldmv$c;
intermediary field_19438
Lnet/minecraft/class_4877$class_4321;field_19438:Lnet/minecraft/class_4877$class_4321;
named MINIGAME
Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;MINIGAME:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
ADVENTUREMAP
- Mappings:
Namespace Name Mixin selector official c
Ldmv$c;c:Ldmv$c;
intermediary field_19439
Lnet/minecraft/class_4877$class_4321;field_19439:Lnet/minecraft/class_4877$class_4321;
named ADVENTUREMAP
Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;ADVENTUREMAP:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
EXPERIENCE
- Mappings:
Namespace Name Mixin selector official d
Ldmv$c;d:Ldmv$c;
intermediary field_19440
Lnet/minecraft/class_4877$class_4321;field_19440:Lnet/minecraft/class_4877$class_4321;
named EXPERIENCE
Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;EXPERIENCE:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
INSPIRATION
- Mappings:
Namespace Name Mixin selector official e
Ldmv$c;e:Ldmv$c;
intermediary field_19441
Lnet/minecraft/class_4877$class_4321;field_19441:Lnet/minecraft/class_4877$class_4321;
named INSPIRATION
Lnet/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
-