Tree decorator

Helpers that build a minecraft:tree_decorator object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

AlterGround

AlterGround
AlterGround(provider)
provider
BlockStateProviderRef

AttachedToLeaves

AttachedToLeaves
AttachedToLeaves(probability, exclusion_radius_xz, exclusion_radius_y, required_empty_blocks, block_provider, directions)
probability
number 0..1
exclusion_radius_xz
int 0..16
exclusion_radius_y
int 0..16
required_empty_blocks
int 1..16
block_provider
BlockStateProviderRef
directions
list of Direction (at least 1)

AttachedToLogs

AttachedToLogs
AttachedToLogs(probability, block_provider, directions)
probability
number 0..1
block_provider
BlockStateProviderRef
directions
list of Direction (at least 1)

Beehive

Beehive
Beehive(probability)
probability
number 0..1

Cocoa

Cocoa
Cocoa(probability)
probability
number 0..1

CreakingHeart

CreakingHeart
CreakingHeart(probability)
probability
number 0..1

LeaveVine

LeaveVine
LeaveVine(probability)
probability
number 0..1

PaleMoss

PaleMoss
PaleMoss(leaves_probability, trunk_probability, ground_probability)
leaves_probability
number 0..1
trunk_probability
number 0..1
ground_probability
number 0..1

PlaceOnGround

PlaceOnGround
PlaceOnGround(block_state_provider, tries?, radius?, height?)
block_state_provider
BlockStateProviderRef

The block to place on the ground.

triesoptional
int 1..

Defaults to 128.

radiusoptional
int 0..

Defaults to 2.

heightoptional
int 0..

Defaults to 1.

ShelfMushroom

ShelfMushroom
ShelfMushroom(probability)
probability
number 0..1

TrunkVine

TrunkVine
TrunkVine()