Package net.minecraft.client.realms.dto
Enum WorldTemplate.WorldTemplateType
java.lang.Object
java.lang.Enum<WorldTemplate.WorldTemplateType>
net.minecraft.client.realms.dto.WorldTemplate.WorldTemplateType
- All Implemented Interfaces:
Serializable,Comparable<WorldTemplate.WorldTemplateType>,java.lang.constant.Constable
- Enclosing class:
- WorldTemplate
@Environment(CLIENT) public static enum WorldTemplate.WorldTemplateType extends Enum<WorldTemplate.WorldTemplateType>
- Mappings:
Namespace Name official drd$aintermediary net/minecraft/class_4890$class_4323named net/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType
-
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 ADVENTUREMAPEXPERIENCEINSPIRATIONMINIGAMEWORLD_TEMPLATE -
Constructor Summary
Constructors Modifier Constructor Description privateWorldTemplateType() -
Method Summary
Modifier and Type Method Description static WorldTemplate.WorldTemplateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WorldTemplate.WorldTemplateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WORLD_TEMPLATE
- Mappings:
Namespace Name Mixin selector official aLdrd$a;a:Ldrd$a;intermediary field_19447Lnet/minecraft/class_4890$class_4323;field_19447:Lnet/minecraft/class_4890$class_4323;named WORLD_TEMPLATELnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;WORLD_TEMPLATE:Lnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;
-
MINIGAME
- Mappings:
Namespace Name Mixin selector official bLdrd$a;b:Ldrd$a;intermediary field_19448Lnet/minecraft/class_4890$class_4323;field_19448:Lnet/minecraft/class_4890$class_4323;named MINIGAMELnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;MINIGAME:Lnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;
-
ADVENTUREMAP
- Mappings:
Namespace Name Mixin selector official cLdrd$a;c:Ldrd$a;intermediary field_19449Lnet/minecraft/class_4890$class_4323;field_19449:Lnet/minecraft/class_4890$class_4323;named ADVENTUREMAPLnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;ADVENTUREMAP:Lnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;
-
EXPERIENCE
- Mappings:
Namespace Name Mixin selector official dLdrd$a;d:Ldrd$a;intermediary field_19450Lnet/minecraft/class_4890$class_4323;field_19450:Lnet/minecraft/class_4890$class_4323;named EXPERIENCELnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;EXPERIENCE:Lnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;
-
INSPIRATION
- Mappings:
Namespace Name Mixin selector official eLdrd$a;e:Ldrd$a;intermediary field_19451Lnet/minecraft/class_4890$class_4323;field_19451:Lnet/minecraft/class_4890$class_4323;named INSPIRATIONLnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;INSPIRATION:Lnet/minecraft/client/realms/dto/WorldTemplate$WorldTemplateType;
-
-
Constructor Details
-
WorldTemplateType
private WorldTemplateType()
-
-
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
-