Package net.minecraft.world.gen.feature
Enum Class RuinedPortalFeature.Type
- All Implemented Interfaces:
Serializable,Comparable<RuinedPortalFeature.Type>,Constable,StringIdentifiable
- Enclosing class:
- RuinedPortalFeature
public static enum RuinedPortalFeature.Type
extends Enum<RuinedPortalFeature.Type>
implements StringIdentifiable
- Mappings:
Namespace Name official cwr$aintermediary net/minecraft/class_5183$class_5185named 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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<String,RuinedPortalFeature.Type> static final com.mojang.serialization.Codec<RuinedPortalFeature.Type>private final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()static RuinedPortalFeature.TypegetName()static RuinedPortalFeature.TypeReturns the enum constant of this class with the specified name.static RuinedPortalFeature.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
- Mappings:
Namespace Name Mixin selector official aLcwr$a;a:Lcwr$a;intermediary field_24000Lnet/minecraft/class_5183$class_5185;field_24000:Lnet/minecraft/class_5183$class_5185;named STANDARDLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;STANDARD:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
DESERT
- Mappings:
Namespace Name Mixin selector official bLcwr$a;b:Lcwr$a;intermediary field_24001Lnet/minecraft/class_5183$class_5185;field_24001:Lnet/minecraft/class_5183$class_5185;named DESERTLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;DESERT:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
JUNGLE
- Mappings:
Namespace Name Mixin selector official cLcwr$a;c:Lcwr$a;intermediary field_24002Lnet/minecraft/class_5183$class_5185;field_24002:Lnet/minecraft/class_5183$class_5185;named JUNGLELnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;JUNGLE:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
SWAMP
- Mappings:
Namespace Name Mixin selector official dLcwr$a;d:Lcwr$a;intermediary field_24003Lnet/minecraft/class_5183$class_5185;field_24003:Lnet/minecraft/class_5183$class_5185;named SWAMPLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;SWAMP:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
MOUNTAIN
- Mappings:
Namespace Name Mixin selector official eLcwr$a;e:Lcwr$a;intermediary field_24004Lnet/minecraft/class_5183$class_5185;field_24004:Lnet/minecraft/class_5183$class_5185;named MOUNTAINLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;MOUNTAIN:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
OCEAN
- Mappings:
Namespace Name Mixin selector official fLcwr$a;f:Lcwr$a;intermediary field_24005Lnet/minecraft/class_5183$class_5185;field_24005:Lnet/minecraft/class_5183$class_5185;named OCEANLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;OCEAN:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
NETHER
- Mappings:
Namespace Name Mixin selector official gLcwr$a;g:Lcwr$a;intermediary field_24006Lnet/minecraft/class_5183$class_5185;field_24006:Lnet/minecraft/class_5183$class_5185;named NETHERLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;NETHER:Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official hLcwr$a;h:Lcom/mojang/serialization/Codec;intermediary field_24840Lnet/minecraft/class_5183$class_5185;field_24840:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official iLcwr$a;i:Ljava/util/Map;intermediary field_24007Lnet/minecraft/class_5183$class_5185;field_24007:Ljava/util/Map;named BY_NAMELnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official jLcwr$a;j:Ljava/lang/String;intermediary field_24008Lnet/minecraft/class_5183$class_5185;field_24008:Ljava/lang/String;named nameLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lcwr$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_5183$class_5185;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <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 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
-
getName
- Mappings:
Namespace Name Mixin selector official aLcwr$a;a()Ljava/lang/String;intermediary method_27214Lnet/minecraft/class_5183$class_5185;method_27214()Ljava/lang/String;named getNameLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLcwr$a;a(Ljava/lang/String;)Lcwr$a;intermediary method_27216Lnet/minecraft/class_5183$class_5185;method_27216(Ljava/lang/String;)Lnet/minecraft/class_5183$class_5185;named byNameLnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/feature/RuinedPortalFeature$Type;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official cLaie;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-