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 (IIIILnet/minecraft/class_4648;)V ARG 1 radius ARG 2 randomRadius METHOD method_23447 getRadiusForPlacement (III)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 METHOD method_23448 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;ILnet/minecraft/class_2338;IILjava/util/Set;)V COMMENT This is the main method used to generate foliage. METHOD method_23449 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;Lnet/minecraft/class_2338;IIILjava/util/Set;)V 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;ILnet/minecraft/class_4640;)I ARG 2 baseHeight