Package net.minecraft.world.gen.chunk
Class Blender
java.lang.Object
net.minecraft.world.gen.chunk.Blender
- Mappings:
Namespace Name named net/minecraft/world/gen/chunk/Blenderintermediary net/minecraft/class_6748official eaa
-
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 named NO_BLENDINGLnet/minecraft/world/gen/chunk/Blender;NO_BLENDING:Lnet/minecraft/world/gen/chunk/Blender;intermediary field_35501Lnet/minecraft/class_6748;field_35501:Lnet/minecraft/class_6748;official aLeaa;a:Leaa;
-
OFFSET_NOISE
- Mappings:
Namespace Name Mixin selector named OFFSET_NOISELnet/minecraft/world/gen/chunk/Blender;OFFSET_NOISE:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;intermediary field_35681Lnet/minecraft/class_6748;field_35681:Lnet/minecraft/class_5216;official bLeaa;b:Leoh;
-
BLENDING_BIOME_DISTANCE_THRESHOLD
private static final int BLENDING_BIOME_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector named BLENDING_BIOME_DISTANCE_THRESHOLDLnet/minecraft/world/gen/chunk/Blender;BLENDING_BIOME_DISTANCE_THRESHOLD:Iintermediary field_35502Lnet/minecraft/class_6748;field_35502:Iofficial cLeaa;c:I
-
BLENDING_CHUNK_DISTANCE_THRESHOLD
private static final int BLENDING_CHUNK_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector named BLENDING_CHUNK_DISTANCE_THRESHOLDLnet/minecraft/world/gen/chunk/Blender;BLENDING_CHUNK_DISTANCE_THRESHOLD:Iintermediary field_35503Lnet/minecraft/class_6748;field_35503:Iofficial dLeaa;d:I
-
field_35504
private static final int field_35504- See Also:
- Mappings:
Namespace Name Mixin selector named field_35504Lnet/minecraft/world/gen/chunk/Blender;field_35504:Iintermediary field_35504Lnet/minecraft/class_6748;field_35504:Iofficial eLeaa;e:I
-
CLOSE_BLENDING_DISTANCE_THRESHOLD
private static final int CLOSE_BLENDING_DISTANCE_THRESHOLD- Mappings:
Namespace Name Mixin selector named CLOSE_BLENDING_DISTANCE_THRESHOLDLnet/minecraft/world/gen/chunk/Blender;CLOSE_BLENDING_DISTANCE_THRESHOLD:Iintermediary field_35505Lnet/minecraft/class_6748;field_35505:Iofficial fLeaa;f:I
-
field_36224
private static final double field_36224- See Also:
- Mappings:
Namespace Name Mixin selector named field_36224Lnet/minecraft/world/gen/chunk/Blender;field_36224:Dintermediary field_36224Lnet/minecraft/class_6748;field_36224:Dofficial gLeaa;g:D
-
blendingData
- Mappings:
Namespace Name Mixin selector named blendingDataLnet/minecraft/world/gen/chunk/Blender;blendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_36343Lnet/minecraft/class_6748;field_36343:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;official hLeaa;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
closeBlendingData
- Mappings:
Namespace Name Mixin selector named closeBlendingDataLnet/minecraft/world/gen/chunk/Blender;closeBlendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;intermediary field_36344Lnet/minecraft/class_6748;field_36344:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;official iLeaa;i:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
-
-
Constructor Details
-
Blender
Blender(Long2ObjectOpenHashMap<BlendingData> blendingData, Long2ObjectOpenHashMap<BlendingData> closeBlendingData) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/chunk/Blender;<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;)Vofficial <init>Leaa;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
-
-
Method Details
-
getNoBlending
- Mappings:
Namespace Name Mixin selector named getNoBlendingLnet/minecraft/world/gen/chunk/Blender;getNoBlending()Lnet/minecraft/world/gen/chunk/Blender;intermediary method_39336Lnet/minecraft/class_6748;method_39336()Lnet/minecraft/class_6748;official aLeaa;a()Leaa;
-
getBlender
- Mappings:
Namespace Name Mixin selector named getBlenderLnet/minecraft/world/gen/chunk/Blender;getBlender(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/chunk/Blender;intermediary method_39342Lnet/minecraft/class_6748;method_39342(Lnet/minecraft/class_3233;)Lnet/minecraft/class_6748;official aLeaa;a(Larb;)Leaa;
-
calculate
- Mappings:
Namespace Name Mixin selector named calculateLnet/minecraft/world/gen/chunk/Blender;calculate(II)Lnet/minecraft/world/gen/chunk/Blender$BlendResult;intermediary method_39340Lnet/minecraft/class_6748;method_39340(II)Lnet/minecraft/class_6748$class_6956;official aLeaa;a(II)Leaa$a;
-
getBlendOffset
private static double getBlendOffset(double height) - Mappings:
Namespace Name Mixin selector named getBlendOffsetLnet/minecraft/world/gen/chunk/Blender;getBlendOffset(D)Dintermediary method_39337Lnet/minecraft/class_6748;method_39337(D)Dofficial aLeaa;a(D)D
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector named applyBlendDensityLnet/minecraft/world/gen/chunk/Blender;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)Dintermediary method_39338Lnet/minecraft/class_6748;method_39338(Lnet/minecraft/class_6910$class_6912;D)Dofficial aLeaa;a(Ldyr$b;D)D
-
sampleClosest
- Mappings:
Namespace Name Mixin selector named sampleClosestLnet/minecraft/world/gen/chunk/Blender;sampleClosest(IIILnet/minecraft/world/gen/chunk/Blender$BlendingSampler;)Dintermediary method_39562Lnet/minecraft/class_6748;method_39562(IIILnet/minecraft/class_6748$class_6781;)Dofficial aLeaa;a(IIILeaa$b;)D
-
sample
private double sample(Blender.BlendingSampler sampler, int chunkX, int chunkZ, int biomeX, int biomeY, int biomeZ) - Mappings:
Namespace Name Mixin selector named sampleLnet/minecraft/world/gen/chunk/Blender;sample(Lnet/minecraft/world/gen/chunk/Blender$BlendingSampler;IIIII)Dintermediary method_39565Lnet/minecraft/class_6748;method_39565(Lnet/minecraft/class_6748$class_6781;IIIII)Dofficial aLeaa;a(Leaa$b;IIIII)D
-
getBiomeSupplier
- Mappings:
Namespace Name Mixin selector named getBiomeSupplierLnet/minecraft/world/gen/chunk/Blender;getBiomeSupplier(Lnet/minecraft/world/biome/source/BiomeSupplier;)Lnet/minecraft/world/biome/source/BiomeSupplier;intermediary method_39563Lnet/minecraft/class_6748;method_39563(Lnet/minecraft/class_6780;)Lnet/minecraft/class_6780;official aLeaa;a(Lddz;)Lddz;
-
blendBiome
- Mappings:
Namespace Name Mixin selector named blendBiomeLnet/minecraft/world/gen/chunk/Blender;blendBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_39561Lnet/minecraft/class_6748;method_39561(III)Lnet/minecraft/class_6880;official aLeaa;a(III)Ljm;
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector named tickLeavesAndFluidsLnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)Vintermediary method_39772Lnet/minecraft/class_6748;method_39772(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)Vofficial aLeaa;a(Larb;Lduy;)V
-
tickLeavesAndFluids
- Mappings:
Namespace Name Mixin selector named tickLeavesAndFluidsLnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_39773Lnet/minecraft/class_6748;method_39773(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)Vofficial aLeaa;a(Lduy;Ljd;)V
-
createCarvingMasks
- Mappings:
Namespace Name Mixin selector named createCarvingMasksLnet/minecraft/world/gen/chunk/Blender;createCarvingMasks(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/chunk/ProtoChunk;)Vintermediary method_39809Lnet/minecraft/class_6748;method_39809(Lnet/minecraft/class_5281;Lnet/minecraft/class_2839;)Vofficial aLeaa;a(Ldds;Ldvs;)V
-
createClosestDistanceFunction
public static Blender.DistanceFunction createClosestDistanceFunction(@Nullable @Nullable BlendingData data, Map<EightWayDirection, BlendingData> neighborData) - Mappings:
Namespace Name Mixin selector named createClosestDistanceFunctionLnet/minecraft/world/gen/chunk/Blender;createClosestDistanceFunction(Lnet/minecraft/world/gen/chunk/BlendingData;Ljava/util/Map;)Lnet/minecraft/world/gen/chunk/Blender$DistanceFunction;intermediary method_39815Lnet/minecraft/class_6748;method_39815(Lnet/minecraft/class_6749;Ljava/util/Map;)Lnet/minecraft/class_6748$class_6831;official aLeaa;a(Leab;Ljava/util/Map;)Leaa$c;
-
createDistanceFunction
private static Blender.DistanceFunction createDistanceFunction(@Nullable @Nullable EightWayDirection direction, BlendingData data) - Mappings:
Namespace Name Mixin selector 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;intermediary method_39812Lnet/minecraft/class_6748;method_39812(Lnet/minecraft/class_2355;Lnet/minecraft/class_6749;)Lnet/minecraft/class_6748$class_6831;official aLeaa;a(Ljj;Leab;)Leaa$c;
-
getDistance
private static double getDistance(double x1, double y1, double z1, double x2, double y2, double z2) - Mappings:
Namespace Name Mixin selector named getDistanceLnet/minecraft/world/gen/chunk/Blender;getDistance(DDDDDD)Dintermediary method_39808Lnet/minecraft/class_6748;method_39808(DDDDDD)Dofficial aLeaa;a(DDDDDD)D
-