CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer FIELD field_21296 radius I FIELD field_21297 randomRadius I FIELD field_21298 type Lnet/minecraft/class_4648; METHOD (IILnet/minecraft/class_4648;)V ARG 1 radius ARG 2 randomRadius ARG 3 type METHOD method_23447 getRadiusForPlacement (IIII)I COMMENT This method is used to ensure that a tree can place foliage when it generates. COMMENT COMMENT

It runs for every y-level of the tree being generated. ARG 1 trunkHeight COMMENT the height of the trunk ARG 2 baseHeight COMMENT the height of the full tree ARG 3 radius COMMENT the radius of the foliage ARG 4 currentTreeHeight COMMENT the current y-level of the tree being tested. METHOD method_23448 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;IIILnet/minecraft/class_2338;Ljava/util/Set;)V COMMENT This is the main method used to generate foliage. ARG 1 world ARG 3 config ARG 4 baseHeight COMMENT the height of the full tree ARG 5 trunkHeight COMMENT the height of just the trunk, or the part of the tree without leaves ARG 6 radius COMMENT the radius of the foliage ARG 7 pos ARG 8 leaves METHOD method_23449 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;ILnet/minecraft/class_2338;IILjava/util/Set;)V ARG 1 world ARG 2 random ARG 3 config ARG 4 baseHeight ARG 5 pos ARG 6 y ARG 7 radius ARG 8 leaves METHOD method_23450 placeLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4640;Ljava/util/Set;)V ARG 1 world ARG 2 random ARG 3 pos ARG 4 config ARG 5 leaves METHOD method_23451 isInvalidForLeaves (Ljava/util/Random;IIIII)Z ARG 2 baseHeight ARG 3 x ARG 4 y ARG 5 z ARG 6 radius METHOD method_23452 getRadius (Ljava/util/Random;IILnet/minecraft/class_4640;)I ARG 2 baseHeight ARG 3 trunkHeight ARG 4 config