Package net.minecraft.world.gen.chunk
Class Blender
java.lang.Object
net.minecraft.world.gen.chunk.Blender
- Mappings:
Namespace Name official dijintermediary net/minecraft/class_6748named 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 official aLdij;a:Ldij;intermediary field_35501Lnet/minecraft/class_6748;field_35501:Lnet/minecraft/class_6748;named NO_BLENDINGLnet/minecraft/world/gen/chunk/Blender;NO_BLENDING:Lnet/minecraft/world/gen/chunk/Blender;
-
OFFSET_NOISE
- Mappings:
Namespace Name Mixin selector official bLdij;b:Ldwe;intermediary field_35681Lnet/minecraft/class_6748;field_35681:Lnet/minecraft/class_5216;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 official cLdij;c:Iintermediary field_35502Lnet/minecraft/class_6748;field_35502: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 official dLdij;d:Iintermediary field_35503Lnet/minecraft/class_6748;field_35503: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 official eLdij;e:Iintermediary field_35504Lnet/minecraft/class_6748;field_35504: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 official fLdij;f:Iintermediary field_35505Lnet/minecraft/class_6748;field_35505: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 official gLdij;g:Dintermediary field_36224Lnet/minecraft/class_6748;field_36224:Dnamed field_36224Lnet/minecraft/world/gen/chunk/Blender;field_36224:D
-
blendingData
- Mappings:
Namespace Name Mixin selector official hLdij;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_36343Lnet/minecraft/class_6748;field_36343: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 official iLdij;i:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_36344Lnet/minecraft/class_6748;field_36344: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 official <init>Ldij;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)Vintermediary <init>Lnet/minecraft/class_6748;<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 official aLdij;a()Ldij;intermediary method_39336Lnet/minecraft/class_6748;method_39336()Lnet/minecraft/class_6748;named getNoBlendingLnet/minecraft/world/gen/chunk/Blender;getNoBlending()Lnet/minecraft/world/gen/chunk/Blender;
-
getBlender
- Mappings:
Namespace Name Mixin selector official aLdij;a(Laim;)Ldij;intermediary method_39342Lnet/minecraft/class_6748;method_39342(Lnet/minecraft/class_3233;)Lnet/minecraft/class_6748;named getBlenderLnet/minecraft/world/gen/chunk/Blender;getBlender(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/chunk/Blender;
-
calculate
- Mappings:
Namespace Name Mixin selector official aLdij;a(II)Ldij$a;intermediary method_39340Lnet/minecraft/class_6748;method_39340(II)Lnet/minecraft/class_6748$class_6956;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 official aLdij;a(D)Dintermediary method_39337Lnet/minecraft/class_6748;method_39337(D)Dnamed getBlendOffsetLnet/minecraft/world/gen/chunk/Blender;getBlendOffset(D)D
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector official aLdij;a(Ldha$b;D)Dintermediary method_39338Lnet/minecraft/class_6748;method_39338(Lnet/minecraft/class_6910$class_6912;D)Dnamed applyBlendDensityLnet/minecraft/world/gen/chunk/Blender;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)D
-
sampleClosest
- Mappings:
Namespace Name Mixin selector official aLdij;a(IIILdij$b;)Dintermediary method_39562Lnet/minecraft/class_6748;method_39562(IIILnet/minecraft/class_6748$class_6781;)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 official aLdij;a(Ldij$b;IIIII)Dintermediary method_39565Lnet/minecraft/class_6748;method_39565(Lnet/minecraft/class_6748$class_6781;IIIII)Dnamed sampleLnet/minecraft/world/gen/chunk/Blender;sample(Lnet/minecraft/world/gen/chunk/Blender$BlendingSampler;IIIII)D
-
getBiomeSupplier
- Mappings:
Namespace Name Mixin selector official aLdij;a(Lcnl;)Lcnl;intermediary method_39563Lnet/minecraft/class_6748;method_39563(Lnet/minecraft/class_6780;)Lnet/minecraft/class_6780;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 official aLdij;a(III)Lhe;intermediary method_39561Lnet/minecraft/class_6748;method_39561(III)Lnet/minecraft/class_6880;named blendBiomeLnet/minecraft/world/gen/chunk/Blender;blendBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector official aLdij;a(Laim;Lddu;)Vintermediary method_39772Lnet/minecraft/class_6748;method_39772(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)Vnamed tickLeavesAndFluidsLnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)V
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector official aLdij;a(Lddu;Lgu;)Vintermediary method_39773Lnet/minecraft/class_6748;method_39773(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)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 official aLdij;a(Lcne;Ldep;)Vintermediary method_39809Lnet/minecraft/class_6748;method_39809(Lnet/minecraft/class_5281;Lnet/minecraft/class_2839;)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 official aLdij;a(Ldik;Ljava/util/Map;)Ldij$c;intermediary method_39815Lnet/minecraft/class_6748;method_39815(Lnet/minecraft/class_6749;Ljava/util/Map;)Lnet/minecraft/class_6748$class_6831;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 official aLdij;a(Lhb;Ldik;)Ldij$c;intermediary method_39812Lnet/minecraft/class_6748;method_39812(Lnet/minecraft/class_2355;Lnet/minecraft/class_6749;)Lnet/minecraft/class_6748$class_6831;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 official aLdij;a(DDDDDD)Dintermediary method_39808Lnet/minecraft/class_6748;method_39808(DDDDDD)Dnamed getDistanceLnet/minecraft/world/gen/chunk/Blender;getDistance(DDDDDD)D
-