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
@VisibleForTesting
protected static enum VanillaTerrainParameters.LocationFunction
extends Enum<VanillaTerrainParameters.LocationFunction>
implements StringIdentifiable, ToFloatFunction<VanillaTerrainParameters.NoisePoint>
- Mappings:
Namespace Name official cce$aintermediary net/minecraft/class_6555$class_6744named 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
Enum Constants -
Field Summary
FieldsModifier 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 Stringprivate final ToFloatFunction<VanillaTerrainParameters.NoisePoint> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLocationFunction(ToFloatFunction<VanillaTerrainParameters.NoisePoint> noiseFunction, String id) -
Method Summary
Modifier and TypeMethodDescriptionfloatapply(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 aLcce$a;a:Lcce$a;intermediary field_35458Lnet/minecraft/class_6555$class_6744;field_35458:Lnet/minecraft/class_6555$class_6744;named CONTINENTSLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;CONTINENTS:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
-
EROSION
- Mappings:
Namespace Name Mixin selector official bLcce$a;b:Lcce$a;intermediary field_35459Lnet/minecraft/class_6555$class_6744;field_35459:Lnet/minecraft/class_6555$class_6744;named EROSIONLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;EROSION:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
-
WEIRDNESS
- Mappings:
Namespace Name Mixin selector official cLcce$a;c:Lcce$a;intermediary field_35460Lnet/minecraft/class_6555$class_6744;field_35460:Lnet/minecraft/class_6555$class_6744;named WEIRDNESSLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;WEIRDNESS:Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;
-
RIDGES
Deprecated.- Mappings:
Namespace Name Mixin selector official dLcce$a;d:Lcce$a;intermediary field_35461Lnet/minecraft/class_6555$class_6744;field_35461:Lnet/minecraft/class_6555$class_6744;named RIDGESLnet/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 eLcce$a;e:Ljava/util/Map;intermediary field_35462Lnet/minecraft/class_6555$class_6744;field_35462:Ljava/util/Map;named field_35462Lnet/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 fLcce$a;f:Lcom/mojang/serialization/Codec;intermediary field_35463Lnet/minecraft/class_6555$class_6744;field_35463:Lcom/mojang/serialization/Codec;named CODECLnet/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 gLcce$a;g:Lcom/mojang/serialization/Codec;intermediary field_35464Lnet/minecraft/class_6555$class_6744;field_35464:Lcom/mojang/serialization/Codec;named field_35464Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;field_35464:Lcom/mojang/serialization/Codec;
-
noiseFunction
- Mappings:
Namespace Name Mixin selector official hLcce$a;h:Lajy;intermediary field_35465Lnet/minecraft/class_6555$class_6744;field_35465:Lnet/minecraft/class_6501;named noiseFunctionLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;noiseFunction:Lnet/minecraft/util/function/ToFloatFunction;
-
id
- Mappings:
Namespace Name Mixin selector official iLcce$a;i:Ljava/lang/String;intermediary field_35466Lnet/minecraft/class_6555$class_6744;field_35466:Ljava/lang/String;named idLnet/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>Lcce$a;<init>(Ljava/lang/String;ILajy;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_6555$class_6744;<init>(Ljava/lang/String;ILnet/minecraft/class_6501;Ljava/lang/String;)Vnamed <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:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official cLajt;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
toString
- Overrides:
toStringin classEnum<VanillaTerrainParameters.LocationFunction>
-
apply
- Specified by:
applyin interfaceToFloatFunction<VanillaTerrainParameters.NoisePoint>- Mappings:
Namespace Name Mixin selector official aLcce$a;a(Lcce$c;)Fintermediary method_39292Lnet/minecraft/class_6555$class_6744;method_39292(Lnet/minecraft/class_6555$class_6556;)Fnamed applyLnet/minecraft/world/biome/source/util/VanillaTerrainParameters$LocationFunction;apply(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;)F
-