Class Blender
java.lang.Object
net.minecraft.world.level.levelgen.blending.Blender
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final record(package private) static interfacestatic interface
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData>private static final Blenderprivate static final intprivate static final intprivate final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData>private static final doubleprivate static final NormalNoise
- 
Constructor SummaryConstructorsConstructorDescriptionBlender(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData> p_202197_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData> p_202198_) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddAroundOldChunksCarvingMaskFilter(WorldGenLevel p_197035_, ProtoChunk p_197036_) blendBiome(int p_224707_, int p_224708_, int p_224709_) doubleblendDensity(DensityFunction.FunctionContext p_209721_, double p_209722_) blendOffsetAndFactor(int p_209719_, int p_209720_) private static doubledistanceToCube(double p_197025_, double p_197026_, double p_197027_, double p_197028_, double p_197029_, double p_197030_) static Blenderempty()private static voidgenerateBorderTick(ChunkAccess p_197041_, BlockPos p_197042_) static voidgenerateBorderTicks(WorldGenRegion p_197032_, ChunkAccess p_197033_) getBiomeResolver(BiomeResolver p_190204_) private doublegetBlendingDataValue(int p_190175_, int p_190176_, int p_190177_, Blender.CellValueGetter p_190178_) private doublegetBlendingDataValue(Blender.CellValueGetter p_190212_, int p_190213_, int p_190214_, int p_190215_, int p_190216_, int p_190217_) private static doubleheightToOffset(double p_190155_) private static Blender.DistanceGettermakeOffsetOldChunkDistanceGetter(Direction8 p_224730_, BlendingData p_224731_) static Blender.DistanceGettermakeOldChunkDistanceGetter(BlendingData p_224727_, Map<Direction8, BlendingData> p_224728_) static Blenderof(WorldGenRegion p_190203_) 
- 
Field Details- 
EMPTY
- 
SHIFT_NOISE
- 
HEIGHT_BLENDING_RANGE_CELLSprivate static final int HEIGHT_BLENDING_RANGE_CELLS
- 
HEIGHT_BLENDING_RANGE_CHUNKSprivate static final int HEIGHT_BLENDING_RANGE_CHUNKS
- 
DENSITY_BLENDING_RANGE_CELLSprivate static final int DENSITY_BLENDING_RANGE_CELLS- See Also:
 
- 
DENSITY_BLENDING_RANGE_CHUNKSprivate static final int DENSITY_BLENDING_RANGE_CHUNKS
- 
OLD_CHUNK_XZ_RADIUSprivate static final double OLD_CHUNK_XZ_RADIUS- See Also:
 
- 
heightAndBiomeBlendingDataprivate final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData> heightAndBiomeBlendingData
- 
densityBlendingData
 
- 
- 
Constructor Details- 
BlenderBlender(it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData> p_202197_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlendingData> p_202198_) 
 
- 
- 
Method Details- 
empty
- 
of
- 
blendOffsetAndFactor
- 
heightToOffsetprivate static double heightToOffset(double p_190155_) 
- 
blendDensity
- 
getBlendingDataValueprivate double getBlendingDataValue(int p_190175_, int p_190176_, int p_190177_, Blender.CellValueGetter p_190178_) 
- 
getBlendingDataValueprivate double getBlendingDataValue(Blender.CellValueGetter p_190212_, int p_190213_, int p_190214_, int p_190215_, int p_190216_, int p_190217_) 
- 
getBiomeResolver
- 
blendBiome
- 
generateBorderTicks
- 
generateBorderTick
- 
addAroundOldChunksCarvingMaskFilterpublic static void addAroundOldChunksCarvingMaskFilter(WorldGenLevel p_197035_, ProtoChunk p_197036_) 
- 
makeOldChunkDistanceGetterpublic static Blender.DistanceGetter makeOldChunkDistanceGetter(@Nullable BlendingData p_224727_, Map<Direction8, BlendingData> p_224728_) 
- 
makeOffsetOldChunkDistanceGetterprivate static Blender.DistanceGetter makeOffsetOldChunkDistanceGetter(@Nullable Direction8 p_224730_, BlendingData p_224731_) 
- 
distanceToCubeprivate static double distanceToCube(double p_197025_, double p_197026_, double p_197027_, double p_197028_, double p_197029_, double p_197030_) 
 
-