net.minecraft.world.gen.treedecorator

public class AttachedToLeavesTreeDecorator

extends TreeDecorator

net.minecraft.world.level.levelgen.feature.treedecorators.AttachedToLeavesDecorator
net.minecraft.class_7389
net.minecraft.world.gen.treedecorator.AttachedToLeavesTreeDecorator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<AttachedToLeavesTreeDecorator>
CODEC
field_38783
CODEC
protected final float
probability
field_38784
probability
protected final int
exclusionRadiusXZ
field_38785
exclusionRadiusXZ
protected final int
exclusionRadiusY
field_38786
exclusionRadiusY
protected final BlockStateProvider
blockProvider
field_38787
blockProvider
protected final int
requiredEmptyBlocks
field_38788
requiredEmptyBlocks
protected final List<Direction>
directions
field_38789
directions

Constructor summary

ModifierConstructor
public (float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions)

Method summary

Modifier and TypeMethod
public void
place(TreeDecorator$Context context)
method_23469(class_4662$class_7402 arg0)
generate(TreeDecorator$Generator arg0)
private boolean
hasRequiredEmptyBlocks(TreeDecorator$Context context, BlockPos leafPos, Direction direction)
method_43187(class_4662$class_7402 arg0, class_2338 arg1, class_2350 arg2)
meetsRequiredEmptyBlocks(TreeDecorator$Generator generator, BlockPos pos, Direction direction)
protected TreeDecoratorType<?>
type()
method_28893()
getType()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_43188(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_43188(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static List
lambda$static$6(AttachedToLeavesDecorator arg0)
method_43189(class_7389 arg0)
method_43189(AttachedToLeavesTreeDecorator treeDecorator)
private static Integer
lambda$static$5(AttachedToLeavesDecorator arg0)
method_43190(class_7389 arg0)
method_43190(AttachedToLeavesTreeDecorator treeDecorator)
private static BlockStateProvider
lambda$static$4(AttachedToLeavesDecorator arg0)
method_43191(class_7389 arg0)
method_43191(AttachedToLeavesTreeDecorator treeDecorator)
private static Integer
lambda$static$3(AttachedToLeavesDecorator arg0)
method_43192(class_7389 arg0)
method_43192(AttachedToLeavesTreeDecorator treeDecorator)
private static Integer
lambda$static$2(AttachedToLeavesDecorator arg0)
method_43193(class_7389 arg0)
method_43193(AttachedToLeavesTreeDecorator treeDecorator)
private static Float
lambda$static$1(AttachedToLeavesDecorator arg0)
method_43194(class_7389 arg0)
method_43194(AttachedToLeavesTreeDecorator treeDecorator)