| protected FoliagePlacerType<?> | | type() | | type() | | method_28843() | | getType() |
|
| protected void | | createFoliage(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, int treeHeight, FoliagePlacer$FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) | | createFoliage(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, int treeHeight, FoliagePlacer$FoliageAttachment foliageAttachment, int foliageHeight, int leafRadius, int offset) | | method_23448(class_5281 arg0, class_4647$class_8179 arg1, class_5819 arg2, class_2944 arg3, int arg4, class_4647$class_5208 arg5, int arg6, int arg7, int arg8) | | generate(StructureWorldAccess arg0, FoliagePlacer$BlockPlacer arg1, Random arg2, TreeFeature arg3, int arg4, FoliagePlacer$TreeNode arg5, int arg6, int arg7, int arg8) |
|
| private void | | replaceLeavesWithLog(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, TreeFeature tree, RandomSource random, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | replaceLeavesWithLog(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, TreeFeature tree, RandomSource random, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | method_1_7248(class_5281 arg0, class_4647$class_8179 arg1, class_2944 arg2, class_5819 arg3, class_2338 arg4, int arg5, int arg6, boolean arg7, int arg8, boolean arg9) | | generateSquareWithSideHoles(StructureWorldAccess world, FoliagePlacer$BlockPlacer placer, TreeFeature feature, Random random, BlockPos pos, int radius, int y, boolean giantTrunk, int foliageHeight, boolean orientation) |
|
| private static void | | tryPlaceLog(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, BlockPos pos, Function<BlockState, BlockState> stateModifier) | | tryPlaceLog(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, BlockPos pos, Function<BlockState, BlockState> stateModifier) | | method_1_7250(class_5281 arg0, class_4647$class_8179 arg1, class_5819 arg2, class_2944 arg3, class_2338 arg4, Function<class_2680, class_2680> arg5) | | replaceFoliageWithTrunk(StructureWorldAccess world, FoliagePlacer$BlockPlacer placer, Random random, TreeFeature feature, BlockPos pos, Function<BlockState, BlockState> trunkTransformer) |
|
| private static Function<BlockState, BlockState> | |
| public int | |
| private void | | placeLeavesRow(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | placeLeavesRow(WorldGenLevel level, FoliagePlacer$FoliageSetter foliageSetter, RandomSource random, TreeFeature tree, BlockPos origin, int currentRadius, int y, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | method_1_7580(class_5281 arg0, class_4647$class_8179 arg1, class_5819 arg2, class_2944 arg3, class_2338 arg4, int arg5, int arg6, boolean arg7, int arg8, boolean arg9) | | generateSquare(StructureWorldAccess world, FoliagePlacer$BlockPlacer placer, Random random, TreeFeature feature, BlockPos trunkPos, int radius, int y, boolean giantTrunk, int foliageHeight, boolean orientation) |
|
| private boolean | | shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk, int foliageHeight, boolean flipRhombusShape) | | method_1_7581(class_5819 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, int arg6, boolean arg7) | | shouldPlaceLeafBlockAt(Random random, int dx, int y, int dz, int radius, boolean giantTrunk, int foliageHeight, boolean orientation) |
|
| protected boolean | | shouldSkipLocationSigned(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) | | shouldSkipLocationSigned(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) | | method_27387(class_5819 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5) | | isPositionInvalid(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5) |
|
| protected boolean | | shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) | | shouldSkipLocation(RandomSource random, int dx, int y, int dz, int currentRadius, boolean doubleTrunk) | | method_23451(class_5819 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5) | | isInvalidForLeaves(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5) |
|
| private int | | getCornerBlocksToCutForRhombusShape(int dx, int dz, int currentRadius, boolean shouldRowBePartialRhombusShape, boolean flipRhombusShape) | | getCornerBlocksToCutForRhombusShape(int dx, int dz, int currentRadius, boolean shouldRowBePartialRhombusShape, boolean flipRhombusShape) | | method_1_7236(int arg0, int arg1, int arg2, boolean arg3, boolean arg4) | | getLeavesMargin(int dx, int dz, int radius, boolean centralY, boolean orientation) |
|
| private static boolean | | isWithinRhombusShape(int currentRadius, int absDx, int absDz, int cornerBlocksToCutForRhombusShape, int additionalSideRemoval) | | isWithinRhombusShape(int currentRadius, int absDx, int absDz, int cornerBlocksToCutForRhombusShape, int additionalSideRemoval) | | method_1_7240(int arg0, int arg1, int arg2, int arg3, int arg4) | | isWithinRangeForLeaves(int radius, int absdx, int absdz, int leavesMargin, int sideHoleAdjustment) |
|
| private static boolean | | isLeftLowerCornerOrRightTopCorner(int dx, int dz) | | isLeftLowerCornerOrRightTopCorner(int dx, int dz) | | method_1_7238(int arg0, int arg1) | | haveOppositeSigns(int dx, int dz) |
|
| private static boolean | | isLeftTopCornerOrRightLowerCorner(int dx, int dz) | | isLeftTopCornerOrRightLowerCorner(int dx, int dz) | | method_1_7239(int arg0, int arg1) | | haveSameSign(int dx, int dz) |
|
| private boolean | | shouldRowBePartialRhombusShape(int foliageHeight, int y) | | shouldRowBePartialRhombusShape(int foliageHeight, int y) | | method_1_7249(int arg0, int arg1) | | isCentralY(int foliageHeight, int y) |
|