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

public class MangroveRootPlacer

extends RootPlacer

dgw
net.minecraft.world.level.levelgen.feature.rootplacers.MangroveRootPlacer
net.minecraft.class_7386
net.minecraft.world.gen.root.MangroveRootPlacer
net.minecraft.src.C_213148_
net.minecraft.world.level.levelgen.feature.rootplacers.MangroveRootPlacer

Field summary

Modifier and TypeField
public static final int
a
ROOT_WIDTH_LIMIT
field_38769
field_38769
f_225811_
public static final int
b
ROOT_LENGTH_LIMIT
field_38770
field_38770
f_225812_
public static final com.mojang.serialization.Codec<MangroveRootPlacer>
c
CODEC
field_38771
CODEC
f_225813_
private final MangroveRootPlacement
h
mangroveRootPlacement
field_38867
mangroveRootPlacement
f_225814_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(cgg arg0, BiConsumer<gt, cur> arg1, alu arg2, gt arg3, gt arg4, dfw 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 arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, BlockPos arg3, BlockPos arg4, TreeFeatureConfig arg5)
m_213684_(C_1604_ p_225841_, BiConsumer<C_4675_, C_2064_> p_225842_, C_212974_ p_225843_, C_4675_ p_225844_, C_4675_ p_225845_, C_2366_ arg5)
private boolean
a(cgg arg0, alu arg1, gt arg2, gy arg3, gt arg4, List<gt> arg5, int arg6)
simulateRoots(LevelSimulatedReader arg0, RandomSource arg1, BlockPos arg2, Direction arg3, BlockPos arg4, List<BlockPos> arg5, int arg6)
method_43166(class_3746 arg0, class_5819 arg1, class_2338 arg2, class_2350 arg3, class_2338 arg4, List<class_2338> arg5, int arg6)
canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength)
m_225822_(C_1604_ p_225824_, C_212974_ p_225825_, C_4675_ p_225826_, C_4687_ p_225827_, C_4675_ p_225828_, List<C_4675_> p_225829_, int arg6)
protected List<BlockPos>
a(gt arg0, gy arg1, alu arg2, gt arg3)
potentialRootPositions(BlockPos arg0, Direction arg1, RandomSource arg2, BlockPos arg3)
method_43171(class_2338 arg0, class_2350 arg1, class_5819 arg2, class_2338 arg3)
getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin)
m_225850_(C_4675_ p_225852_, C_4687_ p_225853_, C_212974_ p_225854_, C_4675_ arg3)
protected boolean
a(cgg arg0, gt arg1)
canPlaceRoot(LevelSimulatedReader arg0, BlockPos arg1)
method_43167(class_3746 arg0, class_2338 arg1)
canGrowThrough(TestableWorld arg0, BlockPos arg1)
m_213551_(C_1604_ p_225832_, C_4675_ arg1)
protected void
a(cgg arg0, BiConsumer<gt, cur> arg1, alu arg2, gt arg3, dfw 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 arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, BlockPos arg3, TreeFeatureConfig arg4)
m_213654_(C_1604_ p_225835_, BiConsumer<C_4675_, C_2064_> p_225836_, C_212974_ p_225837_, C_4675_ p_225838_, C_2366_ arg4)
protected RootPlacerType<?>
a()
type()
method_43165()
getType()
m_213745_()