Package net.minecraft.world.gen.chunk
Class Blender
java.lang.Object
net.minecraft.world.gen.chunk.Blender
- Mappings:
Namespace Name intermediary net/minecraft/class_6748official dijnamed net/minecraft/world/gen/chunk/Blender
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfacestatic final recordstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final Long2ObjectOpenHashMap<BlendingData>private static final intprivate final Long2ObjectOpenHashMap<BlendingData>private static final intprivate static final doubleprivate static final Blenderprivate static final DoublePerlinNoiseSampler -
Constructor Summary
ConstructorsConstructorDescriptionBlender(Long2ObjectOpenHashMap<BlendingData> blendingData, Long2ObjectOpenHashMap<BlendingData> closeBlendingData) -
Method Summary
Modifier and TypeMethodDescriptiondoubleapplyBlendDensity(DensityFunction.NoisePos pos, double density) private @Nullable RegistryEntry<Biome>blendBiome(int x, int y, int z) calculate(int blockX, int blockZ) static voidcreateCarvingMasks(StructureWorldAccess world, ProtoChunk chunk) static Blender.DistanceFunctioncreateClosestDistanceFunction(@Nullable BlendingData data, Map<EightWayDirection, BlendingData> neighborData) private static Blender.DistanceFunctioncreateDistanceFunction(@Nullable EightWayDirection direction, BlendingData data) getBiomeSupplier(BiomeSupplier biomeSupplier) static BlendergetBlender(@Nullable ChunkRegion chunkRegion) private static doublegetBlendOffset(double height) private static doublegetDistance(double x1, double y1, double z1, double x2, double y2, double z2) static Blenderprivate doublesample(Blender.BlendingSampler sampler, int chunkX, int chunkZ, int biomeX, int biomeY, int biomeZ) private doublesampleClosest(int biomeX, int biomeY, int biomeZ, Blender.BlendingSampler sampler) private static voidtickLeavesAndFluids(Chunk chunk, BlockPos pos) static voidtickLeavesAndFluids(ChunkRegion chunkRegion, Chunk chunk)
-
Field Details
-
NO_BLENDING
- Mappings:
Namespace Name Mixin selector intermediary field_35501Lnet/minecraft/class_6748;field_35501:Lnet/minecraft/class_6748;official aLdij;a:Ldij;named NO_BLENDINGLnet/minecraft/world/gen/chunk/Blender;NO_BLENDING:Lnet/minecraft/world/gen/chunk/Blender;
-
OFFSET_NOISE
- Mappings:
Namespace Name Mixin selector intermediary field_35681Lnet/minecraft/class_6748;field_35681:Lnet/minecraft/class_5216;official bLdij;b:Ldwe;named OFFSET_NOISELnet/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 intermediary field_35502Lnet/minecraft/class_6748;field_35502:Iofficial cLdij;c:Inamed BLENDING_BIOME_DISTANCE_THRESHOLDLnet/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 intermediary field_35503Lnet/minecraft/class_6748;field_35503:Iofficial dLdij;d:Inamed BLENDING_CHUNK_DISTANCE_THRESHOLDLnet/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 intermediary field_35504Lnet/minecraft/class_6748;field_35504:Iofficial eLdij;e:Inamed field_35504Lnet/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 intermediary field_35505Lnet/minecraft/class_6748;field_35505:Iofficial fLdij;f:Inamed CLOSE_BLENDING_DISTANCE_THRESHOLDLnet/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 intermediary field_36224Lnet/minecraft/class_6748;field_36224:Dofficial gLdij;g:Dnamed field_36224Lnet/minecraft/world/gen/chunk/Blender;field_36224:D
-
blendingData
- Mappings:
Namespace Name Mixin selector intermediary field_36343Lnet/minecraft/class_6748;field_36343:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;official hLdij;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;named blendingDataLnet/minecraft/world/gen/chunk/Blender;blendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
closeBlendingData
- Mappings:
Namespace Name Mixin selector intermediary field_36344Lnet/minecraft/class_6748;field_36344:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;official iLdij;i:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;named closeBlendingDataLnet/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 intermediary <init>Lnet/minecraft/class_6748;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)Vofficial <init>Ldij;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)Vnamed <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 intermediary method_39336Lnet/minecraft/class_6748;method_39336()Lnet/minecraft/class_6748;official aLdij;a()Ldij;named getNoBlendingLnet/minecraft/world/gen/chunk/Blender;getNoBlending()Lnet/minecraft/world/gen/chunk/Blender;
-
getBlender
- Mappings:
Namespace Name Mixin selector intermediary method_39342Lnet/minecraft/class_6748;method_39342(Lnet/minecraft/class_3233;)Lnet/minecraft/class_6748;official aLdij;a(Laim;)Ldij;named getBlenderLnet/minecraft/world/gen/chunk/Blender;getBlender(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/chunk/Blender;
-
calculate
- Mappings:
Namespace Name Mixin selector intermediary method_39340Lnet/minecraft/class_6748;method_39340(II)Lnet/minecraft/class_6748$class_6956;official aLdij;a(II)Ldij$a;named calculateLnet/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 intermediary method_39337Lnet/minecraft/class_6748;method_39337(D)Dofficial aLdij;a(D)Dnamed getBlendOffsetLnet/minecraft/world/gen/chunk/Blender;getBlendOffset(D)D
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector intermediary method_39338Lnet/minecraft/class_6748;method_39338(Lnet/minecraft/class_6910$class_6912;D)Dofficial aLdij;a(Ldha$b;D)Dnamed applyBlendDensityLnet/minecraft/world/gen/chunk/Blender;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)D
-
sampleClosest
- Mappings:
Namespace Name Mixin selector intermediary method_39562Lnet/minecraft/class_6748;method_39562(IIILnet/minecraft/class_6748$class_6781;)Dofficial aLdij;a(IIILdij$b;)Dnamed sampleClosestLnet/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 intermediary method_39565Lnet/minecraft/class_6748;method_39565(Lnet/minecraft/class_6748$class_6781;IIIII)Dofficial aLdij;a(Ldij$b;IIIII)Dnamed sampleLnet/minecraft/world/gen/chunk/Blender;sample(Lnet/minecraft/world/gen/chunk/Blender$BlendingSampler;IIIII)D
-
getBiomeSupplier
- Mappings:
Namespace Name Mixin selector intermediary method_39563Lnet/minecraft/class_6748;method_39563(Lnet/minecraft/class_6780;)Lnet/minecraft/class_6780;official aLdij;a(Lcnl;)Lcnl;named getBiomeSupplierLnet/minecraft/world/gen/chunk/Blender;getBiomeSupplier(Lnet/minecraft/world/biome/source/BiomeSupplier;)Lnet/minecraft/world/biome/source/BiomeSupplier;
-
blendBiome
- Mappings:
Namespace Name Mixin selector intermediary method_39561Lnet/minecraft/class_6748;method_39561(III)Lnet/minecraft/class_6880;official aLdij;a(III)Lhe;named blendBiomeLnet/minecraft/world/gen/chunk/Blender;blendBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector intermediary method_39772Lnet/minecraft/class_6748;method_39772(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)Vofficial aLdij;a(Laim;Lddu;)Vnamed tickLeavesAndFluidsLnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)V
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector intermediary method_39773Lnet/minecraft/class_6748;method_39773(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)Vofficial aLdij;a(Lddu;Lgu;)Vnamed tickLeavesAndFluidsLnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;)V
-
createCarvingMasks
- Mappings:
Namespace Name Mixin selector intermediary method_39809Lnet/minecraft/class_6748;method_39809(Lnet/minecraft/class_5281;Lnet/minecraft/class_2839;)Vofficial aLdij;a(Lcne;Ldep;)Vnamed createCarvingMasksLnet/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 intermediary method_39815Lnet/minecraft/class_6748;method_39815(Lnet/minecraft/class_6749;Ljava/util/Map;)Lnet/minecraft/class_6748$class_6831;official aLdij;a(Ldik;Ljava/util/Map;)Ldij$c;named createClosestDistanceFunctionLnet/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 intermediary method_39812Lnet/minecraft/class_6748;method_39812(Lnet/minecraft/class_2355;Lnet/minecraft/class_6749;)Lnet/minecraft/class_6748$class_6831;official aLdij;a(Lhb;Ldik;)Ldij$c;named createDistanceFunctionLnet/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 intermediary method_39808Lnet/minecraft/class_6748;method_39808(DDDDDD)Dofficial aLdij;a(DDDDDD)Dnamed getDistanceLnet/minecraft/world/gen/chunk/Blender;getDistance(DDDDDD)D
-