net.minecraft.world.level.block.grower

public final class TreeGrower

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

Field summary

Modifier and TypeField
private static final Map<String, TreeGrower>
l
GROWERS
public static final com.mojang.serialization.Codec<TreeGrower>
a
CODEC
public static final TreeGrower
b
OAK
public static final TreeGrower
c
SPRUCE
public static final TreeGrower
d
MANGROVE
public static final TreeGrower
e
AZALEA
public static final TreeGrower
f
BIRCH
public static final TreeGrower
g
JUNGLE
public static final TreeGrower
h
ACACIA
public static final TreeGrower
i
CHERRY
public static final TreeGrower
j
DARK_OAK
public static final TreeGrower
k
PALE_OAK
private final String
m
name
private final float
n
secondaryChance
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
o
megaTree
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
p
secondaryMegaTree
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
q
tree
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
r
secondaryTree
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
s
flowers
private final Optional<ResourceKey<ConfiguredFeature<?, ?>>>
t
secondaryFlowers

Constructor summary

ModifierConstructor
public (String arg0, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg1, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg2, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg3)
public (String arg0, float arg1, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg2, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg3, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg4, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg5, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg6, Optional<ResourceKey<ConfiguredFeature<?, ?>>> arg7)

Method summary

Modifier and TypeMethod
private ResourceKey<ConfiguredFeature<?, ?>>
a(bck arg0, boolean arg1)
getConfiguredFeature(RandomSource arg0, boolean arg1)
private ResourceKey<ConfiguredFeature<?, ?>>
a(bck arg0)
getConfiguredMegaFeature(RandomSource arg0)
public boolean
a(aub arg0, efz arg1, jb arg2, eeb arg3, bck arg4)
growTree(ServerLevel arg0, ChunkGenerator arg1, BlockPos arg2, BlockState arg3, RandomSource arg4)
private static boolean
a(eeb arg0, dly arg1, jb arg2, int arg3, int arg4)
isTwoByTwoSapling(BlockState arg0, BlockGetter arg1, BlockPos arg2, int arg3, int arg4)
private boolean
a(dmv arg0, jb arg1)
hasFlowers(LevelAccessor arg0, BlockPos arg1)