History - net.minecraft.block.SaplingGenerator

26.3-snapshot-3

Names

Fields

Constructors

Methods

boolean (BlockState): lambda$hasFlowers$0, method_1_7932, method_1_7932

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

float: secondaryChance, field_46522, rareChance

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: megaTree, field_46523, megaVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryMegaTree, field_46524, rareMegaVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: tree, field_46525, regularVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryTree, field_46526, rareRegularVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: flowers, field_46527, beesVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryFlowers, field_46528, rareBeesVariant

SaplingGenerator: POPLAR, field_1_7510, POPLAR

WeightedPool<RegistryKey<Feature>>: trees, field_1_7513, smallVariants

WeightedPool<RegistryKey<Feature>>: megaTrees, field_46523, largeVariants

WeightedPool<RegistryKey<Feature>>: flowerTrees, field_1_7511, floralVariants

RegistryKey<Feature>: shortestTreeType, field_1_7512, treeFeatureForTrunkHeight

Constructors

(String, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>)

(String, float, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>)

(String, WeightedPool<RegistryKey<Feature>>, WeightedPool<RegistryKey<Feature>>, WeightedPool<RegistryKey<Feature>>, RegistryKey<Feature>)

Methods

boolean (BlockState, BlockView, BlockPos, int, int): isTwoByTwoSapling, method_54090, canGenerateLargeTree

List<com.mojang.datafixers.util.Pair<BlockState, BlockPos>> (ServerWorld, BlockPos, int, int): getSurroundingBlockStates, method_1_6873, getLargeTreeBlocksAndPositions

void (ServerWorld, List<com.mojang.datafixers.util.Pair<BlockState, BlockPos>>): removeSaplings, method_1_6875, clearBlocks

void (ServerWorld, BlockPos): removeSapling, method_1_6874, clearBlock

void (ServerWorld, List<com.mojang.datafixers.util.Pair<BlockState, BlockPos>>): resetSaplings, method_1_6876, setBlocks

boolean (BlockState, List<com.mojang.datafixers.util.Pair<BlockState, BlockPos>>): isTwoByTwoSapling, method_54090, canGenerateLargeTree

boolean (ServerWorld, BlockPos, BlockState): canGrow, method_1_6871, canGrow

Optional<SaplingGenerator$LargeTreeGrowth> (ServerWorld, BlockState, BlockPos): findTwoByTwoSaplingPos, method_1_6872, queryLargeTreeGrowth

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

OptionalInt (ServerWorld): getMinimumHeight, method_1_2541, getBaseTrunkHeight

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.grower.TreeGrower

net.minecraft.class_8813

net.minecraft.block.SaplingGenerator

Fields

Map<String, SaplingGenerator>: GROWERS, field_46520, GENERATORS

com.mojang.serialization.Codec<SaplingGenerator>: CODEC, field_46510, CODEC

SaplingGenerator: OAK, field_46511, OAK

SaplingGenerator: SPRUCE, field_46512, SPRUCE

SaplingGenerator: MANGROVE, field_46513, MANGROVE

SaplingGenerator: AZALEA, field_46514, AZALEA

SaplingGenerator: BIRCH, field_46515, BIRCH

SaplingGenerator: JUNGLE, field_46516, JUNGLE

SaplingGenerator: ACACIA, field_46517, ACACIA

SaplingGenerator: CHERRY, field_46518, CHERRY

SaplingGenerator: DARK_OAK, field_46519, DARK_OAK

SaplingGenerator: PALE_OAK, field_54791, PALE_OAK

String: name, field_46521, id

float: secondaryChance, field_46522, rareChance

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: megaTree, field_46523, megaVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryMegaTree, field_46524, rareMegaVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: tree, field_46525, regularVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryTree, field_46526, rareRegularVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: flowers, field_46527, beesVariant

Optional<RegistryKey<ConfiguredFeature<?, ?>>>: secondaryFlowers, field_46528, rareBeesVariant

Constructors

(String, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>)

(String, float, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>, Optional<RegistryKey<ConfiguredFeature<?, ?>>>)

Methods

RegistryKey<ConfiguredFeature<?, ?>> (Random, boolean): getConfiguredFeature, method_54087, getSmallTreeFeature

RegistryKey<ConfiguredFeature<?, ?>> (Random): getConfiguredMegaFeature, method_54086, getMegaTreeFeature

boolean (ServerWorld, ChunkGenerator, BlockPos, BlockState, Random): growTree, method_54085, generate

boolean (BlockState, BlockView, BlockPos, int, int): isTwoByTwoSapling, method_54090, canGenerateLargeTree

boolean (WorldAccess, BlockPos): hasFlowers, method_54088, areFlowersNearby

String (SaplingGenerator): lambda$static$0, method_54089, method_54089