net.minecraft.world.level.block.grower

public final class TreeGrower

dzv
net.minecraft.world.level.block.grower.TreeGrower
net.minecraft.class_8813
net.minecraft.unmapped.C_hupbiznx
net.minecraft.block.SaplingGenerator
net.minecraft.block.sapling.TreeGrower

Field summary

Modifier and TypeField
private static final Map<String, TreeGrower>
l
GROWERS
field_46520
f_bmfivbdv
GENERATORS
TREE_GROWERS
public static final com.mojang.serialization.Codec<TreeGrower>
a
CODEC
field_46510
f_jrpsmwcm
CODEC
CODEC
public static final TreeGrower
b
OAK
field_46511
f_tfgcjfeu
OAK
OAK
public static final TreeGrower
c
SPRUCE
field_46512
f_djgmndhs
SPRUCE
SPRUCE
public static final TreeGrower
d
MANGROVE
field_46513
f_asvotjwp
MANGROVE
MANGROVE
public static final TreeGrower
e
AZALEA
field_46514
f_lbmasemw
AZALEA
AZALEA
public static final TreeGrower
f
BIRCH
field_46515
f_vkeynyme
BIRCH
BIRCH
public static final TreeGrower
g
JUNGLE
field_46516
f_zhwaxgex
JUNGLE
JUNGLE
public static final TreeGrower
h
ACACIA
field_46517
f_jdngnhhn
ACACIA
ACACIA
public static final TreeGrower
i
CHERRY
field_46518
f_kgqrdric
CHERRY
CHERRY
public static final TreeGrower
j
DARK_OAK
field_46519
f_ojsrutmi
DARK_OAK
DARK_OAK
public static final TreeGrower
k
PALE_OAK
field_54791
f_qbbtrqia
PALE_OAK
PALE_OAK
private final String
m
name
field_46521
f_qedngbhc
id
id
private final float
n
secondaryChance
field_46522
f_yayjufwl
rareChance
rareChance
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
o
megaTree
field_46523
f_xhlwbmgk
megaVariant
megaVariant
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
p
secondaryMegaTree
field_46524
f_zcchjqbb
rareMegaVariant
rareMegaVariant
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
q
tree
field_46525
f_qtvdoshp
regularVariant
regularVariant
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
r
secondaryTree
field_46526
f_wngsmufu
rareRegularVariant
rareRegularVariant
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
s
flowers
field_46527
f_hlsdagvb
beesVariant
beesVariant
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
t
secondaryFlowers
field_46528
f_mkaxrjzq
rareBeesVariant
rareBeesVariant

Constructor summary

ModifierConstructor
public (String id, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> regularVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> beesVariant)
public (String id, float rareChance, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> rareMegaVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> regularVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> rareRegularVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> beesVariant, Optional<ResourceKey<ConfiguredFeature<?, ?>>> rareBeesVariant)

Method summary

Modifier and TypeMethod
private ResourceKey<ConfiguredFeature<?, ?>>
a(azv arg0, boolean arg1)
getConfiguredFeature(RandomSource arg0, boolean arg1)
method_54087(class_5819 arg0, boolean arg1)
m_sdzqrysu(C_rlomrsco arg0, boolean arg1)
getSmallTreeFeature(Random random, boolean flowersNearby)
getConfiguredFeature(RandomGenerator random, boolean bees)
private ResourceKey<ConfiguredFeature<?, ?>>
a(azv arg0)
getConfiguredMegaFeature(RandomSource arg0)
method_54086(class_5819 arg0)
m_owklgdcw(C_rlomrsco arg0)
getMegaTreeFeature(Random random)
getMegaConfiguredFeature(RandomGenerator random)
public boolean
a(arq arg0, ecf arg1, iu arg2, eah arg3, azv arg4)
growTree(ServerLevel arg0, ChunkGenerator arg1, BlockPos arg2, BlockState arg3, RandomSource arg4)
method_54085(class_3218 arg0, class_2794 arg1, class_2338 arg2, class_2680 arg3, class_5819 arg4)
m_lfmzuxpy(C_bdwnwhiu arg0, C_kgfalbim arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_rlomrsco arg4)
generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random)
growTree(ServerWorld world, ChunkGenerator generator, BlockPos pos, BlockState state, RandomGenerator random)
private static boolean
a(eah arg0, dig arg1, iu arg2, int arg3, int arg4)
isTwoByTwoSapling(BlockState arg0, BlockGetter arg1, BlockPos arg2, int arg3, int arg4)
method_54090(class_2680 arg0, class_1922 arg1, class_2338 arg2, int arg3, int arg4)
m_vmivrjhv(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, int arg3, int arg4)
canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z)
canGenerateLargeTree(BlockState state, BlockView world, BlockPos pos, int x, int z)
private boolean
a(djb arg0, iu arg1)
hasFlowers(LevelAccessor arg0, BlockPos arg1)
method_54088(class_1936 arg0, class_2338 arg1)
m_purdvmhu(C_vdvbsyle arg0, C_hynzadkk arg1)
areFlowersNearby(WorldAccess world, BlockPos pos)
areFlowersNearby(WorldAccess world, BlockPos pos)