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 void
addHangingVine
(BlockPos p_226041_, BooleanProperty p_226042_, TreeDecorator.Context p_226043_) void
place
(TreeDecorator.Context p_226039_) protected TreeDecoratorType
<?> type()
-
Field Details
-
CODEC
-
probability
private final float probability
-
-
Constructor Details
-
LeaveVineDecorator
public LeaveVineDecorator(float p_226031_)
-
-
Method Details
-
type
- Specified by:
type
in classTreeDecorator
-
place
- Specified by:
place
in classTreeDecorator
-
addHangingVine
private static void addHangingVine(BlockPos p_226041_, BooleanProperty p_226042_, TreeDecorator.Context p_226043_)
-