Class Blender

java.lang.Object
net.minecraft.world.gen.chunk.Blender

public class Blender extends Object
Mappings:
Namespace Name
named net/minecraft/world/gen/chunk/Blender
intermediary net/minecraft/class_6748
official dyx
  • Field Details

    • NO_BLENDING

      private static final Blender NO_BLENDING
      Mappings:
      Namespace Name Mixin selector
      named NO_BLENDING Lnet/minecraft/world/gen/chunk/Blender;NO_BLENDING:Lnet/minecraft/world/gen/chunk/Blender;
      intermediary field_35501 Lnet/minecraft/class_6748;field_35501:Lnet/minecraft/class_6748;
      official a Ldyx;a:Ldyx;
    • OFFSET_NOISE

      private static final DoublePerlinNoiseSampler OFFSET_NOISE
      Mappings:
      Namespace Name Mixin selector
      named OFFSET_NOISE Lnet/minecraft/world/gen/chunk/Blender;OFFSET_NOISE:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
      intermediary field_35681 Lnet/minecraft/class_6748;field_35681:Lnet/minecraft/class_5216;
      official b Ldyx;b:Lemz;
    • BLENDING_BIOME_DISTANCE_THRESHOLD

      private static final int BLENDING_BIOME_DISTANCE_THRESHOLD
      Mappings:
      Namespace Name Mixin selector
      named BLENDING_BIOME_DISTANCE_THRESHOLD Lnet/minecraft/world/gen/chunk/Blender;BLENDING_BIOME_DISTANCE_THRESHOLD:I
      intermediary field_35502 Lnet/minecraft/class_6748;field_35502:I
      official c Ldyx;c:I
    • BLENDING_CHUNK_DISTANCE_THRESHOLD

      private static final int BLENDING_CHUNK_DISTANCE_THRESHOLD
      Mappings:
      Namespace Name Mixin selector
      named BLENDING_CHUNK_DISTANCE_THRESHOLD Lnet/minecraft/world/gen/chunk/Blender;BLENDING_CHUNK_DISTANCE_THRESHOLD:I
      intermediary field_35503 Lnet/minecraft/class_6748;field_35503:I
      official d Ldyx;d:I
    • field_35504

      private static final int field_35504
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35504 Lnet/minecraft/world/gen/chunk/Blender;field_35504:I
      intermediary field_35504 Lnet/minecraft/class_6748;field_35504:I
      official e Ldyx;e:I
    • CLOSE_BLENDING_DISTANCE_THRESHOLD

      private static final int CLOSE_BLENDING_DISTANCE_THRESHOLD
      Mappings:
      Namespace Name Mixin selector
      named CLOSE_BLENDING_DISTANCE_THRESHOLD Lnet/minecraft/world/gen/chunk/Blender;CLOSE_BLENDING_DISTANCE_THRESHOLD:I
      intermediary field_35505 Lnet/minecraft/class_6748;field_35505:I
      official f Ldyx;f:I
    • field_36224

      private static final double field_36224
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36224 Lnet/minecraft/world/gen/chunk/Blender;field_36224:D
      intermediary field_36224 Lnet/minecraft/class_6748;field_36224:D
      official g Ldyx;g:D
    • blendingData

      private final Long2ObjectOpenHashMap<BlendingData> blendingData
      Mappings:
      Namespace Name Mixin selector
      named blendingData Lnet/minecraft/world/gen/chunk/Blender;blendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      intermediary field_36343 Lnet/minecraft/class_6748;field_36343:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      official h Ldyx;h:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
    • closeBlendingData

      private final Long2ObjectOpenHashMap<BlendingData> closeBlendingData
      Mappings:
      Namespace Name Mixin selector
      named closeBlendingData Lnet/minecraft/world/gen/chunk/Blender;closeBlendingData:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      intermediary field_36344 Lnet/minecraft/class_6748;field_36344:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      official i Ldyx;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;)V
      intermediary <init> Lnet/minecraft/class_6748;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
      official <init> Ldyx;<init>(Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;)V
  • Method Details

    • getNoBlending

      public static Blender getNoBlending()
      Mappings:
      Namespace Name Mixin selector
      named getNoBlending Lnet/minecraft/world/gen/chunk/Blender;getNoBlending()Lnet/minecraft/world/gen/chunk/Blender;
      intermediary method_39336 Lnet/minecraft/class_6748;method_39336()Lnet/minecraft/class_6748;
      official a Ldyx;a()Ldyx;
    • getBlender

      public static Blender getBlender(@Nullable @Nullable ChunkRegion chunkRegion)
      Mappings:
      Namespace Name Mixin selector
      named getBlender Lnet/minecraft/world/gen/chunk/Blender;getBlender(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/chunk/Blender;
      intermediary method_39342 Lnet/minecraft/class_6748;method_39342(Lnet/minecraft/class_3233;)Lnet/minecraft/class_6748;
      official a Ldyx;a(Larm;)Ldyx;
    • calculate

      public Blender.BlendResult calculate(int blockX, int blockZ)
      Mappings:
      Namespace Name Mixin selector
      named calculate Lnet/minecraft/world/gen/chunk/Blender;calculate(II)Lnet/minecraft/world/gen/chunk/Blender$BlendResult;
      intermediary method_39340 Lnet/minecraft/class_6748;method_39340(II)Lnet/minecraft/class_6748$class_6956;
      official a Ldyx;a(II)Ldyx$a;
    • getBlendOffset

      private static double getBlendOffset(double height)
      Mappings:
      Namespace Name Mixin selector
      named getBlendOffset Lnet/minecraft/world/gen/chunk/Blender;getBlendOffset(D)D
      intermediary method_39337 Lnet/minecraft/class_6748;method_39337(D)D
      official a Ldyx;a(D)D
    • applyBlendDensity

      public double applyBlendDensity(DensityFunction.NoisePos pos, double density)
      Mappings:
      Namespace Name Mixin selector
      named applyBlendDensity Lnet/minecraft/world/gen/chunk/Blender;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;D)D
      intermediary method_39338 Lnet/minecraft/class_6748;method_39338(Lnet/minecraft/class_6910$class_6912;D)D
      official a Ldyx;a(Ldxo$b;D)D
    • sampleClosest

      private double sampleClosest(int biomeX, int biomeY, int biomeZ, Blender.BlendingSampler sampler)
      Mappings:
      Namespace Name Mixin selector
      named sampleClosest Lnet/minecraft/world/gen/chunk/Blender;sampleClosest(IIILnet/minecraft/world/gen/chunk/Blender$BlendingSampler;)D
      intermediary method_39562 Lnet/minecraft/class_6748;method_39562(IIILnet/minecraft/class_6748$class_6781;)D
      official a Ldyx;a(IIILdyx$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 sample Lnet/minecraft/world/gen/chunk/Blender;sample(Lnet/minecraft/world/gen/chunk/Blender$BlendingSampler;IIIII)D
      intermediary method_39565 Lnet/minecraft/class_6748;method_39565(Lnet/minecraft/class_6748$class_6781;IIIII)D
      official a Ldyx;a(Ldyx$b;IIIII)D
    • getBiomeSupplier

      public BiomeSupplier getBiomeSupplier(BiomeSupplier biomeSupplier)
      Mappings:
      Namespace Name Mixin selector
      named getBiomeSupplier Lnet/minecraft/world/gen/chunk/Blender;getBiomeSupplier(Lnet/minecraft/world/biome/source/BiomeSupplier;)Lnet/minecraft/world/biome/source/BiomeSupplier;
      intermediary method_39563 Lnet/minecraft/class_6748;method_39563(Lnet/minecraft/class_6780;)Lnet/minecraft/class_6780;
      official a Ldyx;a(Lddb;)Lddb;
    • blendBiome

      @Nullable private @Nullable RegistryEntry<Biome> blendBiome(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named blendBiome Lnet/minecraft/world/gen/chunk/Blender;blendBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_39561 Lnet/minecraft/class_6748;method_39561(III)Lnet/minecraft/class_6880;
      official a Ldyx;a(III)Lji;
    • tickLeavesAndFluids

      public static void tickLeavesAndFluids(ChunkRegion chunkRegion, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named tickLeavesAndFluids Lnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)V
      intermediary method_39772 Lnet/minecraft/class_6748;method_39772(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)V
      official a Ldyx;a(Larm;Ldtz;)V
    • tickLeavesAndFluids

      private static void tickLeavesAndFluids(Chunk chunk, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named tickLeavesAndFluids Lnet/minecraft/world/gen/chunk/Blender;tickLeavesAndFluids(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_39773 Lnet/minecraft/class_6748;method_39773(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)V
      official a Ldyx;a(Ldtz;Liz;)V
    • createCarvingMasks

      public static void createCarvingMasks(StructureWorldAccess world, ProtoChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named createCarvingMasks Lnet/minecraft/world/gen/chunk/Blender;createCarvingMasks(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/chunk/ProtoChunk;)V
      intermediary method_39809 Lnet/minecraft/class_6748;method_39809(Lnet/minecraft/class_5281;Lnet/minecraft/class_2839;)V
      official a Ldyx;a(Ldcu;Ldut;)V
    • createClosestDistanceFunction

      public static Blender.DistanceFunction createClosestDistanceFunction(@Nullable @Nullable BlendingData data, Map<EightWayDirection,BlendingData> neighborData)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_39815 Lnet/minecraft/class_6748;method_39815(Lnet/minecraft/class_6749;Ljava/util/Map;)Lnet/minecraft/class_6748$class_6831;
      official a Ldyx;a(Ldyy;Ljava/util/Map;)Ldyx$c;
    • createDistanceFunction

      private static Blender.DistanceFunction createDistanceFunction(@Nullable @Nullable EightWayDirection direction, BlendingData data)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_39812 Lnet/minecraft/class_6748;method_39812(Lnet/minecraft/class_2355;Lnet/minecraft/class_6749;)Lnet/minecraft/class_6748$class_6831;
      official a Ldyx;a(Ljf;Ldyy;)Ldyx$c;
    • getDistance

      private static double getDistance(double x1, double y1, double z1, double x2, double y2, double z2)
      Mappings:
      Namespace Name Mixin selector
      named getDistance Lnet/minecraft/world/gen/chunk/Blender;getDistance(DDDDDD)D
      intermediary method_39808 Lnet/minecraft/class_6748;method_39808(DDDDDD)D
      official a Ldyx;a(DDDDDD)D