net.minecraft.world.level.levelgen.feature.rootplacers

public abstract class RootPlacer

efc
net.minecraft.world.level.levelgen.feature.rootplacers.RootPlacer
net.minecraft.class_7387
net.minecraft.unmapped.C_dohzjtxc
net.minecraft.world.gen.root.RootPlacer
net.minecraft.world.gen.root.RootPlacer
net.minecraft.src.C_213149_
net.minecraft.world.level.levelgen.feature.rootplacers.RootPlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RootPlacer>
d
CODEC
field_38779
f_qgjqzibx
TYPE_CODEC
CODEC
f_225859_
protected final IntProvider
e
trunkOffsetY
field_38868
f_omqfgakn
trunkOffsetY
trunkOffsetY
f_225860_
protected final BlockStateProvider
f
rootProvider
field_38780
f_bzyycxdb
rootProvider
rootProvider
f_225861_
protected final Optional<AboveRootPlacement>
g
aboveRootPlacement
field_38869
f_zkxjguni
aboveRootPlacement
aboveRootPlacement
f_225862_

Constructor summary

ModifierConstructor
public (IntProvider trunkOffsetY, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement)

Method summary

Modifier and TypeMethod
protected static <P extends RootPlacer> com.mojang.datafixers.Products$P3<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<P>, IntProvider, BlockStateProvider, Optional<AboveRootPlacement>>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
rootPlacerParts(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_43182(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
m_wlqwijrb(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_43182(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
rootPlacerCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> instance)
m_225885_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> p_225886_)
protected abstract RootPlacerType<?>
a()
type()
method_43165()
m_vjjtvipl()
getType()
getType()
m_213745_()
public abstract boolean
a(dcg arg0, BiConsumer<iz, dse> arg1, azh arg2, iz arg3, iz arg4, eea arg5)
placeRoots(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, BlockPos arg3, BlockPos arg4, TreeConfiguration arg5)
method_43168(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, class_2338 arg3, class_2338 arg4, class_4643 arg5)
m_xqgwydgq(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, C_rlomrsco arg2, C_hynzadkk arg3, C_hynzadkk arg4, C_zthydktd arg5)
generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config)
generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, RandomGenerator random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config)
m_213684_(C_1604_ p_225880_, BiConsumer<C_4675_, C_2064_> p_225881_, C_212974_ p_225882_, C_4675_ p_225883_, C_4675_ p_225884_, C_2366_ arg5)
protected boolean
a(dcg arg0, iz arg1)
canPlaceRoot(LevelSimulatedReader arg0, BlockPos arg1)
method_43167(class_3746 arg0, class_2338 arg1)
m_hqqobbmy(C_agsukcmb arg0, C_hynzadkk arg1)
canGrowThrough(TestableWorld world, BlockPos pos)
canReplace(TestableWorld world, BlockPos pos)
m_213551_(C_1604_ p_225869_, C_4675_ arg1)
protected void
a(dcg arg0, BiConsumer<iz, dse> arg1, azh arg2, iz arg3, eea arg4)
placeRoot(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, BlockPos arg3, TreeConfiguration arg4)
method_43172(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, class_2338 arg3, class_4643 arg4)
m_zntopocx(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, C_rlomrsco arg2, C_hynzadkk arg3, C_zthydktd arg4)
placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
placeRoot(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, RandomGenerator random, BlockPos pos, TreeFeatureConfig config)
m_213654_(C_1604_ p_225875_, BiConsumer<C_4675_, C_2064_> p_225876_, C_212974_ p_225877_, C_4675_ p_225878_, C_2366_ arg4)
protected BlockState
a(dcg arg0, iz arg1, dse arg2)
getPotentiallyWaterloggedState(LevelSimulatedReader arg0, BlockPos arg1, BlockState arg2)
method_43181(class_3746 arg0, class_2338 arg1, class_2680 arg2)
m_iprlqcip(C_agsukcmb arg0, C_hynzadkk arg1, C_txtbiemp arg2)
applyWaterlogging(TestableWorld world, BlockPos pos, BlockState state)
applyWaterlogging(TestableWorld world, BlockPos pos, BlockState state)
m_225870_(C_1604_ p_225872_, C_4675_ p_225873_, C_2064_ arg2)
public BlockPos
a(iz arg0, azh arg1)
getTrunkOrigin(BlockPos arg0, RandomSource arg1)
method_43309(class_2338 arg0, class_5819 arg1)
m_glvoorra(C_hynzadkk arg0, C_rlomrsco arg1)
trunkOffset(BlockPos pos, Random random)
getTrunkOrigin(BlockPos pos, RandomGenerator random)
m_225891_(C_4675_ p_225893_, C_212974_ arg1)