Record Class DensityFunctionTypes.TerrainShaperSpline
java.lang.Object
java.lang.Record
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.TerrainShaperSpline
- Record Components:
continentalness-erosion-weirdness-shaper-spline-minValue-maxValue-
- All Implemented Interfaces:
DensityFunction
- Enclosing class:
DensityFunctionTypes
@Deprecated
public static record DensityFunctionTypes.TerrainShaperSpline(DensityFunction continentalness, DensityFunction erosion, DensityFunction weirdness, @Nullable VanillaTerrainParameters shaper, DensityFunctionTypes.TerrainShaperSpline.Spline spline, double minValue, double maxValue)
extends Record
implements DensityFunction
Deprecated.
- Mappings:
Namespace Name official cub$yintermediary net/minecraft/class_6916$class_6942named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSplineofficial eintermediary comp_403named continentalnessofficial fintermediary comp_404named erosionofficial gintermediary comp_405named weirdnessofficial hintermediary comp_473named shaperofficial iintermediary comp_406named splineofficial jintermediary comp_377named minValueofficial kintermediary comp_378named maxValue
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interfaceDeprecated.static enumDeprecated.Nested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.class_6911, DensityFunction.class_6913, DensityFunction.DensityFunctionVisitor, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DensityFunctionTypes.TerrainShaperSpline>Deprecated.private final DensityFunctionDeprecated.The field for thecontinentalnessrecord component.private final DensityFunctionDeprecated.The field for theerosionrecord component.private static final com.mojang.serialization.MapCodec<DensityFunctionTypes.TerrainShaperSpline>Deprecated.private final doubleDeprecated.The field for themaxValuerecord component.private final doubleDeprecated.The field for theminValuerecord component.private final @Nullable VanillaTerrainParametersDeprecated.The field for theshaperrecord component.private final DensityFunctionTypes.TerrainShaperSpline.SplineDeprecated.The field for thesplinerecord component.private final DensityFunctionDeprecated.The field for theweirdnessrecord component.Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
field_37057, field_37059, REGISTRY_ENTRY_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionTerrainShaperSpline(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, @Nullable VanillaTerrainParameters vanillaTerrainParameters, DensityFunctionTypes.TerrainShaperSpline.Spline spline, double double2, double double3) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Returns the value of thecontinentalnessrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.erosion()Deprecated.Returns the value of theerosionrecord component.com.mojang.serialization.Codec<? extends DensityFunction>getCodec()Deprecated.final inthashCode()Deprecated.Returns a hash code value for this object.doublemaxValue()Deprecated.voidmethod_40470(double[] double2, DensityFunction.class_6911 class_6911) Deprecated.method_41094(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunctionTypes.TerrainShaperSpline.Spline spline, double double2, double double3) Deprecated.doubleminValue()Deprecated.doubleDeprecated.shaper()Deprecated.Returns the value of theshaperrecord component.spline()Deprecated.Returns the value of thesplinerecord component.final StringtoString()Deprecated.Returns a string representation of this record class.Deprecated.Returns the value of theweirdnessrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeeze
-
Field Details
-
continentalness
Deprecated.The field for thecontinentalnessrecord component. -
erosion
Deprecated.The field for theerosionrecord component. -
weirdness
Deprecated.The field for theweirdnessrecord component. -
shaper
Deprecated.The field for theshaperrecord component. -
spline
Deprecated.The field for thesplinerecord component. -
minValue
private final double minValueDeprecated.The field for theminValuerecord component. -
maxValue
private final double maxValueDeprecated.The field for themaxValuerecord component. -
field_37101
private static final com.mojang.serialization.MapCodec<DensityFunctionTypes.TerrainShaperSpline> field_37101Deprecated.- Mappings:
Namespace Name Mixin selector official lLcub$y;l:Lcom/mojang/serialization/MapCodec;intermediary field_37101Lnet/minecraft/class_6916$class_6942;field_37101:Lcom/mojang/serialization/MapCodec;named field_37101Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSpline;field_37101:Lcom/mojang/serialization/MapCodec;
-
CODEC
Deprecated.- Mappings:
Namespace Name Mixin selector official aLcub$y;a:Lcom/mojang/serialization/Codec;intermediary field_37100Lnet/minecraft/class_6916$class_6942;field_37100:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSpline;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
TerrainShaperSpline
public TerrainShaperSpline(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, @Nullable @Nullable VanillaTerrainParameters vanillaTerrainParameters, DensityFunctionTypes.TerrainShaperSpline.Spline spline, double double2, double double3) Deprecated.
-
-
Method Details
-
method_41094
public static DensityFunctionTypes.TerrainShaperSpline method_41094(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunctionTypes.TerrainShaperSpline.Spline spline, double double2, double double3) Deprecated.- Mappings:
Namespace Name Mixin selector official aLcub$y;a(Lcua;Lcua;Lcua;Lcub$y$b;DD)Lcub$y;intermediary method_41094Lnet/minecraft/class_6916$class_6942;method_41094(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6916$class_6942$class_7054;DD)Lnet/minecraft/class_6916$class_6942;named method_41094Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSpline;method_41094(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSpline$Spline;DD)Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$TerrainShaperSpline;
-
sample
Deprecated.- Specified by:
samplein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLcua;a(Lcua$b;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dnamed sampleLnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
-
method_40470
Deprecated.- Specified by:
method_40470in interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLcua;a([DLcua$a;)Vintermediary method_40470Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)Vnamed method_40470Lnet/minecraft/world/gen/densityfunction/DensityFunction;method_40470([DLnet/minecraft/world/gen/densityfunction/DensityFunction$class_6911;)V
-
apply
Deprecated.- Specified by:
applyin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLcua;a(Lcua$e;)Lcua;intermediary method_40469Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;named applyLnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
getCodec
Deprecated.- Specified by:
getCodecin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official cLcua;c()Lcom/mojang/serialization/Codec;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lcom/mojang/serialization/Codec;
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
continentalness
Deprecated.Returns the value of thecontinentalnessrecord component.- Returns:
- the value of the
continentalnessrecord component
-
erosion
Deprecated.Returns the value of theerosionrecord component.- Returns:
- the value of the
erosionrecord component
-
weirdness
Deprecated.Returns the value of theweirdnessrecord component.- Returns:
- the value of the
weirdnessrecord component
-
shaper
Deprecated.Returns the value of theshaperrecord component.- Returns:
- the value of the
shaperrecord component
-
spline
Deprecated.Returns the value of thesplinerecord component.- Returns:
- the value of the
splinerecord component
-
minValue
public double minValue()Deprecated.- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official aLcua;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()Deprecated.- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official bLcua;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-