net.minecraft.world.level.levelgen.feature

public class TreeFeature

extends Feature<TreeConfiguration>

eih
net.minecraft.world.level.levelgen.feature.TreeFeature
net.minecraft.class_2944
net.minecraft.unmapped.C_rjclkmav
net.minecraft.world.gen.feature.TreeFeature
net.minecraft.world.gen.feature.TreeFeature
net.minecraft.src.C_2309_
net.minecraft.world.level.levelgen.feature.WorldGenLiquids

Field summary

Modifier and TypeField
private static final int
a
BLOCK_UPDATE_FLAGS
field_31519
f_fcsmlewp
FORCE_STATE_AND_NOTIFY_ALL
FORCE_STATE_AND_NOTIFY_ALL
f_160509_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<TreeConfiguration> codec)

Method summary

Modifier and TypeMethod
private static boolean
d(dhn arg0, jh arg1)
isVine(LevelSimulatedReader arg0, BlockPos arg1)
method_16416(class_3746 arg0, class_2338 arg1)
m_phbjxvkb(C_agsukcmb arg0, C_hynzadkk arg1)
isVine(TestableWorld world, BlockPos pos)
isVine(TestableWorld world, BlockPos pos)
m_67277_(C_1604_ p_67278_, C_4675_ p_67279_)
public static boolean
b(dhn arg0, jh arg1)
isAirOrLeaves(LevelSimulatedReader arg0, BlockPos arg1)
method_16420(class_3746 arg0, class_2338 arg1)
m_kqfxkmef(C_agsukcmb arg0, C_hynzadkk arg1)
isAirOrLeaves(TestableWorld world, BlockPos pos)
isAirOrLeaves(TestableWorld world, BlockPos pos)
m_67267_(C_1604_ p_67268_, C_4675_ p_67269_)
private static void
b(dhp arg0, jh arg1, dxu arg2)
setBlockKnownShape(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_12774(class_1945 arg0, class_2338 arg1, class_2680 arg2)
m_xeubnjbd(C_gtvfupkc arg0, C_hynzadkk arg1, C_txtbiemp arg2)
setBlockStateWithoutUpdatingNeighbors(ModifiableWorld world, BlockPos pos, BlockState state)
setBlockStateWithoutUpdatingNeighbors(ModifiableWorld world, BlockPos pos, BlockState state)
m_67256_(C_1606_ p_67257_, C_4675_ p_67258_, C_2064_ p_67259_)
public static boolean
c(dhn arg0, jh arg1)
validTreePos(LevelSimulatedReader arg0, BlockPos arg1)
method_27371(class_3746 arg0, class_2338 arg1)
m_tejsfixh(C_agsukcmb arg0, C_hynzadkk arg1)
canReplace(TestableWorld world, BlockPos pos)
canReplace(TestableWorld world, BlockPos pos)
m_67272_(C_1604_ p_67273_, C_4675_ p_67274_)
private boolean
a(dif arg0, bam arg1, jh arg2, BiConsumer<jh, dxu> arg3, BiConsumer<jh, dxu> arg4, ekl$b arg5, ejv arg6)
doPlace(WorldGenLevel arg0, RandomSource arg1, BlockPos arg2, BiConsumer<BlockPos, BlockState> arg3, BiConsumer<BlockPos, BlockState> arg4, FoliagePlacer$FoliageSetter arg5, TreeConfiguration arg6)
method_12775(class_5281 arg0, class_5819 arg1, class_2338 arg2, BiConsumer<class_2338, class_2680> arg3, BiConsumer<class_2338, class_2680> arg4, class_4647$class_8179 arg5, class_4643 arg6)
m_itzuktbh(C_ldkphtbr arg0, C_rlomrsco arg1, C_hynzadkk arg2, BiConsumer<C_hynzadkk, C_txtbiemp> arg3, BiConsumer<C_hynzadkk, C_txtbiemp> arg4, C_iwuefjcy$C_pwcqvmho arg5, C_zthydktd arg6)
generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, FoliagePlacer$BlockPlacer blockPlacer, TreeFeatureConfig config)
generate(StructureWorldAccess world, RandomGenerator random, BlockPos pos, BiConsumer<BlockPos, BlockState> trunkReplacer, BiConsumer<BlockPos, BlockState> foliageReplacer, FoliagePlacer$Placer placer, TreeFeatureConfig config)
m_225257_(C_1625_ p_225259_, C_212974_ p_225260_, C_4675_ p_225261_, BiConsumer<C_4675_, C_2064_> p_225262_, BiConsumer<C_4675_, C_2064_> p_273670_, C_2379_$C_271048_ p_225264_, C_2366_ arg6)
private int
a(dhn arg0, int arg1, jh arg2, ejv arg3)
getMaxFreeTreeHeight(LevelSimulatedReader arg0, int arg1, BlockPos arg2, TreeConfiguration arg3)
method_29963(class_3746 arg0, int arg1, class_2338 arg2, class_4643 arg3)
m_jzebyckf(C_agsukcmb arg0, int arg1, C_hynzadkk arg2, C_zthydktd arg3)
getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config)
getTopPosition(TestableWorld world, int height, BlockPos pos, TreeFeatureConfig config)
m_67215_(C_1604_ p_67217_, int p_67218_, C_4675_ p_67219_, C_2366_ arg3)
protected void
a(dhp arg0, jh arg1, dxu arg2)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_13153(class_1945 arg0, class_2338 arg1, class_2680 arg2)
m_vfasohaf(C_gtvfupkc arg0, C_hynzadkk arg1, C_txtbiemp arg2)
setBlockState(ModifiableWorld arg0, BlockPos arg1, BlockState arg2)
setBlockState(ModifiableWorld arg0, BlockPos arg1, BlockState arg2)
m_5974_(C_1606_ p_67222_, C_4675_ p_67223_, C_2064_ arg2)
public final boolean
a(egx<ejv> arg0)
place(FeaturePlaceContext<TreeConfiguration> arg0)
method_13151(class_5821<class_4643> arg0)
m_yrekxmnr(C_kihhwquw<C_zthydktd> arg0)
generate(FeatureContext<TreeFeatureConfig> arg0)
place(FeatureContext<TreeFeatureConfig> arg0)
m_142674_(C_141361_<C_2366_> arg0)
private static DiscreteVoxelShape
a(dhi arg0, eob arg1, Set<jh> arg2, Set<jh> arg3, Set<jh> arg4)
updateLeaves(LevelAccessor arg0, BoundingBox arg1, Set<BlockPos> arg2, Set<BlockPos> arg3, Set<BlockPos> arg4)
method_23380(class_1936 arg0, class_3341 arg1, Set<class_2338> arg2, Set<class_2338> arg3, Set<class_2338> arg4)
m_pbhmakwe(C_vdvbsyle arg0, C_hmqypqzz arg1, Set<C_hynzadkk> arg2, Set<C_hynzadkk> arg3, Set<C_hynzadkk> arg4)
placeLogsAndLeaves(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions, Set<BlockPos> rootPositions)
updateLeavesDistances(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> foliagePositions, Set<BlockPos> rootPositions)
m_225251_(C_1598_ p_225252_, C_2478_ p_225253_, Set<C_4675_> p_225254_, Set<C_4675_> p_225255_, Set<C_4675_> p_225256_)