Class SurfaceBuilder

java.lang.Object
net.minecraft.world.gen.surfacebuilder.SurfaceBuilder

public class SurfaceBuilder extends Object
Mappings:
Namespace Name
official ctn
intermediary net/minecraft/class_6724
named net/minecraft/world/gen/surfacebuilder/SurfaceBuilder
  • Field Details

    • field_35273

      private static final int field_35273
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a:I
      intermediary field_35273 Lnet/minecraft/class_6724;field_35273:I
      named field_35273 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35273:I
    • WHITE_TERRACOTTA

      private static final BlockState WHITE_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official b Lctn;b:Lcnv;
      intermediary field_35275 Lnet/minecraft/class_6724;field_35275:Lnet/minecraft/class_2680;
      named WHITE_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;WHITE_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • ORANGE_TERRACOTTA

      private static final BlockState ORANGE_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official c Lctn;c:Lcnv;
      intermediary field_35276 Lnet/minecraft/class_6724;field_35276:Lnet/minecraft/class_2680;
      named ORANGE_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;ORANGE_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • TERRACOTTA

      private static final BlockState TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official d Lctn;d:Lcnv;
      intermediary field_35277 Lnet/minecraft/class_6724;field_35277:Lnet/minecraft/class_2680;
      named TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;TERRACOTTA:Lnet/minecraft/block/BlockState;
    • YELLOW_TERRACOTTA

      private static final BlockState YELLOW_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official e Lctn;e:Lcnv;
      intermediary field_35278 Lnet/minecraft/class_6724;field_35278:Lnet/minecraft/class_2680;
      named YELLOW_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;YELLOW_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • BROWN_TERRACOTTA

      private static final BlockState BROWN_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official f Lctn;f:Lcnv;
      intermediary field_35279 Lnet/minecraft/class_6724;field_35279:Lnet/minecraft/class_2680;
      named BROWN_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;BROWN_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • RED_TERRACOTTA

      private static final BlockState RED_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official g Lctn;g:Lcnv;
      intermediary field_35280 Lnet/minecraft/class_6724;field_35280:Lnet/minecraft/class_2680;
      named RED_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;RED_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • LIGHT_GRAY_TERRACOTTA

      private static final BlockState LIGHT_GRAY_TERRACOTTA
      Mappings:
      Namespace Name Mixin selector
      official h Lctn;h:Lcnv;
      intermediary field_35281 Lnet/minecraft/class_6724;field_35281:Lnet/minecraft/class_2680;
      named LIGHT_GRAY_TERRACOTTA Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;LIGHT_GRAY_TERRACOTTA:Lnet/minecraft/block/BlockState;
    • PACKED_ICE

      private static final BlockState PACKED_ICE
      Mappings:
      Namespace Name Mixin selector
      official i Lctn;i:Lcnv;
      intermediary field_35282 Lnet/minecraft/class_6724;field_35282:Lnet/minecraft/class_2680;
      named PACKED_ICE Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;PACKED_ICE:Lnet/minecraft/block/BlockState;
    • SNOW_BLOCK

      private static final BlockState SNOW_BLOCK
      Mappings:
      Namespace Name Mixin selector
      official j Lctn;j:Lcnv;
      intermediary field_35283 Lnet/minecraft/class_6724;field_35283:Lnet/minecraft/class_2680;
      named SNOW_BLOCK Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;SNOW_BLOCK:Lnet/minecraft/block/BlockState;
    • noiseColumnSampler

      private final NoiseColumnSampler noiseColumnSampler
      Mappings:
      Namespace Name Mixin selector
      official k Lctn;k:Lcta;
      intermediary field_35284 Lnet/minecraft/class_6724;field_35284:Lnet/minecraft/class_5818;
      named noiseColumnSampler Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;noiseColumnSampler:Lnet/minecraft/world/gen/NoiseColumnSampler;
    • defaultBlock

      private final BlockState defaultBlock
      Mappings:
      Namespace Name Mixin selector
      official l Lctn;l:Lcnv;
      intermediary field_35285 Lnet/minecraft/class_6724;field_35285:Lnet/minecraft/class_2680;
      named defaultBlock Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;defaultBlock:Lnet/minecraft/block/BlockState;
    • seaLevel

      private final int seaLevel
      Mappings:
      Namespace Name Mixin selector
      official m Lctn;m:I
      intermediary field_35286 Lnet/minecraft/class_6724;field_35286:I
      named seaLevel Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;seaLevel:I
    • terracottaBands

      private final BlockState[] terracottaBands
      Mappings:
      Namespace Name Mixin selector
      official n Lctn;n:[Lcnv;
      intermediary field_35287 Lnet/minecraft/class_6724;field_35287:[Lnet/minecraft/class_2680;
      named terracottaBands Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;terracottaBands:[Lnet/minecraft/block/BlockState;
    • terracottaBandsOffsetNoise

      private final DoublePerlinNoiseSampler terracottaBandsOffsetNoise
      Mappings:
      Namespace Name Mixin selector
      official o Lctn;o:Ldgn;
      intermediary field_35288 Lnet/minecraft/class_6724;field_35288:Lnet/minecraft/class_5216;
      named terracottaBandsOffsetNoise Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;terracottaBandsOffsetNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35495

      private final DoublePerlinNoiseSampler field_35495
      Mappings:
      Namespace Name Mixin selector
      official p Lctn;p:Ldgn;
      intermediary field_35495 Lnet/minecraft/class_6724;field_35495:Lnet/minecraft/class_5216;
      named field_35495 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35495:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35496

      private final DoublePerlinNoiseSampler field_35496
      Mappings:
      Namespace Name Mixin selector
      official q Lctn;q:Ldgn;
      intermediary field_35496 Lnet/minecraft/class_6724;field_35496:Lnet/minecraft/class_5216;
      named field_35496 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35496:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35497

      private final DoublePerlinNoiseSampler field_35497
      Mappings:
      Namespace Name Mixin selector
      official r Lctn;r:Ldgn;
      intermediary field_35497 Lnet/minecraft/class_6724;field_35497:Lnet/minecraft/class_5216;
      named field_35497 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35497:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35498

      private final DoublePerlinNoiseSampler field_35498
      Mappings:
      Namespace Name Mixin selector
      official s Lctn;s:Ldgn;
      intermediary field_35498 Lnet/minecraft/class_6724;field_35498:Lnet/minecraft/class_5216;
      named field_35498 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35498:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35499

      private final DoublePerlinNoiseSampler field_35499
      Mappings:
      Namespace Name Mixin selector
      official t Lctn;t:Ldgn;
      intermediary field_35499 Lnet/minecraft/class_6724;field_35499:Lnet/minecraft/class_5216;
      named field_35499 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35499:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35500

      private final DoublePerlinNoiseSampler field_35500
      Mappings:
      Namespace Name Mixin selector
      official u Lctn;u:Ldgn;
      intermediary field_35500 Lnet/minecraft/class_6724;field_35500:Lnet/minecraft/class_5216;
      named field_35500 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35500:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35415

      Mappings:
      Namespace Name Mixin selector
      official v Lctn;v:Lgx;
      intermediary field_35415 Lnet/minecraft/class_6724;field_35415:Lnet/minecraft/class_2378;
      named field_35415 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35415:Lnet/minecraft/util/registry/Registry;
    • noiseSamplers

      Mappings:
      Namespace Name Mixin selector
      official w Lctn;w:Ljava/util/Map;
      intermediary field_35291 Lnet/minecraft/class_6724;field_35291:Ljava/util/Map;
      named noiseSamplers Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;noiseSamplers:Ljava/util/Map;
    • field_35633

      private final Map<Identifier,RandomDeriver> field_35633
      Mappings:
      Namespace Name Mixin selector
      official x Lctn;x:Ljava/util/Map;
      intermediary field_35633 Lnet/minecraft/class_6724;field_35633:Ljava/util/Map;
      named field_35633 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35633:Ljava/util/Map;
    • randomDeriver

      private final RandomDeriver randomDeriver
      Mappings:
      Namespace Name Mixin selector
      official y Lctn;y:Lcth;
      intermediary field_35292 Lnet/minecraft/class_6724;field_35292:Lnet/minecraft/class_6574;
      named randomDeriver Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;randomDeriver:Lnet/minecraft/world/gen/random/RandomDeriver;
    • surfaceNoise

      private final DoublePerlinNoiseSampler surfaceNoise
      Mappings:
      Namespace Name Mixin selector
      official z Lctn;z:Ldgn;
      intermediary field_35293 Lnet/minecraft/class_6724;field_35293:Lnet/minecraft/class_5216;
      named surfaceNoise Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;surfaceNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • field_35680

      private final DoublePerlinNoiseSampler field_35680
      Mappings:
      Namespace Name Mixin selector
      official A Lctn;A:Ldgn;
      intermediary field_35680 Lnet/minecraft/class_6724;field_35680:Lnet/minecraft/class_5216;
      named field_35680 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;field_35680:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
  • Constructor Details

    • SurfaceBuilder

      public SurfaceBuilder(NoiseColumnSampler noiseColumnSampler, Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, BlockState blockState, int int2, long long2, ChunkRandom.RandomProvider randomProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lctn;<init>(Lcta;Lgx;Lcnv;IJLcts$a;)V
      intermediary <init> Lnet/minecraft/class_6724;<init>(Lnet/minecraft/class_5818;Lnet/minecraft/class_2378;Lnet/minecraft/class_2680;IJLnet/minecraft/class_2919$class_6675;)V
      named <init> Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;<init>(Lnet/minecraft/world/gen/NoiseColumnSampler;Lnet/minecraft/util/registry/Registry;Lnet/minecraft/block/BlockState;IJLnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;)V
  • Method Details

    • getNoiseSampler

      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lya;)Ldgn;
      intermediary method_39112 Lnet/minecraft/class_6724;method_39112(Lnet/minecraft/class_5321;)Lnet/minecraft/class_5216;
      named getNoiseSampler Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;getNoiseSampler(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • method_39482

      protected RandomDeriver method_39482(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lyb;)Lcth;
      intermediary method_39482 Lnet/minecraft/class_6724;method_39482(Lnet/minecraft/class_2960;)Lnet/minecraft/class_6574;
      named method_39482 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39482(Lnet/minecraft/util/Identifier;)Lnet/minecraft/world/gen/random/RandomDeriver;
    • buildSurface

      public void buildSurface(BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext context, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule surfaceRule)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcau;Lgx;ZLctr;Lcpr;Lcsy;Lctm$o;)V
      intermediary method_39106 Lnet/minecraft/class_6724;method_39106(Lnet/minecraft/class_4543;Lnet/minecraft/class_2378;ZLnet/minecraft/class_5868;Lnet/minecraft/class_2791;Lnet/minecraft/class_6568;Lnet/minecraft/class_6686$class_6708;)V
      named buildSurface Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;buildSurface(Lnet/minecraft/world/biome/source/BiomeAccess;Lnet/minecraft/util/registry/Registry;ZLnet/minecraft/world/gen/HeightContext;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;)V
    • method_39553

      protected int method_39553(ChunkNoiseSampler chunkNoiseSampler, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcsy;II)I
      intermediary method_39553 Lnet/minecraft/class_6724;method_39553(Lnet/minecraft/class_6568;II)I
      named method_39553 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39553(Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;II)I
    • method_39552

      protected int method_39552(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(II)I
      intermediary method_39552 Lnet/minecraft/class_6724;method_39552(II)I
      named method_39552 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39552(II)I
    • method_39555

      protected int method_39555(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official b Lctn;b(II)I
      intermediary method_39555 Lnet/minecraft/class_6724;method_39555(II)I
      named method_39555 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39555(II)I
    • method_39554

      private int method_39554(DoublePerlinNoiseSampler doublePerlinNoiseSampler, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Ldgn;II)I
      intermediary method_39554 Lnet/minecraft/class_6724;method_39554(Lnet/minecraft/class_5216;II)I
      named method_39554 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39554(Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;II)I
    • isDefaultBlock

      private boolean isDefaultBlock(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcnv;)Z
      intermediary method_39333 Lnet/minecraft/class_6724;method_39333(Lnet/minecraft/class_2680;)Z
      named isDefaultBlock Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;isDefaultBlock(Lnet/minecraft/block/BlockState;)Z
    • method_39110

      @Deprecated public Optional<BlockState> method_39110(MaterialRules.MaterialRule rule, CarverContext context, Function<BlockPos,Biome> function, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, BlockPos blockPos, boolean bool)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lctm$o;Lcur;Ljava/util/function/Function;Lcpr;Lcsy;Lgh;Z)Ljava/util/Optional;
      intermediary method_39110 Lnet/minecraft/class_6724;method_39110(Lnet/minecraft/class_6686$class_6708;Lnet/minecraft/class_5873;Ljava/util/function/Function;Lnet/minecraft/class_2791;Lnet/minecraft/class_6568;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
      named method_39110 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39110(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRule;Lnet/minecraft/world/gen/carver/CarverContext;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
    • method_39102

      private void method_39102(BlockColumn blockColumn, int x, int z, int surfaceY, HeightLimitView heightLimitView)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcpo;IIILbzy;)V
      intermediary method_39102 Lnet/minecraft/class_6724;method_39102(Lnet/minecraft/class_6557;IIILnet/minecraft/class_5539;)V
      named method_39102 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39102(Lnet/minecraft/world/gen/chunk/BlockColumn;IIILnet/minecraft/world/HeightLimitView;)V
    • method_39104

      private void method_39104(int int2, Biome biome, BlockColumn blockColumn, BlockPos.Mutable mutablePos, int x, int z, int surfaceY)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(ILcas;Lcpo;Lgh$a;III)V
      intermediary method_39104 Lnet/minecraft/class_6724;method_39104(ILnet/minecraft/class_1959;Lnet/minecraft/class_6557;Lnet/minecraft/class_2338$class_2339;III)V
      named method_39104 Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;method_39104(ILnet/minecraft/world/biome/Biome;Lnet/minecraft/world/gen/chunk/BlockColumn;Lnet/minecraft/util/math/BlockPos$Mutable;III)V
    • createTerracottaBands

      private static BlockState[] createTerracottaBands(AbstractRandom random)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcti;)[Lcnv;
      intermediary method_39108 Lnet/minecraft/class_6724;method_39108(Lnet/minecraft/class_5819;)[Lnet/minecraft/class_2680;
      named createTerracottaBands Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;createTerracottaBands(Lnet/minecraft/world/gen/random/AbstractRandom;)[Lnet/minecraft/block/BlockState;
    • addTerracottaBands

      private static void addTerracottaBands(AbstractRandom random, BlockState[] terracottaBands, int minBandSize, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(Lcti;[Lcnv;ILcnv;)V
      intermediary method_39109 Lnet/minecraft/class_6724;method_39109(Lnet/minecraft/class_5819;[Lnet/minecraft/class_2680;ILnet/minecraft/class_2680;)V
      named addTerracottaBands Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;addTerracottaBands(Lnet/minecraft/world/gen/random/AbstractRandom;[Lnet/minecraft/block/BlockState;ILnet/minecraft/block/BlockState;)V
    • getTerracottaBlock

      protected BlockState getTerracottaBlock(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lctn;a(III)Lcnv;
      intermediary method_39103 Lnet/minecraft/class_6724;method_39103(III)Lnet/minecraft/class_2680;
      named getTerracottaBlock Lnet/minecraft/world/gen/surfacebuilder/SurfaceBuilder;getTerracottaBlock(III)Lnet/minecraft/block/BlockState;