Class LeaveVineDecorator
java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.LeaveVineDecorator
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
TreeDecorator.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<LeaveVineDecorator> private final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddHangingVine(BlockPos pos, BooleanProperty sideProperty, TreeDecorator.Context context) voidplace(TreeDecorator.Context context) protected TreeDecoratorType<?> type()
-
Field Details
-
CODEC
-
probability
private final float probability
-
-
Constructor Details
-
LeaveVineDecorator
public LeaveVineDecorator(float probability)
-
-
Method Details
-
type
- Specified by:
typein classTreeDecorator
-
place
- Specified by:
placein classTreeDecorator
-
addHangingVine
private static void addHangingVine(BlockPos pos, BooleanProperty sideProperty, TreeDecorator.Context context)
-