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 dyy
  • 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 Ldyy;a:Ldyy;
    • 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 Ldyy;b:Lena;
    • 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 Ldyy;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 Ldyy;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 Ldyy;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 Ldyy;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 Ldyy;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 Ldyy;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 Ldyy;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> Ldyy;<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 Ldyy;a()Ldyy;
    • 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 Ldyy;a(Larm;)Ldyy;
    • 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 Ldyy;a(II)Ldyy$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 Ldyy;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 Ldyy;a(Ldxp$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 Ldyy;a(IIILdyy$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 Ldyy;a(Ldyy$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 Ldyy;a(Lddc;)Lddc;
    • 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 Ldyy;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 Ldyy;a(Larm;Ldua;)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 Ldyy;a(Ldua;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 Ldyy;a(Ldcv;Lduu;)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 Ldyy;a(Ldyz;Ljava/util/Map;)Ldyy$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 Ldyy;a(Ljf;Ldyz;)Ldyy$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 Ldyy;a(DDDDDD)D