Skip to content

Commit

Permalink
✨ Add place_on_ground tree decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jan 8, 2025
1 parent 7c0a948 commit 511b910
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions java/data/worldgen/feature/tree.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,18 @@ dispatch minecraft:tree_decorator[pale_moss] to struct PaleMossTreeDecorator {
ground_probability: float @ 0..1,
}

#[since="1.21.5"]
dispatch minecraft:tree_decorator[place_on_ground] to struct PlaceOnGroundTreeDecorator {
/// Defaults to `128`.
tries?: int @ 1..,
/// Defaults to `2`.
radius?: int @ 0..,
/// Defaults to `1`.
height?: int @ 0..,
/// The block to place on the ground.
block_state_provider: BlockStateProvider,
}

#[since="1.21.2"]
dispatch minecraft:tree_decorator[creaking_heart] to struct CreakingHeartTreeDecorator {
probability: float @ 0..1,
Expand Down

0 comments on commit 511b910

Please sign in to comment.