Enum Class DensityFunctionTypes.Wrapping.Type

java.lang.Object
java.lang.Enum<DensityFunctionTypes.Wrapping.Type>
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Wrapping.Type
All Implemented Interfaces:
Serializable, Comparable<DensityFunctionTypes.Wrapping.Type>, Constable, StringIdentifiable
Enclosing class:
DensityFunctionTypes.Wrapping

static enum DensityFunctionTypes.Wrapping.Type extends Enum<DensityFunctionTypes.Wrapping.Type> implements StringIdentifiable
Mappings:
Namespace Name
official dok$l$a
intermediary net/minecraft/class_6916$class_6927$class_6928
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type
  • Enum Constant Details

    • INTERPOLATED

      public static final DensityFunctionTypes.Wrapping.Type INTERPOLATED
      Mappings:
      Namespace Name Mixin selector
      official a Ldok$l$a;a:Ldok$l$a;
      intermediary field_36562 Lnet/minecraft/class_6916$class_6927$class_6928;field_36562:Lnet/minecraft/class_6916$class_6927$class_6928;
      named INTERPOLATED Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;INTERPOLATED:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
    • FLAT_CACHE

      public static final DensityFunctionTypes.Wrapping.Type FLAT_CACHE
      Mappings:
      Namespace Name Mixin selector
      official b Ldok$l$a;b:Ldok$l$a;
      intermediary field_36563 Lnet/minecraft/class_6916$class_6927$class_6928;field_36563:Lnet/minecraft/class_6916$class_6927$class_6928;
      named FLAT_CACHE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;FLAT_CACHE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
    • CACHE2D

      public static final DensityFunctionTypes.Wrapping.Type CACHE2D
      Mappings:
      Namespace Name Mixin selector
      official c Ldok$l$a;c:Ldok$l$a;
      intermediary field_36564 Lnet/minecraft/class_6916$class_6927$class_6928;field_36564:Lnet/minecraft/class_6916$class_6927$class_6928;
      named CACHE2D Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;CACHE2D:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
    • CACHE_ONCE

      public static final DensityFunctionTypes.Wrapping.Type CACHE_ONCE
      Mappings:
      Namespace Name Mixin selector
      official d Ldok$l$a;d:Ldok$l$a;
      intermediary field_36565 Lnet/minecraft/class_6916$class_6927$class_6928;field_36565:Lnet/minecraft/class_6916$class_6927$class_6928;
      named CACHE_ONCE Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;CACHE_ONCE:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
    • CACHE_ALL_IN_CELL

      public static final DensityFunctionTypes.Wrapping.Type CACHE_ALL_IN_CELL
      Mappings:
      Namespace Name Mixin selector
      official e Ldok$l$a;e:Ldok$l$a;
      intermediary field_36566 Lnet/minecraft/class_6916$class_6927$class_6928;field_36566:Lnet/minecraft/class_6916$class_6927$class_6928;
      named CACHE_ALL_IN_CELL Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;CACHE_ALL_IN_CELL:Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official f Ldok$l$a;f:Ljava/lang/String;
      intermediary field_37088 Lnet/minecraft/class_6916$class_6927$class_6928;field_37088:Ljava/lang/String;
      named name Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;name:Ljava/lang/String;
    • codec

      Mappings:
      Namespace Name Mixin selector
      official g Ldok$l$a;g:Laui;
      intermediary field_37089 Lnet/minecraft/class_6916$class_6927$class_6928;field_37089:Lnet/minecraft/class_7243;
      named codec Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;codec:Lnet/minecraft/util/dynamic/CodecHolder;
  • Constructor Details

    • Type

      private Type(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldok$l$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6916$class_6927$class_6928;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static DensityFunctionTypes.Wrapping.Type[] 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 DensityFunctionTypes.Wrapping.Type 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
      official c Lavk;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;