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

public abstract class RootPlacer

eky
net.minecraft.world.level.levelgen.feature.rootplacers.RootPlacer
net.minecraft.class_7387
net.minecraft.world.gen.root.RootPlacer
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
TYPE_CODEC
protected final IntProvider
e
trunkOffsetY
field_38868
trunkOffsetY
protected final BlockStateProvider
f
rootProvider
field_38780
rootProvider
protected final Optional<AboveRootPlacement>
g
aboveRootPlacement
field_38869
aboveRootPlacement

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)
method_43182(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
protected abstract RootPlacerType<?>
a()
type()
method_43165()
getType()
public abstract boolean
a(dho arg0, BiConsumer<jh, dxv> arg1, bam arg2, jh arg3, jh arg4, ejw 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)
generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config)
protected boolean
a(dho arg0, jh arg1)
canPlaceRoot(LevelSimulatedReader arg0, BlockPos arg1)
method_43167(class_3746 arg0, class_2338 arg1)
canGrowThrough(TestableWorld world, BlockPos pos)
protected void
a(dho arg0, BiConsumer<jh, dxv> arg1, bam arg2, jh arg3, ejw 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)
placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config)
protected BlockState
a(dho arg0, jh arg1, dxv arg2)
getPotentiallyWaterloggedState(LevelSimulatedReader arg0, BlockPos arg1, BlockState arg2)
method_43181(class_3746 arg0, class_2338 arg1, class_2680 arg2)
applyWaterlogging(TestableWorld world, BlockPos pos, BlockState state)
public BlockPos
a(jh arg0, bam arg1)
getTrunkOrigin(BlockPos arg0, RandomSource arg1)
method_43309(class_2338 arg0, class_5819 arg1)
trunkOffset(BlockPos pos, Random random)