Class FoliagePlacer

    • Method Detail

      • foliagePlacerParts

        protected static <P extends FoliagePlacer> com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,​FeatureSpread,​FeatureSpread> foliagePlacerParts​(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_242830_0_)
      • foliageHeight

        public abstract int foliageHeight​(java.util.Random p_230374_1_,
                                          int p_230374_2_,
                                          BaseTreeFeatureConfig p_230374_3_)
      • foliageRadius

        public int foliageRadius​(java.util.Random p_230376_1_,
                                 int p_230376_2_)
      • offset

        private int offset​(java.util.Random p_236755_1_)
      • shouldSkipLocation

        protected abstract boolean shouldSkipLocation​(java.util.Random p_230373_1_,
                                                      int p_230373_2_,
                                                      int p_230373_3_,
                                                      int p_230373_4_,
                                                      int p_230373_5_,
                                                      boolean p_230373_6_)
      • shouldSkipLocationSigned

        protected boolean shouldSkipLocationSigned​(java.util.Random p_230375_1_,
                                                   int p_230375_2_,
                                                   int p_230375_3_,
                                                   int p_230375_4_,
                                                   int p_230375_5_,
                                                   boolean p_230375_6_)