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/StructureLiquidSettings
intermediary net/minecraft/class_9822
official erv
-
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec
<StructureLiquidSettings> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static StructureLiquidSettings
Returns 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_WATERLOGGING
Lnet/minecraft/structure/StructureLiquidSettings;IGNORE_WATERLOGGING:Lnet/minecraft/structure/StructureLiquidSettings;
intermediary field_52237
Lnet/minecraft/class_9822;field_52237:Lnet/minecraft/class_9822;
official a
Lerv;a:Lerv;
-
APPLY_WATERLOGGING
- Mappings:
Namespace Name Mixin selector named APPLY_WATERLOGGING
Lnet/minecraft/structure/StructureLiquidSettings;APPLY_WATERLOGGING:Lnet/minecraft/structure/StructureLiquidSettings;
intermediary field_52238
Lnet/minecraft/class_9822;field_52238:Lnet/minecraft/class_9822;
official b
Lerv;b:Lerv;
-
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/structure/StructureLiquidSettings;codec:Lcom/mojang/serialization/Codec;
intermediary field_52239
Lnet/minecraft/class_9822;field_52239:Lcom/mojang/serialization/Codec;
official c
Lerv;c:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/structure/StructureLiquidSettings;id:Ljava/lang/String;
intermediary field_52240
Lnet/minecraft/class_9822;field_52240:Ljava/lang/String;
official d
Lerv;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;)V
intermediary <init>
Lnet/minecraft/class_9822;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lerv;<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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbba;c()Ljava/lang/String;
-