net.minecraft.world.level.block.grower

public final class TreeGrower

dxk
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
net.minecraft.src.C_301929_
net.minecraft.world.level.block.grower.WorldGenTreeProvider

Field summary

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

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(bam 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)
m_307922_(C_212974_ p_311061_, boolean arg1)
private ResourceKey<ConfiguredFeature<?, ?>>
a(bam arg0)
getConfiguredMegaFeature(RandomSource arg0)
method_54086(class_5819 arg0)
m_owklgdcw(C_rlomrsco arg0)
getMegaTreeFeature(Random random)
getMegaConfiguredFeature(RandomGenerator random)
m_304937_(C_212974_ arg0)
public boolean
a(ash arg0, dzr arg1, jh arg2, dxv arg3, bam 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)
m_307294_(C_12_ p_311976_, C_2118_ p_310327_, C_4675_ p_312382_, C_2064_ p_309951_, C_212974_ arg4)
private static boolean
a(dxv arg0, dgn arg1, jh 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)
m_305963_(C_2064_ p_310256_, C_1559_ p_311754_, C_4675_ p_312442_, int p_310725_, int p_310118_)
private boolean
a(dhj arg0, jh 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)
m_306742_(C_1598_ p_312326_, C_4675_ arg1)