net.minecraft.world.gen.treedecorator

public class PlaceOnGroundTreeDecorator

extends TreeDecorator

net.minecraft.world.level.levelgen.feature.treedecorators.PlaceOnGroundDecorator
net.minecraft.class_10600
net.minecraft.world.gen.treedecorator.PlaceOnGroundTreeDecorator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PlaceOnGroundTreeDecorator>
CODEC
field_55836
CODEC
private final int
tries
field_55837
tries
private final int
radius
field_55838
radius
private final int
height
field_55839
height
private final BlockStateProvider
blockStateProvider
field_55840
blockStateProvider

Constructor summary

ModifierConstructor
public (int tries, int radius, int height, BlockStateProvider blockStateProvider)

Method summary

Modifier and TypeMethod
protected TreeDecoratorType<?>
type()
method_28893()
getType()
public void
place(TreeDecorator$Context context)
method_23469(class_4662$class_7402 arg0)
generate(TreeDecorator$Generator arg0)
private void
attemptToPlaceBlockAbove(TreeDecorator$Context context, BlockPos pos)
method_66485(class_4662$class_7402 arg0, class_2338 arg1)
generate(TreeDecorator$Generator generator, BlockPos pos)
private static boolean
lambda$attemptToPlaceBlockAbove$0(BlockState arg0)
method_66486(class_2680 arg0)
method_66486(BlockState state)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_66483(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_66483(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static BlockStateProvider
lambda$static$4(PlaceOnGroundDecorator arg0)
method_66484(class_10600 arg0)
method_66484(PlaceOnGroundTreeDecorator treeDecorator)
private static Integer
lambda$static$3(PlaceOnGroundDecorator arg0)
method_66487(class_10600 arg0)
method_66487(PlaceOnGroundTreeDecorator treeDecorator)
private static Integer
lambda$static$2(PlaceOnGroundDecorator arg0)
method_66488(class_10600 arg0)
method_66488(PlaceOnGroundTreeDecorator treeDecorator)
private static Integer
lambda$static$1(PlaceOnGroundDecorator arg0)
method_66489(class_10600 arg0)
method_66489(PlaceOnGroundTreeDecorator treeDecorator)