Enum Class VanillaTerrainParameters.LocationFunction

java.lang.Object
java.lang.Enum<VanillaTerrainParameters.LocationFunction>
net.minecraft.world.biome.source.util.VanillaTerrainParameters.LocationFunction
All Implemented Interfaces:
Serializable, Comparable<VanillaTerrainParameters.LocationFunction>, Constable, ToFloatFunction<VanillaTerrainParameters.NoisePoint>, StringIdentifiable
Enclosing class:
VanillaTerrainParameters

protected static enum VanillaTerrainParameters.LocationFunction extends Enum<VanillaTerrainParameters.LocationFunction> implements StringIdentifiable, ToFloatFunction<VanillaTerrainParameters.NoisePoint>
Mappings:
Namespace Name
official cbf$a
intermediary net/minecraft/class_6555$class_6744
named net/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction
  • Enum Constant Details

    • CONTINENTS

      public static final VanillaTerrainParameters.LocationFunction CONTINENTS
      Mappings:
      Namespace Name Mixin selector
      official a Lcbf$a;a:Lcbf$a;
      intermediary field_35458 Lnet/minecraft/class_6555$class_6744;field_35458:Lnet/minecraft/class_6555$class_6744;
      named CONTINENTS Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;CONTINENTS:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
    • EROSION

      public static final VanillaTerrainParameters.LocationFunction EROSION
      Mappings:
      Namespace Name Mixin selector
      official b Lcbf$a;b:Lcbf$a;
      intermediary field_35459 Lnet/minecraft/class_6555$class_6744;field_35459:Lnet/minecraft/class_6555$class_6744;
      named EROSION Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;EROSION:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
    • WEIRDNESS

      public static final VanillaTerrainParameters.LocationFunction WEIRDNESS
      Mappings:
      Namespace Name Mixin selector
      official c Lcbf$a;c:Lcbf$a;
      intermediary field_35460 Lnet/minecraft/class_6555$class_6744;field_35460:Lnet/minecraft/class_6555$class_6744;
      named WEIRDNESS Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;WEIRDNESS:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
    • RIDGES

      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official d Lcbf$a;d:Lcbf$a;
      intermediary field_35461 Lnet/minecraft/class_6555$class_6744;field_35461:Lnet/minecraft/class_6555$class_6744;
      named RIDGES Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;RIDGES:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
  • Field Details

    • field_35462

      private static final Map<String,VanillaTerrainParameters.LocationFunction> field_35462
      Mappings:
      Namespace Name Mixin selector
      official e Lcbf$a;e:Ljava/util/Map;
      intermediary field_35462 Lnet/minecraft/class_6555$class_6744;field_35462:Ljava/util/Map;
      named field_35462 Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;field_35462:Ljava/util/Map;
    • field_35463

      private static final com.mojang.serialization.Codec<VanillaTerrainParameters.LocationFunction> field_35463
      Mappings:
      Namespace Name Mixin selector
      official f Lcbf$a;f:Lcom/mojang/serialization/Codec;
      intermediary field_35463 Lnet/minecraft/class_6555$class_6744;field_35463:Lcom/mojang/serialization/Codec;
      named field_35463 Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;field_35463:Lcom/mojang/serialization/Codec;
    • field_35464

      static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.NoisePoint>> field_35464
      Mappings:
      Namespace Name Mixin selector
      official g Lcbf$a;g:Lcom/mojang/serialization/Codec;
      intermediary field_35464 Lnet/minecraft/class_6555$class_6744;field_35464:Lcom/mojang/serialization/Codec;
      named field_35464 Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;field_35464:Lcom/mojang/serialization/Codec;
    • noiseFunction

      Mappings:
      Namespace Name Mixin selector
      official h Lcbf$a;h:Laje;
      intermediary field_35465 Lnet/minecraft/class_6555$class_6744;field_35465:Lnet/minecraft/class_6501;
      named noiseFunction Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;noiseFunction:Lnet/minecraft/util/function/ToFloatFunction;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official i Lcbf$a;i:Ljava/lang/String;
      intermediary field_35466 Lnet/minecraft/class_6555$class_6744;field_35466:Ljava/lang/String;
      named id Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;id:Ljava/lang/String;
  • Constructor Details

    • LocationFunction

      private LocationFunction(ToFloatFunction<VanillaTerrainParameters.NoisePoint> noiseFunction, String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbf$a;<init>(Ljava/lang/String;ILaje;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6555$class_6744;<init>(Ljava/lang/String;ILnet/minecraft/class_6501;Ljava/lang/String;)V
      named <init> Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;<init>(Ljava/lang/String;ILnet/minecraft/util/function/ToFloatFunction;Ljava/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

      public static VanillaTerrainParameters.LocationFunction 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()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official c Laiz;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;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<VanillaTerrainParameters.LocationFunction>
    • apply

      public float apply(VanillaTerrainParameters.NoisePoint noisePoint)
      Specified by:
      apply in interface ToFloatFunction<VanillaTerrainParameters.NoisePoint>
      Mappings:
      Namespace Name Mixin selector
      official a Lcbf$a;a(Lcbf$b;)F
      intermediary method_39292 Lnet/minecraft/class_6555$class_6744;method_39292(Lnet/minecraft/class_6555$class_6556;)F
      named apply Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;apply(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;)F