Package net.minecraft.world.gen.feature
Enum RuinedPortalFeature.Type
- All Implemented Interfaces:
Serializable
,Comparable<RuinedPortalFeature.Type>
,java.lang.constant.Constable
,StringIdentifiable
- Enclosing class:
- RuinedPortalFeature
public static enum RuinedPortalFeature.Type extends Enum<RuinedPortalFeature.Type> implements StringIdentifiable
- Mappings:
Namespace Name official cpy$b
intermediary net/minecraft/class_5183$class_5185
named net/minecraft/world/gen/feature/RuinedPortalFeature$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,RuinedPortalFeature.Type>
BY_NAME
static com.mojang.serialization.Codec<RuinedPortalFeature.Type>
CODEC
private String
name
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
asString()
static RuinedPortalFeature.Type
byName(String name)
String
getName()
static RuinedPortalFeature.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuinedPortalFeature.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STANDARD
- Mappings:
Namespace Name Mixin selector official a
Lcpy$b;a:Lcpy$b;
intermediary field_24000
Lnet/minecraft/class_5183$class_5185;field_24000:Lnet/minecraft/class_5183$class_5185;
named STANDARD
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;STANDARD:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
DESERT
- Mappings:
Namespace Name Mixin selector official b
Lcpy$b;b:Lcpy$b;
intermediary field_24001
Lnet/minecraft/class_5183$class_5185;field_24001:Lnet/minecraft/class_5183$class_5185;
named DESERT
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;DESERT:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official c
Lcpy$b;c:Lcpy$b;
intermediary field_24002
Lnet/minecraft/class_5183$class_5185;field_24002:Lnet/minecraft/class_5183$class_5185;
named JUNGLE
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;JUNGLE:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
SWAMP
- Mappings:
Namespace Name Mixin selector official d
Lcpy$b;d:Lcpy$b;
intermediary field_24003
Lnet/minecraft/class_5183$class_5185;field_24003:Lnet/minecraft/class_5183$class_5185;
named SWAMP
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;SWAMP:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
MOUNTAIN
- Mappings:
Namespace Name Mixin selector official e
Lcpy$b;e:Lcpy$b;
intermediary field_24004
Lnet/minecraft/class_5183$class_5185;field_24004:Lnet/minecraft/class_5183$class_5185;
named MOUNTAIN
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;MOUNTAIN:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
OCEAN
- Mappings:
Namespace Name Mixin selector official f
Lcpy$b;f:Lcpy$b;
intermediary field_24005
Lnet/minecraft/class_5183$class_5185;field_24005:Lnet/minecraft/class_5183$class_5185;
named OCEAN
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;OCEAN:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
NETHER
- Mappings:
Namespace Name Mixin selector official g
Lcpy$b;g:Lcpy$b;
intermediary field_24006
Lnet/minecraft/class_5183$class_5185;field_24006:Lnet/minecraft/class_5183$class_5185;
named NETHER
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;NETHER:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official h
Lcpy$b;h:Lcom/mojang/serialization/Codec;
intermediary field_24840
Lnet/minecraft/class_5183$class_5185;field_24840:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official i
Lcpy$b;i:Ljava/util/Map;
intermediary field_24007
Lnet/minecraft/class_5183$class_5185;field_24007:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official j
Lcpy$b;j:Ljava/lang/String;
intermediary field_24008
Lnet/minecraft/class_5183$class_5185;field_24008:Ljava/lang/String;
named name
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lcpy$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5183$class_5185;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lcpy$b;b()Ljava/lang/String;
intermediary method_27214
Lnet/minecraft/class_5183$class_5185;method_27214()Ljava/lang/String;
named getName
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lcpy$b;a(Ljava/lang/String;)Lcpy$b;
intermediary method_27216
Lnet/minecraft/class_5183$class_5185;method_27216(Ljava/lang/String;)Lnet/minecraft/class_5183$class_5185;
named byName
Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
asString
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official a
Lagi;a()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-