Class CocoaDecorator
java.lang.Object
net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
net.minecraft.world.level.levelgen.feature.treedecorators.CocoaDecorator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CocoaDecorator>
private final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
place
(LevelSimulatedReader p_161719_, BiConsumer<BlockPos, BlockState> p_161720_, Random p_161721_, List<BlockPos> p_161722_, List<BlockPos> p_161723_) protected TreeDecoratorType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.treedecorators.TreeDecorator
placeVine
-
Field Details
-
CODEC
-
probability
private final float probability
-
-
Constructor Details
-
CocoaDecorator
public CocoaDecorator(float p_69976_)
-
-
Method Details
-
type
- Specified by:
type
in classTreeDecorator
-
place
public void place(LevelSimulatedReader p_161719_, BiConsumer<BlockPos, BlockState> p_161720_, Random p_161721_, List<BlockPos> p_161722_, List<BlockPos> p_161723_) - Specified by:
place
in classTreeDecorator
-