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

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Function<Integer, Integer>: topFoliageLayer, field_1_7932, ONE_LOWER

Function<Integer, Integer>: secondTopFoliageLayer, field_1_7930, TWO_LOWER

boolean: flipRhombusShape, field_1_7927, stashedGiantTrunk

int: foliageHeight, field_1_7928, stashedFoliageHeight

Constructors

Methods

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

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

boolean (int): shouldRowBePartialRhombusShape, method_1_7249, isCentralY

Integer (Integer): lambda$new$1, method_1_7243, method_1_7243

Integer (Integer): lambda$new$0, method_1_7242, method_1_7242

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

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

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

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

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

26.3-snapshot-1

Names

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, field_1_7926, CODEC

Function<Integer, Integer>: topFoliageLayer, field_1_7932, ONE_LOWER

Function<Integer, Integer>: secondTopFoliageLayer, field_1_7930, TWO_LOWER

IntProvider: height, field_1_7929, height

float: sideHoleChance, field_1_7931, sideHoleChance

boolean: flipRhombusShape, field_1_7927, stashedGiantTrunk

int: foliageHeight, field_1_7928, stashedFoliageHeight

Constructors

(IntProvider, IntProvider, IntProvider, float)

Methods

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

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

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

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

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

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

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

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

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

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

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

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

boolean (int): shouldRowBePartialRhombusShape, method_1_7249, isCentralY

BlockState (Direction, BlockState): lambda$getSidewaysStateModifier$0, method_1_7241, method_1_7241

boolean (TreeFeature, StructureWorldAccess, Random, BlockPos, BlockState): lambda$tryPlaceLog$0, method_1_7247, method_1_7247

Integer (Integer): lambda$new$1, method_1_7243, method_1_7243

Integer (Integer): lambda$new$0, method_1_7242, method_1_7242

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_1_7244, method_1_7244

Float (PoplarFoliagePlacer): lambda$static$2, method_1_7246, method_1_7246

IntProvider (PoplarFoliagePlacer): lambda$static$1, method_1_7245, method_1_7245