Uses of Interface
net.minecraft.util.CubicSpline
Packages that use CubicSpline
Package
Description
-
Uses of CubicSpline in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen that return CubicSplineModifier and TypeMethodDescriptionprivate static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildErosionJaggednessSpline(I erosion, I weirdness, I ridges, float jaggednessFactorAtPeakRidgeAndErosionIndex0, float jaggednessFactorAtPeakRidgeAndErosionIndex1, float jaggednessFactorAtHighRidgeAndErosionIndex0, float jaggednessFactorAtHighRidgeAndErosionIndex1, BoundedFloatFunction<Float> jaggednessTransformer) static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildErosionOffsetSpline(I erosion, I ridges, float lowValley, float hill, float tallHill, float mountainFactor, float plain, float swamp, boolean includeExtremeHills, boolean saddle, BoundedFloatFunction<Float> offsetTransformer) private static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildMountainRidgeSplineWithPoints(I ridges, float modulation, boolean saddle, BoundedFloatFunction<Float> offsetTransformer) private static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildRidgeJaggednessSpline(I weirdness, I ridges, float jaggednessFactorAtPeakRidge, float jaggednessFactorAtHighRidge, BoundedFloatFunction<Float> jaggednessTransformer) private static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.buildWeirdnessJaggednessSpline(I weirdness, float jaggednessFactor, BoundedFloatFunction<Float> jaggednessTransformer) private static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.getErosionFactor(I erosion, I weirdness, I ridges, float baseValue, boolean shatteredTerrain, BoundedFloatFunction<Float> factorTransformer) static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldFactor(I continents, I erosion, I weirdness, I ridges, boolean amplified) static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldJaggedness(I continents, I erosion, I weirdness, I ridges, boolean amplified) static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.overworldOffset(I continents, I erosion, I ridges, boolean amplified) private static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> TerrainProvider.ridgeSpline(I ridges, float valley, float low, float mid, float high, float peaks, float minValleySteepness, BoundedFloatFunction<Float> offsetTransformer) -
Uses of CubicSpline in net.minecraft.util
Classes in net.minecraft.util that implement CubicSplineModifier and TypeClassDescriptionstatic final recordCubicSpline.Constant<C, I extends BoundedFloatFunction<C>>static final recordCubicSpline.Multipoint<C, I extends BoundedFloatFunction<C>>Fields in net.minecraft.util with type parameters of type CubicSplineModifier and TypeFieldDescriptionprivate final List<CubicSpline<C, I>> CubicSpline.Builder.valuesprivate final List<CubicSpline<C, I>> CubicSpline.Multipoint.valuesThe field for thevaluesrecord component.Methods in net.minecraft.util that return CubicSplineModifier and TypeMethodDescriptionCubicSpline.Builder.build()static <C, I extends BoundedFloatFunction<C>>
CubicSpline<C, I> CubicSpline.constant(float value) CubicSpline.Constant.mapAll(CubicSpline.CoordinateVisitor<I> visitor) CubicSpline.mapAll(CubicSpline.CoordinateVisitor<I> visitor) CubicSpline.Multipoint.mapAll(CubicSpline.CoordinateVisitor<I> visitor) Methods in net.minecraft.util that return types with arguments of type CubicSplineModifier and TypeMethodDescriptionstatic <C, I extends BoundedFloatFunction<C>>
com.mojang.serialization.Codec<CubicSpline<C, I>> CubicSpline.codec(com.mojang.serialization.Codec<I> coordinateCodec) List<CubicSpline<C, I>> CubicSpline.Multipoint.values()Returns the value of thevaluesrecord component.Methods in net.minecraft.util with parameters of type CubicSplineModifier and TypeMethodDescriptionCubicSpline.Builder.addPoint(float location, CubicSpline<C, I> sampler) private CubicSpline.Builder<C, I> CubicSpline.Builder.addPoint(float location, CubicSpline<C, I> sampler, float derivative) Method parameters in net.minecraft.util with type arguments of type CubicSplineModifier and TypeMethodDescriptionprivate static <C, I extends BoundedFloatFunction<C>>
CubicSpline.Multipoint<C, I> CubicSpline.Multipoint.create(I coordinate, float[] locations, List<CubicSpline<C, I>> values, float[] derivatives) private static <C, I extends BoundedFloatFunction<C>>
voidCubicSpline.Multipoint.validateSizes(float[] locations, List<CubicSpline<C, I>> values, float[] derivatives) Constructor parameters in net.minecraft.util with type arguments of type CubicSplineModifierConstructorDescriptionMultipoint(I coordinate, float[] locations, List<CubicSpline<C, I>> values, float[] derivatives, float minValue, float maxValue) Creates an instance of aMultipointrecord class. -
Uses of CubicSpline in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as CubicSplineModifier and TypeFieldDescriptionDensityFunctions.Spline.splineThe field for thesplinerecord component.Fields in net.minecraft.world.level.levelgen with type parameters of type CubicSplineModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate>> DensityFunctions.Spline.SPLINE_CODECMethods in net.minecraft.world.level.levelgen that return CubicSplineModifier and TypeMethodDescriptionDensityFunctions.Spline.spline()Returns the value of thesplinerecord component.Methods in net.minecraft.world.level.levelgen with parameters of type CubicSplineModifier and TypeMethodDescriptionstatic DensityFunctionDensityFunctions.spline(CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate> spline) Constructors in net.minecraft.world.level.levelgen with parameters of type CubicSplineModifierConstructorDescriptionCreates an instance of aSplinerecord class.