History - net.minecraft.world.gen.foliage.PoplarFoliagePlacer

26.3

Names

net.minecraft.world.level.levelgen.feature.foliageplacers.PoplarFoliagePlacer

net.minecraft.world.level.levelgen.feature.foliageplacers.PoplarFoliagePlacer

net.minecraft.class_1_1147

net.minecraft.world.gen.foliage.PoplarFoliagePlacer

Fields

com.mojang.serialization.MapCodec<PoplarFoliagePlacer>: CODEC, CODEC, field_1_7926, CODEC

IntProvider: height, height, field_1_7929, height

float: sideHoleChance, sideHoleChance, field_1_7931, sideHoleChance

Constructors

(IntProvider, IntProvider, IntProvider, float)

Methods

FoliagePlacerType<?> (): type, type, method_28843, getType

void (StructureWorldAccess, FoliagePlacer$BlockPlacer, Random, TreeFeature, int, FoliagePlacer$TreeNode, int, int, int): createFoliage, createFoliage, method_23448, generate

void (StructureWorldAccess, FoliagePlacer$BlockPlacer, TreeFeature, Random, BlockPos, int, int, boolean, int, boolean): replaceLeavesWithLog, replaceLeavesWithLog, method_1_7248, generateSquareWithSideHoles

void (StructureWorldAccess, FoliagePlacer$BlockPlacer, Random, TreeFeature, BlockPos, Function<BlockState, BlockState>): tryPlaceLog, tryPlaceLog, method_1_7250, replaceFoliageWithTrunk

Function<BlockState, BlockState> (Direction): getSidewaysStateModifier, getSidewaysStateModifier, method_1_7237, axisSetter

int (Random, int, TreeFeature): foliageHeight, foliageHeight, method_26989, getRandomHeight

void (StructureWorldAccess, FoliagePlacer$BlockPlacer, Random, TreeFeature, BlockPos, int, int, boolean, int, boolean): placeLeavesRow, placeLeavesRow, method_1_7580, generateSquare

boolean (Random, int, int, int, int, boolean, int, boolean): shouldSkipLocation, shouldSkipLocation, method_1_7581, shouldPlaceLeafBlockAt

boolean (Random, int, int, int, int, boolean): shouldSkipLocationSigned, shouldSkipLocationSigned, method_27387, isPositionInvalid

boolean (Random, int, int, int, int, boolean): shouldSkipLocation, shouldSkipLocation, method_23451, isInvalidForLeaves

int (int, int, int, boolean, boolean): getCornerBlocksToCutForRhombusShape, getCornerBlocksToCutForRhombusShape, method_1_7236, getLeavesMargin

boolean (int, int, int, int, int): isWithinRhombusShape, isWithinRhombusShape, method_1_7240, isWithinRangeForLeaves

boolean (int, int): isLeftLowerCornerOrRightTopCorner, isLeftLowerCornerOrRightTopCorner, method_1_7238, haveOppositeSigns

boolean (int, int): isLeftTopCornerOrRightLowerCorner, isLeftTopCornerOrRightLowerCorner, method_1_7239, haveSameSign

boolean (int, int): shouldRowBePartialRhombusShape, shouldRowBePartialRhombusShape, method_1_7249, isCentralY