Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

# place jigsaw gm4_apple_trees:apple_trees gm4_apple_trees:trunk 2 ~ ~1 ~
# jigsaw generation not usable after world-gen due to inherent position-based randomizaton
execute store result score $blocks_moved gm4_apple_data run clone ~-4 ~1 ~-4 ~4 ~7 ~4 ~-4 ~1 ~-4 filtered #gm4_apple_trees:tree_placeable force
execute unless score $blocks_moved gm4_apple_data matches 567 run return fail
function gm4_apple_trees:sapling/grow/generate_random_tree
execute if block ~ ~-1 ~ grass_block run setblock ~ ~-1 ~ dirt
execute positioned ~ ~1 ~ as @e[type=armor_stand,tag=gm4_apple_uninitialized,distance=..6] run function gm4_apple_trees:leaf/initialize
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"values": [
"#minecraft:replaceable_by_trees",
"#air",
"#minecraft:logs",
"#minecraft:saplings"
]
}
Loading