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 cbm$a
intermediary net/minecraft/class_6555$class_6744
named net/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<VanillaTerrainParameters.LocationFunction>
private static final Map<String,
VanillaTerrainParameters.LocationFunction> (package private) static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.NoisePoint>>
private final String
private final ToFloatFunction<VanillaTerrainParameters.NoisePoint>
-
Constructor Summary
ModifierConstructorDescriptionprivate
LocationFunction
(ToFloatFunction<VanillaTerrainParameters.NoisePoint> noiseFunction, String id) -
Method Summary
Modifier and TypeMethodDescriptionfloat
apply
(VanillaTerrainParameters.NoisePoint noisePoint) asString()
toString()
Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTINENTS
- Mappings:
Namespace Name Mixin selector official a
Lcbm$a;a:Lcbm$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
- Mappings:
Namespace Name Mixin selector official b
Lcbm$a;b:Lcbm$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
- Mappings:
Namespace Name Mixin selector official c
Lcbm$a;c:Lcbm$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
Lcbm$a;d:Lcbm$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
- Mappings:
Namespace Name Mixin selector official e
Lcbm$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;
-
CODEC
private static final com.mojang.serialization.Codec<VanillaTerrainParameters.LocationFunction> CODEC- Mappings:
Namespace Name Mixin selector official f
Lcbm$a;f:Lcom/mojang/serialization/Codec;
intermediary field_35463
Lnet/minecraft/class_6555$class_6744;field_35463:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;CODEC:Lcom/mojang/serialization/Codec;
-
field_35464
static final com.mojang.serialization.Codec<ToFloatFunction<VanillaTerrainParameters.NoisePoint>> field_35464- Mappings:
Namespace Name Mixin selector official g
Lcbm$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
Lcbm$a;h:Lajl;
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
- Mappings:
Namespace Name Mixin selector official i
Lcbm$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>
Lcbm$a;<init>(Ljava/lang/String;ILajl;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
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
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official c
Lajg;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
- Overrides:
toString
in classEnum<VanillaTerrainParameters.LocationFunction>
-
apply
- Specified by:
apply
in interfaceToFloatFunction<VanillaTerrainParameters.NoisePoint>
- Mappings:
Namespace Name Mixin selector official a
Lcbm$a;a(Lcbm$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
-