类 NoiseChunkGenerator


  • public final class NoiseChunkGenerator
    extends ChunkGenerator
    Mappings:
    Namespace Name
    official cos
    intermediary net/minecraft/class_3754
    named net/minecraft/world/gen/chunk/NoiseChunkGenerator
    • 字段详细资料

      • CODEC

        public static final com.mojang.serialization.Codec<NoiseChunkGenerator> CODEC
        Mappings:
        Namespace Name Mixin selector
        official d Lcos;d:Lcom/mojang/serialization/Codec;
        intermediary field_24773 Lnet/minecraft/class_3754;field_24773:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;CODEC:Lcom/mojang/serialization/Codec;
      • AIR

        private static final BlockState AIR
        Mappings:
        Namespace Name Mixin selector
        official h Lcos;h:Lcjr;
        intermediary field_16648 Lnet/minecraft/class_3754;field_16648:Lnet/minecraft/class_2680;
        named AIR Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;AIR:Lnet/minecraft/block/BlockState;
      • EMPTY

        private static final BlockState[] EMPTY
        Mappings:
        Namespace Name Mixin selector
        official i Lcos;i:[Lcjr;
        intermediary field_28746 Lnet/minecraft/class_3754;field_28746:[Lnet/minecraft/class_2680;
        named EMPTY Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;EMPTY:[Lnet/minecraft/block/BlockState;
      • verticalNoiseResolution

        private final int verticalNoiseResolution
        Mappings:
        Namespace Name Mixin selector
        official j Lcos;j:I
        intermediary field_16572 Lnet/minecraft/class_3754;field_16572:I
        named verticalNoiseResolution Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;verticalNoiseResolution:I
      • horizontalNoiseResolution

        private final int horizontalNoiseResolution
        Mappings:
        Namespace Name Mixin selector
        official k Lcos;k:I
        intermediary field_16570 Lnet/minecraft/class_3754;field_16570:I
        named horizontalNoiseResolution Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;horizontalNoiseResolution:I
      • noiseSizeX

        private final int noiseSizeX
        Mappings:
        Namespace Name Mixin selector
        official l Lcos;l:I
        intermediary field_16580 Lnet/minecraft/class_3754;field_16580:I
        named noiseSizeX Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;noiseSizeX:I
      • noiseSizeY

        private final int noiseSizeY
        Mappings:
        Namespace Name Mixin selector
        official m Lcos;m:I
        intermediary field_28747 Lnet/minecraft/class_3754;field_28747:I
        named noiseSizeY Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;noiseSizeY:I
      • noiseSizeZ

        private final int noiseSizeZ
        Mappings:
        Namespace Name Mixin selector
        official n Lcos;n:I
        intermediary field_16578 Lnet/minecraft/class_3754;field_16578:I
        named noiseSizeZ Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;noiseSizeZ:I
      • surfaceDepthNoise

        private final NoiseSampler surfaceDepthNoise
        Mappings:
        Namespace Name Mixin selector
        official o Lcos;o:Ldcz;
        intermediary field_16571 Lnet/minecraft/class_3754;field_16571:Lnet/minecraft/class_3757;
        named surfaceDepthNoise Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;surfaceDepthNoise:Lnet/minecraft/util/math/noise/NoiseSampler;
      • edgeDensityNoise

        private final DoublePerlinNoiseSampler edgeDensityNoise
        Mappings:
        Namespace Name Mixin selector
        official p Lcos;p:Ldcv;
        intermediary field_28843 Lnet/minecraft/class_3754;field_28843:Lnet/minecraft/class_5216;
        named edgeDensityNoise Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;edgeDensityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
      • waterLevelNoise

        private final DoublePerlinNoiseSampler waterLevelNoise
        Mappings:
        Namespace Name Mixin selector
        official q Lcos;q:Ldcv;
        intermediary field_28844 Lnet/minecraft/class_3754;field_28844:Lnet/minecraft/class_5216;
        named waterLevelNoise Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;waterLevelNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
      • defaultBlock

        protected final BlockState defaultBlock
        Mappings:
        Namespace Name Mixin selector
        official e Lcos;e:Lcjr;
        intermediary field_16576 Lnet/minecraft/class_3754;field_16576:Lnet/minecraft/class_2680;
        named defaultBlock Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;defaultBlock:Lnet/minecraft/block/BlockState;
      • defaultFluid

        protected final BlockState defaultFluid
        Mappings:
        Namespace Name Mixin selector
        official f Lcos;f:Lcjr;
        intermediary field_16573 Lnet/minecraft/class_3754;field_16573:Lnet/minecraft/class_2680;
        named defaultFluid Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;defaultFluid:Lnet/minecraft/block/BlockState;
      • seed

        private final long seed
        Mappings:
        Namespace Name Mixin selector
        official r Lcos;r:J
        intermediary field_24778 Lnet/minecraft/class_3754;field_24778:J
        named seed Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;seed:J
      • settings

        protected final Supplier<ChunkGeneratorSettings> settings
        Mappings:
        Namespace Name Mixin selector
        official g Lcos;g:Ljava/util/function/Supplier;
        intermediary field_24774 Lnet/minecraft/class_3754;field_24774:Ljava/util/function/Supplier;
        named settings Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;settings:Ljava/util/function/Supplier;
      • worldHeight

        private final int worldHeight
        Mappings:
        Namespace Name Mixin selector
        official s Lcos;s:I
        intermediary field_24779 Lnet/minecraft/class_3754;field_24779:I
        named worldHeight Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;worldHeight:I
      • noiseColumnSampler

        private final NoiseColumnSampler noiseColumnSampler
        Mappings:
        Namespace Name Mixin selector
        official t Lcos;t:Lcov;
        intermediary field_28748 Lnet/minecraft/class_3754;field_28748:Lnet/minecraft/class_5818;
        named noiseColumnSampler Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;noiseColumnSampler:Lnet/minecraft/world/gen/NoiseColumnSampler;
      • hasAquifers

        private final boolean hasAquifers
        Mappings:
        Namespace Name Mixin selector
        official u Lcos;u:Z
        intermediary field_28845 Lnet/minecraft/class_3754;field_28845:Z
        named hasAquifers Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;hasAquifers:Z
      • blockInterpolator

        private final BlockInterpolator blockInterpolator
        Mappings:
        Namespace Name Mixin selector
        official v Lcos;v:Lcoe;
        intermediary field_28913 Lnet/minecraft/class_3754;field_28913:Lnet/minecraft/class_5840;
        named blockInterpolator Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;blockInterpolator:Lnet/minecraft/world/gen/BlockInterpolator;
    • 构造器详细资料

      • NoiseChunkGenerator

        public NoiseChunkGenerator​(BiomeSource biomeSource,
                                   long seed,
                                   Supplier<ChunkGeneratorSettings> settings)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcos;<init>(Lbwt;JLjava/util/function/Supplier;)V
        intermediary <init> Lnet/minecraft/class_3754;<init>(Lnet/minecraft/class_1966;JLjava/util/function/Supplier;)V
        named <init> Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;<init>(Lnet/minecraft/world/biome/source/BiomeSource;JLjava/util/function/Supplier;)V
      • NoiseChunkGenerator

        private NoiseChunkGenerator​(BiomeSource populationSource,
                                    BiomeSource biomeSource,
                                    long seed,
                                    Supplier<ChunkGeneratorSettings> settings)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcos;<init>(Lbwt;Lbwt;JLjava/util/function/Supplier;)V
        intermediary <init> Lnet/minecraft/class_3754;<init>(Lnet/minecraft/class_1966;Lnet/minecraft/class_1966;JLjava/util/function/Supplier;)V
        named <init> Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;<init>(Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/world/biome/source/BiomeSource;JLjava/util/function/Supplier;)V
    • 方法详细资料

      • getCodec

        protected com.mojang.serialization.Codec<? extends ChunkGenerator> getCodec()
        指定者:
        getCodec 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a()Lcom/mojang/serialization/Codec;
        intermediary method_28506 Lnet/minecraft/class_2794;method_28506()Lcom/mojang/serialization/Codec;
        named getCodec Lnet/minecraft/world/gen/chunk/ChunkGenerator;getCodec()Lcom/mojang/serialization/Codec;
      • withSeed

        public ChunkGenerator withSeed​(long seed)
        指定者:
        withSeed 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(J)Lclm;
        intermediary method_27997 Lnet/minecraft/class_2794;method_27997(J)Lnet/minecraft/class_2794;
        named withSeed Lnet/minecraft/world/gen/chunk/ChunkGenerator;withSeed(J)Lnet/minecraft/world/gen/chunk/ChunkGenerator;
      • matchesSettings

        public boolean matchesSettings​(long seed,
                                       RegistryKey<ChunkGeneratorSettings> settingsKey)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(JLwo;)Z
        intermediary method_28548 Lnet/minecraft/class_3754;method_28548(JLnet/minecraft/class_5321;)Z
        named matchesSettings Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;matchesSettings(JLnet/minecraft/util/registry/RegistryKey;)Z
      • sampleNoiseColumn

        private double[] sampleNoiseColumn​(int x,
                                           int z,
                                           int minY,
                                           int noiseSizeY)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(IIII)[D
        intermediary method_16406 Lnet/minecraft/class_3754;method_16406(IIII)[D
        named sampleNoiseColumn Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;sampleNoiseColumn(IIII)[D
      • sampleNoiseColumn

        private void sampleNoiseColumn​(double[] buffer,
                                       int x,
                                       int z,
                                       int minY,
                                       int noiseSizeY)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a([DIIII)V
        intermediary method_34284 Lnet/minecraft/class_3754;method_34284([DIIII)V
        named sampleNoiseColumn Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;sampleNoiseColumn([DIIII)V
      • getHeight

        public int getHeight​(int x,
                             int z,
                             Heightmap.Type heightmap,
                             HeightLimitView world)
        Returns the raw noise height of a column for use in structure generation.
        指定者:
        getHeight 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(IILcor$a;Lbvt;)I
        intermediary method_16397 Lnet/minecraft/class_2794;method_16397(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)I
        named getHeight Lnet/minecraft/world/gen/chunk/ChunkGenerator;getHeight(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
      • getColumnSample

        public VerticalBlockSample getColumnSample​(int x,
                                                   int z,
                                                   HeightLimitView world)
        Returns a sample of all the block states in a column for use in structure generation.
        指定者:
        getColumnSample 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(IILbvt;)Lbwc;
        intermediary method_26261 Lnet/minecraft/class_2794;method_26261(IILnet/minecraft/class_5539;)Lnet/minecraft/class_4966;
        named getColumnSample Lnet/minecraft/world/gen/chunk/ChunkGenerator;getColumnSample(IILnet/minecraft/world/HeightLimitView;)Lnet/minecraft/world/gen/chunk/VerticalBlockSample;
      • sampleHeightmap

        private OptionalInt sampleHeightmap​(int x,
                                            int z,
                                            @Nullable
                                            @Nullable BlockState[] states,
                                            @Nullable
                                            @Nullable Predicate<BlockState> predicate,
                                            int minY,
                                            int noiseSizeY)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(II[Lcjr;Ljava/util/function/Predicate;II)Ljava/util/OptionalInt;
        intermediary method_26263 Lnet/minecraft/class_3754;method_26263(II[Lnet/minecraft/class_2680;Ljava/util/function/Predicate;II)Ljava/util/OptionalInt;
        named sampleHeightmap Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;sampleHeightmap(II[Lnet/minecraft/block/BlockState;Ljava/util/function/Predicate;II)Ljava/util/OptionalInt;
      • getBlockState

        protected BlockState getBlockState​(StructureWeightSampler structures,
                                           @Nullable
                                           @Nullable AquiferSampler aquiferSampler,
                                           BlockInterpolator blockInterpolator,
                                           int x,
                                           int y,
                                           int z,
                                           double noise)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(Lcof;Lcod;Lcoe;IIID)Lcjr;
        intermediary method_33643 Lnet/minecraft/class_3754;method_33643(Lnet/minecraft/class_5817;Lnet/minecraft/class_5832;Lnet/minecraft/class_5840;IIID)Lnet/minecraft/class_2680;
        named getBlockState Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;getBlockState(Lnet/minecraft/world/gen/StructureWeightSampler;Lnet/minecraft/world/gen/AquiferSampler;Lnet/minecraft/world/gen/BlockInterpolator;IIID)Lnet/minecraft/block/BlockState;
      • buildSurface

        public void buildSurface​(ChunkRegion region,
                                 Chunk chunk)
        Places the surface blocks of the biomes after the noise has been generated.
        指定者:
        buildSurface 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(Labp;Lclk;)V
        intermediary method_12110 Lnet/minecraft/class_2794;method_12110(Lnet/minecraft/class_3233;Lnet/minecraft/class_2791;)V
        named buildSurface Lnet/minecraft/world/gen/chunk/ChunkGenerator;buildSurface(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/chunk/Chunk;)V
      • buildBedrock

        private void buildBedrock​(Chunk chunk,
                                  Random random)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(Lclk;Ljava/util/Random;)V
        intermediary method_16412 Lnet/minecraft/class_3754;method_16412(Lnet/minecraft/class_2791;Ljava/util/Random;)V
        named buildBedrock Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;buildBedrock(Lnet/minecraft/world/chunk/Chunk;Ljava/util/Random;)V
      • populateNoise

        public CompletableFuture<Chunk> populateNoise​(Executor executor,
                                                      StructureAccessor accessor,
                                                      Chunk chunk)
        Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.
        指定者:
        populateNoise 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(Ljava/util/concurrent/Executor;Lbwi;Lclk;)Ljava/util/concurrent/CompletableFuture;
        intermediary method_12088 Lnet/minecraft/class_2794;method_12088(Ljava/util/concurrent/Executor;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
        named populateNoise Lnet/minecraft/world/gen/chunk/ChunkGenerator;populateNoise(Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
      • populateNoise

        private Chunk populateNoise​(StructureAccessor accessor,
                                    Chunk chunk,
                                    int minY,
                                    int noiseSizeY)
        Mappings:
        Namespace Name Mixin selector
        official a Lcos;a(Lbwi;Lclk;II)Lclk;
        intermediary method_33754 Lnet/minecraft/class_3754;method_33754(Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;II)Lnet/minecraft/class_2791;
        named populateNoise Lnet/minecraft/world/gen/chunk/NoiseChunkGenerator;populateNoise(Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;II)Lnet/minecraft/world/chunk/Chunk;
      • getWorldHeight

        public int getWorldHeight()
        覆盖:
        getWorldHeight 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official d Lclm;d()I
        intermediary method_12104 Lnet/minecraft/class_2794;method_12104()I
        named getWorldHeight Lnet/minecraft/world/gen/chunk/ChunkGenerator;getWorldHeight()I
      • getSeaLevel

        public int getSeaLevel()
        覆盖:
        getSeaLevel 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official e Lclm;e()I
        intermediary method_16398 Lnet/minecraft/class_2794;method_16398()I
        named getSeaLevel Lnet/minecraft/world/gen/chunk/ChunkGenerator;getSeaLevel()I
      • getMinimumY

        public int getMinimumY()
        覆盖:
        getMinimumY 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official f Lclm;f()I
        intermediary method_33730 Lnet/minecraft/class_2794;method_33730()I
        named getMinimumY Lnet/minecraft/world/gen/chunk/ChunkGenerator;getMinimumY()I
      • getEntitySpawnList

        public Pool<SpawnSettings.SpawnEntry> getEntitySpawnList​(Biome biome,
                                                                 StructureAccessor accessor,
                                                                 SpawnGroup group,
                                                                 BlockPos pos)
        覆盖:
        getEntitySpawnList 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(Lbwq;Lbwi;Lata;Lgb;)Laqa;
        intermediary method_12113 Lnet/minecraft/class_2794;method_12113(Lnet/minecraft/class_1959;Lnet/minecraft/class_5138;Lnet/minecraft/class_1311;Lnet/minecraft/class_2338;)Lnet/minecraft/class_6012;
        named getEntitySpawnList Lnet/minecraft/world/gen/chunk/ChunkGenerator;getEntitySpawnList(Lnet/minecraft/world/biome/Biome;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/entity/SpawnGroup;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/collection/Pool;
      • populateEntities

        public void populateEntities​(ChunkRegion region)
        覆盖:
        populateEntities 在类中 ChunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official a Lclm;a(Labp;)V
        intermediary method_12107 Lnet/minecraft/class_2794;method_12107(Lnet/minecraft/class_3233;)V
        named populateEntities Lnet/minecraft/world/gen/chunk/ChunkGenerator;populateEntities(Lnet/minecraft/world/ChunkRegion;)V