Package net.minecraft.structure
Enum Class StructureLiquidSettings
- All Implemented Interfaces:
Serializable,Comparable<StructureLiquidSettings>,Constable,StringIdentifiable
public enum StructureLiquidSettings
extends Enum<StructureLiquidSettings>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/structure/StructureLiquidSettingsintermediary net/minecraft/class_9822official end
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<StructureLiquidSettings> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static StructureLiquidSettingsReturns the enum constant of this class with the specified name.static StructureLiquidSettings[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE_WATERLOGGING
- Mappings:
Namespace Name Mixin selector named IGNORE_WATERLOGGINGLnet/minecraft/structure/StructureLiquidSettings;IGNORE_WATERLOGGING:Lnet/minecraft/structure/StructureLiquidSettings;intermediary field_52237Lnet/minecraft/class_9822;field_52237:Lnet/minecraft/class_9822;official aLend;a:Lend;
-
APPLY_WATERLOGGING
- Mappings:
Namespace Name Mixin selector named APPLY_WATERLOGGINGLnet/minecraft/structure/StructureLiquidSettings;APPLY_WATERLOGGING:Lnet/minecraft/structure/StructureLiquidSettings;intermediary field_52238Lnet/minecraft/class_9822;field_52238:Lnet/minecraft/class_9822;official bLend;b:Lend;
-
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector named codecLnet/minecraft/structure/StructureLiquidSettings;codec:Lcom/mojang/serialization/Codec;intermediary field_52239Lnet/minecraft/class_9822;field_52239:Lcom/mojang/serialization/Codec;official cLend;c:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/structure/StructureLiquidSettings;id:Ljava/lang/String;intermediary field_52240Lnet/minecraft/class_9822;field_52240:Ljava/lang/String;official dLend;d:Ljava/lang/String;
-
-
Constructor Details
-
StructureLiquidSettings
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructureLiquidSettings;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_9822;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lend;<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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-