Class BlendingData

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

public class BlendingData extends Object
Mappings:
Namespace Name
named net/minecraft/world/gen/chunk/BlendingData
intermediary net/minecraft/class_6749
official dzj
  • Field Details

    • field_35514

      private static final double field_35514
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35514 Lnet/minecraft/world/gen/chunk/BlendingData;field_35514:D
      intermediary field_35514 Lnet/minecraft/class_6749;field_35514:D
      official f Ldzj;f:D
    • field_36280

      protected static final int field_36280
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36280 Lnet/minecraft/world/gen/chunk/BlendingData;field_36280:I
      intermediary field_36280 Lnet/minecraft/class_6749;field_36280:I
      official a Ldzj;a:I
    • field_35511

      protected static final int field_35511
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35511 Lnet/minecraft/world/gen/chunk/BlendingData;field_35511:I
      intermediary field_35511 Lnet/minecraft/class_6749;field_35511:I
      official b Ldzj;b:I
    • field_36281

      protected static final int field_36281
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36281 Lnet/minecraft/world/gen/chunk/BlendingData;field_36281:I
      intermediary field_36281 Lnet/minecraft/class_6749;field_36281:I
      official c Ldzj;c:I
    • field_37704

      private static final double field_37704
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_37704 Lnet/minecraft/world/gen/chunk/BlendingData;field_37704:D
      intermediary field_37704 Lnet/minecraft/class_6749;field_37704:D
      official g Ldzj;g:D
    • field_37705

      private static final double field_37705
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_37705 Lnet/minecraft/world/gen/chunk/BlendingData;field_37705:D
      intermediary field_37705 Lnet/minecraft/class_6749;field_37705:D
      official h Ldzj;h:D
    • field_35516

      private static final int field_35516
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35516 Lnet/minecraft/world/gen/chunk/BlendingData;field_35516:I
      intermediary field_35516 Lnet/minecraft/class_6749;field_35516:I
      official i Ldzj;i:I
    • BIOMES_PER_CHUNK

      private static final int BIOMES_PER_CHUNK
      Mappings:
      Namespace Name Mixin selector
      named BIOMES_PER_CHUNK Lnet/minecraft/world/gen/chunk/BlendingData;BIOMES_PER_CHUNK:I
      intermediary field_35683 Lnet/minecraft/class_6749;field_35683:I
      official j Ldzj;j:I
    • LAST_CHUNK_BIOME_INDEX

      private static final int LAST_CHUNK_BIOME_INDEX
      Mappings:
      Namespace Name Mixin selector
      named LAST_CHUNK_BIOME_INDEX Lnet/minecraft/world/gen/chunk/BlendingData;LAST_CHUNK_BIOME_INDEX:I
      intermediary field_35684 Lnet/minecraft/class_6749;field_35684:I
      official k Ldzj;k:I
    • CHUNK_BIOME_END_INDEX

      private static final int CHUNK_BIOME_END_INDEX
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_BIOME_END_INDEX Lnet/minecraft/world/gen/chunk/BlendingData;CHUNK_BIOME_END_INDEX:I
      intermediary field_35685 Lnet/minecraft/class_6749;field_35685:I
      official l Ldzj;l:I
    • NORTH_WEST_END_INDEX

      private static final int NORTH_WEST_END_INDEX
      Mappings:
      Namespace Name Mixin selector
      named NORTH_WEST_END_INDEX Lnet/minecraft/world/gen/chunk/BlendingData;NORTH_WEST_END_INDEX:I
      intermediary field_35686 Lnet/minecraft/class_6749;field_35686:I
      official m Ldzj;m:I
    • SOUTH_EAST_END_INDEX_PART

      private static final int SOUTH_EAST_END_INDEX_PART
      Mappings:
      Namespace Name Mixin selector
      named SOUTH_EAST_END_INDEX_PART Lnet/minecraft/world/gen/chunk/BlendingData;SOUTH_EAST_END_INDEX_PART:I
      intermediary field_35687 Lnet/minecraft/class_6749;field_35687:I
      official n Ldzj;n:I
    • HORIZONTAL_BIOME_COUNT

      private static final int HORIZONTAL_BIOME_COUNT
      Mappings:
      Namespace Name Mixin selector
      named HORIZONTAL_BIOME_COUNT Lnet/minecraft/world/gen/chunk/BlendingData;HORIZONTAL_BIOME_COUNT:I
      intermediary field_35518 Lnet/minecraft/class_6749;field_35518:I
      official o Ldzj;o:I
    • SURFACE_BLOCKS

      private static final List<Block> SURFACE_BLOCKS
      Mappings:
      Namespace Name Mixin selector
      named SURFACE_BLOCKS Lnet/minecraft/world/gen/chunk/BlendingData;SURFACE_BLOCKS:Ljava/util/List;
      intermediary field_35519 Lnet/minecraft/class_6749;field_35519:Ljava/util/List;
      official q Ldzj;q:Ljava/util/List;
    • field_35513

      protected static final double field_35513
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35513 Lnet/minecraft/world/gen/chunk/BlendingData;field_35513:D
      intermediary field_35513 Lnet/minecraft/class_6749;field_35513:D
      official d Ldzj;d:D
    • DOUBLE_ARRAY_CODEC

      private static final com.mojang.serialization.Codec<double[]> DOUBLE_ARRAY_CODEC
      Mappings:
      Namespace Name Mixin selector
      named DOUBLE_ARRAY_CODEC Lnet/minecraft/world/gen/chunk/BlendingData;DOUBLE_ARRAY_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_35695 Lnet/minecraft/class_6749;field_35695:Lcom/mojang/serialization/Codec;
      official v Ldzj;v:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<BlendingData> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/chunk/BlendingData;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_35682 Lnet/minecraft/class_6749;field_35682:Lcom/mojang/serialization/Codec;
      official e Ldzj;e:Lcom/mojang/serialization/Codec;
    • oldHeightLimit

      private final HeightLimitView oldHeightLimit
      Mappings:
      Namespace Name Mixin selector
      named oldHeightLimit Lnet/minecraft/world/gen/chunk/BlendingData;oldHeightLimit:Lnet/minecraft/world/HeightLimitView;
      intermediary field_35515 Lnet/minecraft/class_6749;field_35515:Lnet/minecraft/class_5539;
      official p Ldzj;p:Ldci;
    • initializedBlendingData

      private boolean initializedBlendingData
      Mappings:
      Namespace Name Mixin selector
      named initializedBlendingData Lnet/minecraft/world/gen/chunk/BlendingData;initializedBlendingData:Z
      intermediary field_35690 Lnet/minecraft/class_6749;field_35690:Z
      official r Ldzj;r:Z
    • surfaceHeights

      private final double[] surfaceHeights
      Mappings:
      Namespace Name Mixin selector
      named surfaceHeights Lnet/minecraft/world/gen/chunk/BlendingData;surfaceHeights:[D
      intermediary field_35692 Lnet/minecraft/class_6749;field_35692:[D
      official s Ldzj;s:[D
    • biomes

      private final List<List<RegistryEntry<Biome>>> biomes
      Mappings:
      Namespace Name Mixin selector
      named biomes Lnet/minecraft/world/gen/chunk/BlendingData;biomes:Ljava/util/List;
      intermediary field_36345 Lnet/minecraft/class_6749;field_36345:Ljava/util/List;
      official t Ldzj;t:Ljava/util/List;
    • collidableBlockDensities

      private final transient double[][] collidableBlockDensities
      Mappings:
      Namespace Name Mixin selector
      named collidableBlockDensities Lnet/minecraft/world/gen/chunk/BlendingData;collidableBlockDensities:[[D
      intermediary field_35693 Lnet/minecraft/class_6749;field_35693:[[D
      official u Ldzj;u:[[D
  • Constructor Details

    • BlendingData

      private BlendingData(int oldBottomSectionY, int oldTopSectionY, Optional<double[]> heights)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/chunk/BlendingData;<init>(IILjava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_6749;<init>(IILjava/util/Optional;)V
      official <init> Ldzj;<init>(IILjava/util/Optional;)V
  • Method Details

    • validate

      private static com.mojang.serialization.DataResult<BlendingData> validate(BlendingData data)
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/world/gen/chunk/BlendingData;validate(Lnet/minecraft/world/gen/chunk/BlendingData;)Lcom/mojang/serialization/DataResult;
      intermediary method_39573 Lnet/minecraft/class_6749;method_39573(Lnet/minecraft/class_6749;)Lcom/mojang/serialization/DataResult;
      official a Ldzj;a(Ldzj;)Lcom/mojang/serialization/DataResult;
    • getBlendingData

      @Nullable public static @Nullable BlendingData getBlendingData(ChunkRegion chunkRegion, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      named getBlendingData Lnet/minecraft/world/gen/chunk/BlendingData;getBlendingData(Lnet/minecraft/world/ChunkRegion;II)Lnet/minecraft/world/gen/chunk/BlendingData;
      intermediary method_39570 Lnet/minecraft/class_6749;method_39570(Lnet/minecraft/class_3233;II)Lnet/minecraft/class_6749;
      official a Ldzj;a(Laqt;II)Ldzj;
    • getAdjacentChunksWithNoise

      public static Set<EightWayDirection> getAdjacentChunksWithNoise(StructureWorldAccess access, int chunkX, int chunkZ, boolean oldNoise)
      Mappings:
      Namespace Name Mixin selector
      named getAdjacentChunksWithNoise Lnet/minecraft/world/gen/chunk/BlendingData;getAdjacentChunksWithNoise(Lnet/minecraft/world/StructureWorldAccess;IIZ)Ljava/util/Set;
      intermediary method_39579 Lnet/minecraft/class_6749;method_39579(Lnet/minecraft/class_5281;IIZ)Ljava/util/Set;
      official a Ldzj;a(Lddc;IIZ)Ljava/util/Set;
    • initChunkBlendingData

      private void initChunkBlendingData(Chunk chunk, Set<EightWayDirection> newNoiseChunkDirections)
      Mappings:
      Namespace Name Mixin selector
      named initChunkBlendingData Lnet/minecraft/world/gen/chunk/BlendingData;initChunkBlendingData(Lnet/minecraft/world/chunk/Chunk;Ljava/util/Set;)V
      intermediary method_39572 Lnet/minecraft/class_6749;method_39572(Lnet/minecraft/class_2791;Ljava/util/Set;)V
      official a Ldzj;a(Lduh;Ljava/util/Set;)V
    • initBlockColumn

      private void initBlockColumn(int index, Chunk chunk, int chunkBlockX, int chunkBlockZ)
      Mappings:
      Namespace Name Mixin selector
      named initBlockColumn Lnet/minecraft/world/gen/chunk/BlendingData;initBlockColumn(ILnet/minecraft/world/chunk/Chunk;II)V
      intermediary method_39347 Lnet/minecraft/class_6749;method_39347(ILnet/minecraft/class_2791;II)V
      official a Ldzj;a(ILduh;II)V
    • getSurfaceBlockY

      private int getSurfaceBlockY(Chunk chunk, int blockX, int blockZ)
      Mappings:
      Namespace Name Mixin selector
      named getSurfaceBlockY Lnet/minecraft/world/gen/chunk/BlendingData;getSurfaceBlockY(Lnet/minecraft/world/chunk/Chunk;II)I
      intermediary method_39349 Lnet/minecraft/class_6749;method_39349(Lnet/minecraft/class_2791;II)I
      official a Ldzj;a(Lduh;II)I
    • getAboveCollidableBlockValue

      private static double getAboveCollidableBlockValue(Chunk chunk, BlockPos.Mutable mutablePos)
      Returns 1.0 if there is a collidable block below, otherwise -1.
      Parameters:
      mutablePos - will be moved down by one block by this method
      Returns:
      1.0 if there is a collidable block below, otherwise -1
      Mappings:
      Namespace Name Mixin selector
      named getAboveCollidableBlockValue Lnet/minecraft/world/gen/chunk/BlendingData;getAboveCollidableBlockValue(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos$Mutable;)D
      intermediary method_39905 Lnet/minecraft/class_6749;method_39905(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338$class_2339;)D
      official a Ldzj;a(Lduh;Lja$a;)D
    • getCollidableBlockDensityBelow

      private static double getCollidableBlockDensityBelow(Chunk chunk, BlockPos.Mutable mutablePos)
      Parameters:
      mutablePos - will be moved down by seven blocks by this method
      Mappings:
      Namespace Name Mixin selector
      named getCollidableBlockDensityBelow Lnet/minecraft/world/gen/chunk/BlendingData;getCollidableBlockDensityBelow(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos$Mutable;)D
      intermediary method_39906 Lnet/minecraft/class_6749;method_39906(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338$class_2339;)D
      official b Ldzj;b(Lduh;Lja$a;)D
    • calculateCollidableBlockDensityColumn

      private double[] calculateCollidableBlockDensityColumn(Chunk chunk, int chunkBlockX, int chunkBlockZ, int surfaceHeight)
      Mappings:
      Namespace Name Mixin selector
      named calculateCollidableBlockDensityColumn Lnet/minecraft/world/gen/chunk/BlendingData;calculateCollidableBlockDensityColumn(Lnet/minecraft/world/chunk/Chunk;III)[D
      intermediary method_39354 Lnet/minecraft/class_6749;method_39354(Lnet/minecraft/class_2791;III)[D
      official a Ldzj;a(Lduh;III)[D
    • getVerticalBiomeSections

      private List<RegistryEntry<Biome>> getVerticalBiomeSections(Chunk chunk, int chunkBlockX, int chunkBlockZ)
      Mappings:
      Namespace Name Mixin selector
      named getVerticalBiomeSections Lnet/minecraft/world/gen/chunk/BlendingData;getVerticalBiomeSections(Lnet/minecraft/world/chunk/Chunk;II)Ljava/util/List;
      intermediary method_41566 Lnet/minecraft/class_6749;method_41566(Lnet/minecraft/class_2791;II)Ljava/util/List;
      official b Ldzj;b(Lduh;II)Ljava/util/List;
    • isCollidableAndNotTreeAt

      private static boolean isCollidableAndNotTreeAt(Chunk chunk, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isCollidableAndNotTreeAt Lnet/minecraft/world/gen/chunk/BlendingData;isCollidableAndNotTreeAt(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_39350 Lnet/minecraft/class_6749;method_39350(Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;)Z
      official a Ldzj;a(Lduh;Lja;)Z
    • getHeight

      protected double getHeight(int biomeX, int biomeY, int biomeZ)
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/world/gen/chunk/BlendingData;getHeight(III)D
      intermediary method_39344 Lnet/minecraft/class_6749;method_39344(III)D
      official a Ldzj;a(III)D
    • getCollidableBlockDensity

      private double getCollidableBlockDensity(@Nullable @org.jetbrains.annotations.Nullable double[] collidableBlockDensityColumn, int halfSectionY)
      Mappings:
      Namespace Name Mixin selector
      named getCollidableBlockDensity Lnet/minecraft/world/gen/chunk/BlendingData;getCollidableBlockDensity([DI)D
      intermediary method_39575 Lnet/minecraft/class_6749;method_39575([DI)D
      official a Ldzj;a([DI)D
    • getCollidableBlockDensity

      protected double getCollidableBlockDensity(int chunkBiomeX, int halfSectionY, int chunkBiomeZ)
      Mappings:
      Namespace Name Mixin selector
      named getCollidableBlockDensity Lnet/minecraft/world/gen/chunk/BlendingData;getCollidableBlockDensity(III)D
      intermediary method_39345 Lnet/minecraft/class_6749;method_39345(III)D
      official b Ldzj;b(III)D
    • acceptBiomes

      protected void acceptBiomes(int biomeX, int biomeY, int biomeZ, BlendingData.BiomeConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named acceptBiomes Lnet/minecraft/world/gen/chunk/BlendingData;acceptBiomes(IIILnet/minecraft/world/gen/chunk/BlendingData$BiomeConsumer;)V
      intermediary method_40028 Lnet/minecraft/class_6749;method_40028(IIILnet/minecraft/class_6749$class_6853;)V
      official a Ldzj;a(IIILdzj$a;)V
    • acceptHeights

      protected void acceptHeights(int biomeX, int biomeZ, BlendingData.HeightConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named acceptHeights Lnet/minecraft/world/gen/chunk/BlendingData;acceptHeights(IILnet/minecraft/world/gen/chunk/BlendingData$HeightConsumer;)V
      intermediary method_39351 Lnet/minecraft/class_6749;method_39351(IILnet/minecraft/class_6749$class_6751;)V
      official a Ldzj;a(IILdzj$c;)V
    • acceptCollidableBlockDensities

      protected void acceptCollidableBlockDensities(int biomeX, int biomeZ, int minHalfSectionY, int maxHalfSectionY, BlendingData.CollidableBlockDensityConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named acceptCollidableBlockDensities Lnet/minecraft/world/gen/chunk/BlendingData;acceptCollidableBlockDensities(IIIILnet/minecraft/world/gen/chunk/BlendingData$CollidableBlockDensityConsumer;)V
      intermediary method_39346 Lnet/minecraft/class_6749;method_39346(IIIILnet/minecraft/class_6749$class_6750;)V
      official a Ldzj;a(IIIILdzj$b;)V
    • getVerticalHalfSectionCount

      private int getVerticalHalfSectionCount()
      Mappings:
      Namespace Name Mixin selector
      named getVerticalHalfSectionCount Lnet/minecraft/world/gen/chunk/BlendingData;getVerticalHalfSectionCount()I
      intermediary method_39576 Lnet/minecraft/class_6749;method_39576()I
      official b Ldzj;b()I
    • getVerticalBiomeCount

      private int getVerticalBiomeCount()
      Mappings:
      Namespace Name Mixin selector
      named getVerticalBiomeCount Lnet/minecraft/world/gen/chunk/BlendingData;getVerticalBiomeCount()I
      intermediary method_41567 Lnet/minecraft/class_6749;method_41567()I
      official c Ldzj;c()I
    • getOneAboveBottomHalfSectionY

      private int getOneAboveBottomHalfSectionY()
      Mappings:
      Namespace Name Mixin selector
      named getOneAboveBottomHalfSectionY Lnet/minecraft/world/gen/chunk/BlendingData;getOneAboveBottomHalfSectionY()I
      intermediary method_39581 Lnet/minecraft/class_6749;method_39581()I
      official d Ldzj;d()I
    • getBottomHalfSectionY

      private int getBottomHalfSectionY()
      Mappings:
      Namespace Name Mixin selector
      named getBottomHalfSectionY Lnet/minecraft/world/gen/chunk/BlendingData;getBottomHalfSectionY()I
      intermediary method_39583 Lnet/minecraft/class_6749;method_39583()I
      official e Ldzj;e()I
    • getHalfSectionHeight

      private int getHalfSectionHeight(int halfSectionY)
      Mappings:
      Namespace Name Mixin selector
      named getHalfSectionHeight Lnet/minecraft/world/gen/chunk/BlendingData;getHalfSectionHeight(I)I
      intermediary method_41565 Lnet/minecraft/class_6749;method_41565(I)I
      official a Ldzj;a(I)I
    • getNorthWestIndex

      private static int getNorthWestIndex(int chunkBiomeX, int chunkBiomeZ)
      Gets the north east index for the given chunk-local biome coordinates. At least one of these coordinates must be 0 for this method to work properly.
      Parameters:
      chunkBiomeX - the chunk-local biome X coordinate
      chunkBiomeZ - the chunk-local biome Z coordinate
      Returns:
      the north west index
      Mappings:
      Namespace Name Mixin selector
      named getNorthWestIndex Lnet/minecraft/world/gen/chunk/BlendingData;getNorthWestIndex(II)I
      intermediary method_39578 Lnet/minecraft/class_6749;method_39578(II)I
      official a Ldzj;a(II)I
    • getSouthEastIndex

      private static int getSouthEastIndex(int chunkBiomeX, int chunkBiomeZ)
      Gets the south east index for the given chunk-local biome coordinates. At least one of these coordinates must be CHUNK_BIOME_END_INDEX (4) for this method to work properly.
      Parameters:
      chunkBiomeX - the chunk-local biome X coordinate
      chunkBiomeZ - the chunk-local biome Z coordinate
      Returns:
      the south east index
      Mappings:
      Namespace Name Mixin selector
      named getSouthEastIndex Lnet/minecraft/world/gen/chunk/BlendingData;getSouthEastIndex(II)I
      intermediary method_39582 Lnet/minecraft/class_6749;method_39582(II)I
      official b Ldzj;b(II)I
    • getX

      private static int getX(int index)
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/world/gen/chunk/BlendingData;getX(I)I
      intermediary method_39343 Lnet/minecraft/class_6749;method_39343(I)I
      official b Ldzj;b(I)I
    • getZ

      private static int getZ(int index)
      Mappings:
      Namespace Name Mixin selector
      named getZ Lnet/minecraft/world/gen/chunk/BlendingData;getZ(I)I
      intermediary method_39352 Lnet/minecraft/class_6749;method_39352(I)I
      official c Ldzj;c(I)I
    • method_39355

      private static int method_39355(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_39355 Lnet/minecraft/world/gen/chunk/BlendingData;method_39355(I)I
      intermediary method_39355 Lnet/minecraft/class_6749;method_39355(I)I
      official d Ldzj;d(I)I
    • getOldHeightLimit

      public HeightLimitView getOldHeightLimit()
      Mappings:
      Namespace Name Mixin selector
      named getOldHeightLimit Lnet/minecraft/world/gen/chunk/BlendingData;getOldHeightLimit()Lnet/minecraft/world/HeightLimitView;
      intermediary method_41564 Lnet/minecraft/class_6749;method_41564()Lnet/minecraft/class_5539;
      official a Ldzj;a()Ldci;