net.minecraft.world.level.levelgen.feature

public class TreeFeature

extends Feature<TreeConfiguration>

cla
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_R2.WorldGenTrees

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
c(brz 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(brz 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(brz 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(brz 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(brz 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(brz 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(bsb arg0, fx arg1, cee 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(brz 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(bry arg0, Random arg1, fx arg2, Set<fx> arg3, Set<fx> arg4, cqx arg5, cmw 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(brz arg0, int arg1, fx arg2, cmw 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(bsb arg0, fx arg1, cee 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(bso arg0, cfv arg1, Random arg2, fx arg3, cmw 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(brv arg0, cqx 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)