Enum Class StructureLiquidSettings

java.lang.Object
java.lang.Enum<StructureLiquidSettings>
net.minecraft.structure.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
  • Enum Constant Details

    • IGNORE_WATERLOGGING

      public static final StructureLiquidSettings 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

      public static final StructureLiquidSettings 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

      public static com.mojang.serialization.Codec<StructureLiquidSettings> 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

      private final String 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

      private StructureLiquidSettings(String id)
      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

      public static StructureLiquidSettings[] 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

      public static StructureLiquidSettings valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      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;