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 caj$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 Map<String,VanillaTerrainParameters.LocationFunction> private static final com.mojang.serialization.Codec<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 aLcaj$a;a:Lcaj$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 bLcaj$a;b:Lcaj$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 cLcaj$a;c:Lcaj$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 dLcaj$a;d:Lcaj$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 eLcaj$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;
-
field_35463
private static final com.mojang.serialization.Codec<VanillaTerrainParameters.LocationFunction> field_35463- Mappings:
Namespace Name Mixin selector official fLcaj$a;f:Lcom/mojang/serialization/Codec;intermediary field_35463Lnet/minecraft/class_6555$class_6744;field_35463:Lcom/mojang/serialization/Codec;named field_35463Lnet/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 gLcaj$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 hLcaj$a;h:Laij;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 iLcaj$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>Lcaj$a;<init>(Ljava/lang/String;ILaij;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 cLaie;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 aLcaj$a;a(Lcaj$b;)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
-