Class AttachedToLogsDecorator
java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.AttachedToLogsDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
TreeDecorator.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockStateProviderstatic final com.mojang.serialization.MapCodec<AttachedToLogsDecorator> private final float -
Constructor Summary
ConstructorsConstructorDescriptionAttachedToLogsDecorator(float probability, BlockStateProvider blockProvider, List<Direction> directions) -
Method Summary
Modifier and TypeMethodDescriptionvoidplace(TreeDecorator.Context context) protected TreeDecoratorType<?> type()
-
Field Details
-
CODEC
-
probability
private final float probability -
blockProvider
-
directions
-
-
Constructor Details
-
AttachedToLogsDecorator
public AttachedToLogsDecorator(float probability, BlockStateProvider blockProvider, List<Direction> directions)
-
-
Method Details
-
place
- Specified by:
placein classTreeDecorator
-
type
- Specified by:
typein classTreeDecorator
-