net.minecraft.world.level.levelgen.feature

public class TreeFeature

extends Feature<TreeConfiguration>

cld
net.minecraft.world.level.levelgen.feature.TreeFeature
net.minecraft.class_2944
net.minecraft.world.gen.feature.TreeFeature
net.minecraft.world.gen.feature.TreeFeature
net.minecraft.server.v1_16_R3.WorldGenTrees

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
c(bsc arg0, fx arg1)
isFree(LevelSimulatedReader arg0, BlockPos arg1)
method_16432(class_3746 arg0, class_2338 arg1)
canTreeReplace(TestableWorld world, BlockPos pos)
func_236410_c_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private static boolean
f(bsc arg0, fx arg1)
isVine(LevelSimulatedReader arg0, BlockPos arg1)
method_16416(class_3746 arg0, class_2338 arg1)
isVine(TestableWorld world, BlockPos pos)
func_236414_e_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private static boolean
g(bsc arg0, fx arg1)
isBlockWater(LevelSimulatedReader arg0, BlockPos arg1)
method_16422(class_3746 arg0, class_2338 arg1)
isWater(TestableWorld world, BlockPos pos)
func_236416_f_(IWorldGenerationBaseReader arg0, BlockPos arg1)
public static boolean
d(bsc arg0, fx arg1)
isAirOrLeaves(LevelSimulatedReader arg0, BlockPos arg1)
method_16420(class_3746 arg0, class_2338 arg1)
isAirOrLeaves(TestableWorld world, BlockPos pos)
func_236412_d_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private static boolean
h(bsc arg0, fx arg1)
isGrassOrDirtOrFarmland(LevelSimulatedReader arg0, BlockPos arg1)
method_16433(class_3746 arg0, class_2338 arg1)
isDirtOrGrass(TestableWorld world, BlockPos pos)
func_236418_g_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private static boolean
i(bsc arg0, fx arg1)
isReplaceablePlant(LevelSimulatedReader arg0, BlockPos arg1)
method_16425(class_3746 arg0, class_2338 arg1)
isReplaceablePlant(TestableWorld world, BlockPos pos)
func_236419_h_(IWorldGenerationBaseReader arg0, BlockPos arg1)
public static void
b(bse arg0, fx arg1, ceh arg2)
setBlockKnownShape(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_12774(class_1945 arg0, class_2338 arg1, class_2680 arg2)
setBlockStateWithoutUpdatingNeighbors(ModifiableWorld world, BlockPos pos, BlockState state)
func_236408_b_(IWorldWriter arg0, BlockPos arg1, BlockState arg2)
public static boolean
e(bsc arg0, fx arg1)
validTreePos(LevelSimulatedReader arg0, BlockPos arg1)
method_27371(class_3746 arg0, class_2338 arg1)
canReplace(TestableWorld world, BlockPos pos)
func_236404_a_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private boolean
a(bsb arg0, Random arg1, fx arg2, Set<fx> arg3, Set<fx> arg4, cra arg5, cmz arg6)
doPlace(LevelSimulatedRW arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, Set<BlockPos> arg4, BoundingBox arg5, TreeConfiguration arg6)
method_12775(class_3747 arg0, Random arg1, class_2338 arg2, Set<class_2338> arg3, Set<class_2338> arg4, class_3341 arg5, class_4643 arg6)
generate(ModifiableTestableWorld world, Random random, BlockPos pos, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, BlockBox box, TreeFeatureConfig config)
func_225557_a_(IWorldGenerationReader arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, Set<BlockPos> arg4, MutableBoundingBox arg5, BaseTreeFeatureConfig arg6)
private int
a(bsc arg0, int arg1, fx arg2, cmz arg3)
getMaxFreeTreeHeight(LevelSimulatedReader arg0, int arg1, BlockPos arg2, TreeConfiguration arg3)
method_29963(class_3746 arg0, int arg1, class_2338 arg2, class_4643 arg3)
method_29963(TestableWorld arg0, int arg1, BlockPos arg2, TreeFeatureConfig arg3)
func_241521_a_(IWorldGenerationBaseReader arg0, int arg1, BlockPos arg2, BaseTreeFeatureConfig arg3)
protected void
a(bse arg0, fx arg1, ceh arg2)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2)
method_13153(class_1945 arg0, class_2338 arg1, class_2680 arg2)
setBlockState(ModifiableWorld arg0, BlockPos arg1, BlockState arg2)
func_230367_a_(IWorldWriter arg0, BlockPos arg1, BlockState arg2)
public final boolean
a(bsr arg0, cfy arg1, Random arg2, fx arg3, cmz arg4)
place(WorldGenLevel arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3, TreeConfiguration arg4)
method_22362(class_5281 arg0, class_2794 arg1, Random arg2, class_2338 arg3, class_4643 arg4)
generate(StructureWorldAccess arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3, TreeFeatureConfig arg4)
func_241855_a(ISeedReader arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3, BaseTreeFeatureConfig arg4)
private DiscreteVoxelShape
a(bry arg0, cra arg1, Set<fx> arg2, Set<fx> arg3)
updateLeaves(LevelAccessor arg0, BoundingBox arg1, Set<BlockPos> arg2, Set<BlockPos> arg3)
method_23380(class_1936 arg0, class_3341 arg1, Set<class_2338> arg2, Set<class_2338> arg3)
placeLogsAndLeaves(WorldAccess world, BlockBox box, Set<BlockPos> logs, Set<BlockPos> leaves)
func_236403_a_(IWorld arg0, MutableBoundingBox arg1, Set<BlockPos> arg2, Set<BlockPos> arg3)