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 cqy$bintermediary 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
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,RuinedPortalFeature.Type>BY_NAMEstatic com.mojang.serialization.Codec<RuinedPortalFeature.Type>CODECprivate Stringname -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()static RuinedPortalFeature.TypebyName(String name)StringgetName()static RuinedPortalFeature.TypevalueOf(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 aLcqy$b;a:Lcqy$b;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 bLcqy$b;b:Lcqy$b;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 cLcqy$b;c:Lcqy$b;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 dLcqy$b;d:Lcqy$b;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 eLcqy$b;e:Lcqy$b;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 fLcqy$b;f:Lcqy$b;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 gLcqy$b;g:Lcqy$b;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 hLcqy$b;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 iLcqy$b;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 jLcqy$b;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>Lcqy$b;<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 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 bLcqy$b;b()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 aLcqy$b;a(Ljava/lang/String;)Lcqy$b;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 aLaha;a()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-