Package net.minecraft.world.gen.chunk
Class Blender
java.lang.Object
net.minecraft.world.gen.chunk.Blender
- Mappings:
Namespace Name official dfd
intermediary net/minecraft/class_6748
named net/minecraft/world/gen/chunk/Blender
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
static final record
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final Long2ObjectOpenHashMap<BlendingData>
private static final int
private final Long2ObjectOpenHashMap<BlendingData>
private static final int
private static final double
private static final Blender
private static final DoublePerlinNoiseSampler
-
Constructor Summary
ConstructorDescriptionBlender
(Long2ObjectOpenHashMap<BlendingData> blendingData, Long2ObjectOpenHashMap<BlendingData> closeBlendingData) -
Method Summary
Modifier and TypeMethodDescriptiondouble
applyBlendDensity
(DensityFunction.NoisePos pos, double density) private @Nullable RegistryEntry<Biome>
blendBiome
(int x, int y, int z) calculate
(int blockX, int blockZ) static void
createCarvingMasks
(StructureWorldAccess world, ProtoChunk chunk) static Blender.DistanceFunction
createClosestDistanceFunction
(@Nullable BlendingData data, Map<EightWayDirection, BlendingData> neighborData) private static Blender.DistanceFunction
createDistanceFunction
(@Nullable EightWayDirection direction, BlendingData data) getBiomeSupplier
(BiomeSupplier biomeSupplier) static Blender
getBlender
(@Nullable ChunkRegion chunkRegion) private static double
getBlendOffset
(double height) private static double
getDistance
(double x1, double y1, double z1, double x2, double y2, double z2) static Blender
private double
sample
(Blender.BlendingSampler sampler, int chunkX, int chunkZ, int biomeX, int biomeY, int biomeZ) private double
sampleClosest
(int biomeX, int biomeY, int biomeZ, Blender.BlendingSampler sampler) private static void
tickLeavesAndFluids
(Chunk chunk, BlockPos pos) static void
tickLeavesAndFluids
(ChunkRegion chunkRegion, Chunk chunk)
-
Field Details
-
NO_BLENDING
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a:Ldfd;
intermediary field_35501
Lnet/minecraft/class_6748;field_35501:Lnet/minecraft/class_6748;
named NO_BLENDING
Lnet/minecraft/world/gen/chunk/Blender;NO_BLENDING:Lnet/minecraft/world/gen/chunk/Blender;
-
OFFSET_NOISE
- Mappings:
Namespace Name Mixin selector official b
Ldfd;b:Ldso;
intermediary field_35681
Lnet/minecraft/class_6748;field_35681:Lnet/minecraft/class_5216;
named OFFSET_NOISE
Lnet/minecraft/world/gen/chunk/Blender;OFFSET_NOISE:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
-
BLENDING_BIOME_DISTANCE_THRESHOLD
private static final int BLENDING_BIOME_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector official c
Ldfd;c:I
intermediary field_35502
Lnet/minecraft/class_6748;field_35502:I
named BLENDING_BIOME_DISTANCE_THRESHOLD
Lnet/minecraft/world/gen/chunk/Blender;BLENDING_BIOME_DISTANCE_THRESHOLD:I
-
BLENDING_CHUNK_DISTANCE_THRESHOLD
private static final int BLENDING_CHUNK_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector official d
Ldfd;d:I
intermediary field_35503
Lnet/minecraft/class_6748;field_35503:I
named BLENDING_CHUNK_DISTANCE_THRESHOLD
Lnet/minecraft/world/gen/chunk/Blender;BLENDING_CHUNK_DISTANCE_THRESHOLD:I
-
field_35504
private static final int field_35504- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldfd;e:I
intermediary field_35504
Lnet/minecraft/class_6748;field_35504:I
named field_35504
Lnet/minecraft/world/gen/chunk/Blender;field_35504:I
-
CLOSE_BLENDING_DISTANCE_THRESHOLD
private static final int CLOSE_BLENDING_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector official f
Ldfd;f:I
intermediary field_35505
Lnet/minecraft/class_6748;field_35505:I
named CLOSE_BLENDING_DISTANCE_THRESHOLD
Lnet/minecraft/world/gen/chunk/Blender;CLOSE_BLENDING_DISTANCE_THRESHOLD:I
-
field_36224
private static final double field_36224- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldfd;g:D
intermediary field_36224
Lnet/minecraft/class_6748;field_36224:D
named field_36224
Lnet/minecraft/world/gen/chunk/Blender;field_36224:D
-
blendingData
- Mappings:
Namespace Name Mixin selector official h
Ldfd;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
intermediary field_36343
Lnet/minecraft/class_6748;field_36343:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
named blendingData
Lnet/minecraft/world/gen/chunk/Blender;blendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
closeBlendingData
- Mappings:
Namespace Name Mixin selector official i
Ldfd;i:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
intermediary field_36344
Lnet/minecraft/class_6748;field_36344:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
named closeBlendingData
Lnet/minecraft/world/gen/chunk/Blender;closeBlendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
Blender
Blender(Long2ObjectOpenHashMap<BlendingData> blendingData, Long2ObjectOpenHashMap<BlendingData> closeBlendingData) - Mappings:
Namespace Name Mixin selector official <init>
Ldfd;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
intermediary <init>
Lnet/minecraft/class_6748;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
named <init>
Lnet/minecraft/world/gen/chunk/Blender;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
-
-
Method Details
-
getNoBlending
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a()Ldfd;
intermediary method_39336
Lnet/minecraft/class_6748;method_39336()Lnet/minecraft/class_6748;
named getNoBlending
Lnet/minecraft/world/gen/chunk/Blender;getNoBlending()Lnet/minecraft/world/gen/chunk/Blender;
-
getBlender
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Laht;)Ldfd;
intermediary method_39342
Lnet/minecraft/class_6748;method_39342(Lnet/minecraft/class_3233;)Lnet/minecraft/class_6748;
named getBlender
Lnet/minecraft/world/gen/chunk/Blender;getBlender(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/chunk/Blender;
-
calculate
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(II)Ldfd$a;
intermediary method_39340
Lnet/minecraft/class_6748;method_39340(II)Lnet/minecraft/class_6748$class_6956;
named calculate
Lnet/minecraft/world/gen/chunk/Blender;calculate(II)Lnet/minecraft/world/gen/chunk/Blender$BlendResult;
-
getBlendOffset
private static double getBlendOffset(double height) - Mappings:
Namespace Name Mixin selector official a
Ldfd;a(D)D
intermediary method_39337
Lnet/minecraft/class_6748;method_39337(D)D
named getBlendOffset
Lnet/minecraft/world/gen/chunk/Blender;getBlendOffset(D)D
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Lddu$b;D)D
intermediary method_39338
Lnet/minecraft/class_6748;method_39338(Lnet/minecraft/class_6910$class_6912;D)D
named applyBlendDensity
Lnet/minecraft/world/gen/chunk/Blender;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)D
-
sampleClosest
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(IIILdfd$b;)D
intermediary method_39562
Lnet/minecraft/class_6748;method_39562(IIILnet/minecraft/class_6748$class_6781;)D
named sampleClosest
Lnet/minecraft/world/gen/chunk/Blender;sampleClosest(IIILnet/minecraft/world/gen/chunk/Blender$BlendingSampler;)D
-
sample
private double sample(Blender.BlendingSampler sampler, int chunkX, int chunkZ, int biomeX, int biomeY, int biomeZ) - Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Ldfd$b;IIIII)D
intermediary method_39565
Lnet/minecraft/class_6748;method_39565(Lnet/minecraft/class_6748$class_6781;IIIII)D
named sample
Lnet/minecraft/world/gen/chunk/Blender;sample(Lnet/minecraft/world/gen/chunk/Blender$BlendingSampler;IIIII)D
-
getBiomeSupplier
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Lckw;)Lckw;
intermediary method_39563
Lnet/minecraft/class_6748;method_39563(Lnet/minecraft/class_6780;)Lnet/minecraft/class_6780;
named getBiomeSupplier
Lnet/minecraft/world/gen/chunk/Blender;getBiomeSupplier(Lnet/minecraft/world/biome/source/BiomeSupplier;)Lnet/minecraft/world/biome/source/BiomeSupplier;
-
blendBiome
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(III)Lgz;
intermediary method_39561
Lnet/minecraft/class_6748;method_39561(III)Lnet/minecraft/class_6880;
named blendBiome
Lnet/minecraft/world/gen/chunk/Blender;blendBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Laht;Ldap;)V
intermediary method_39772
Lnet/minecraft/class_6748;method_39772(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)V
named tickLeavesAndFluids
Lnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)V
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Ldap;Lgp;)V
intermediary method_39773
Lnet/minecraft/class_6748;method_39773(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)V
named tickLeavesAndFluids
Lnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;)V
-
createCarvingMasks
- Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Lckp;Ldbj;)V
intermediary method_39809
Lnet/minecraft/class_6748;method_39809(Lnet/minecraft/class_5281;Lnet/minecraft/class_2839;)V
named createCarvingMasks
Lnet/minecraft/world/gen/chunk/Blender;createCarvingMasks(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/chunk/ProtoChunk;)V
-
createClosestDistanceFunction
public static Blender.DistanceFunction createClosestDistanceFunction(@Nullable @Nullable BlendingData data, Map<EightWayDirection, BlendingData> neighborData) - Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Ldfe;Ljava/util/Map;)Ldfd$c;
intermediary method_39815
Lnet/minecraft/class_6748;method_39815(Lnet/minecraft/class_6749;Ljava/util/Map;)Lnet/minecraft/class_6748$class_6831;
named createClosestDistanceFunction
Lnet/minecraft/world/gen/chunk/Blender;createClosestDistanceFunction(Lnet/minecraft/world/gen/chunk/BlendingData;Ljava/util/Map;)Lnet/minecraft/world/gen/chunk/Blender$DistanceFunction;
-
createDistanceFunction
private static Blender.DistanceFunction createDistanceFunction(@Nullable @Nullable EightWayDirection direction, BlendingData data) - Mappings:
Namespace Name Mixin selector official a
Ldfd;a(Lgw;Ldfe;)Ldfd$c;
intermediary method_39812
Lnet/minecraft/class_6748;method_39812(Lnet/minecraft/class_2355;Lnet/minecraft/class_6749;)Lnet/minecraft/class_6748$class_6831;
named createDistanceFunction
Lnet/minecraft/world/gen/chunk/Blender;createDistanceFunction(Lnet/minecraft/util/math/EightWayDirection;Lnet/minecraft/world/gen/chunk/BlendingData;)Lnet/minecraft/world/gen/chunk/Blender$DistanceFunction;
-
getDistance
private static double getDistance(double x1, double y1, double z1, double x2, double y2, double z2) - Mappings:
Namespace Name Mixin selector official a
Ldfd;a(DDDDDD)D
intermediary method_39808
Lnet/minecraft/class_6748;method_39808(DDDDDD)D
named getDistance
Lnet/minecraft/world/gen/chunk/Blender;getDistance(DDDDDD)D
-