Class CaveWorldCarver

    • Constructor Detail

      • CaveWorldCarver

        public CaveWorldCarver​(com.mojang.serialization.Codec<ProbabilityConfig> p_i231917_1_,
                               int p_i231917_2_)
    • Method Detail

      • carve

        public boolean carve​(IChunk p_225555_1_,
                             java.util.function.Function<BlockPos,​Biome> p_225555_2_,
                             java.util.Random p_225555_3_,
                             int p_225555_4_,
                             int p_225555_5_,
                             int p_225555_6_,
                             int p_225555_7_,
                             int p_225555_8_,
                             java.util.BitSet p_225555_9_,
                             ProbabilityConfig p_225555_10_)
        Specified by:
        carve in class WorldCarver<ProbabilityConfig>
      • getCaveBound

        protected int getCaveBound()
      • getThickness

        protected float getThickness​(java.util.Random p_230359_1_)
      • getYScale

        protected double getYScale()
      • getCaveY

        protected int getCaveY​(java.util.Random p_230361_1_)
      • genRoom

        protected void genRoom​(IChunk p_227205_1_,
                               java.util.function.Function<BlockPos,​Biome> p_227205_2_,
                               long p_227205_3_,
                               int p_227205_5_,
                               int p_227205_6_,
                               int p_227205_7_,
                               double p_227205_8_,
                               double p_227205_10_,
                               double p_227205_12_,
                               float p_227205_14_,
                               double p_227205_15_,
                               java.util.BitSet p_227205_17_)
      • genTunnel

        protected void genTunnel​(IChunk p_227206_1_,
                                 java.util.function.Function<BlockPos,​Biome> p_227206_2_,
                                 long p_227206_3_,
                                 int p_227206_5_,
                                 int p_227206_6_,
                                 int p_227206_7_,
                                 double p_227206_8_,
                                 double p_227206_10_,
                                 double p_227206_12_,
                                 float p_227206_14_,
                                 float p_227206_15_,
                                 float p_227206_16_,
                                 int p_227206_17_,
                                 int p_227206_18_,
                                 double p_227206_19_,
                                 java.util.BitSet p_227206_21_)
      • skip

        protected boolean skip​(double p_222708_1_,
                               double p_222708_3_,
                               double p_222708_5_,
                               int p_222708_7_)
        Specified by:
        skip in class WorldCarver<ProbabilityConfig>