net.minecraft.world.level.levelgen.feature

public class TreeFeature

extends Feature<TreeConfiguration>

cmp
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_R1.WorldGenTrees

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
c(bqg arg0, fu 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(bqg arg0, fu 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(bqg arg0, fu 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(bqg arg0, fu 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(bqg arg0, fu 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(bqg arg0, fu 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(bqh arg0, fu arg1, cfj 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(bqg arg0, fu arg1)
validTreePos(LevelSimulatedReader arg0, BlockPos arg1)
method_27371(class_3746 arg0, class_2338 arg1)
canReplace(TestableWorld arg0, BlockPos pos)
func_236404_a_(IWorldGenerationBaseReader arg0, BlockPos arg1)
private boolean
a(bqf arg0, Random arg1, fu arg2, Set<fu> arg3, Set<fu> arg4, ctd arg5, cou 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(bqg arg0, int arg1, fu arg2, cou 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(bqh arg0, fu arg1, cfj 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(bqu arg0, bqq arg1, cha arg2, Random arg3, fu arg4, cou arg5)
place(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, Random arg3, BlockPos arg4, TreeConfiguration arg5)
method_22362(class_5281 arg0, class_5138 arg1, class_2794 arg2, Random arg3, class_2338 arg4, class_4643 arg5)
generate(ServerWorldAccess arg0, StructureAccessor arg1, ChunkGenerator arg2, Random arg3, BlockPos arg4, TreeFeatureConfig arg5)
func_230362_a_(ISeedReader arg0, StructureManager arg1, ChunkGenerator arg2, Random arg3, BlockPos arg4, BaseTreeFeatureConfig arg5)
private DiscreteVoxelShape
a(bqc arg0, ctd arg1, Set<fu> arg2, Set<fu> 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)