Skip to content

Commit b33457f

Browse files
Lib Trees - support mangrove and pale oak (#1252)
* update lib trees to support mangrove and pale oak * Fix Typo in Description --------- Co-authored-by: Bloo <git@bloo.boo>
1 parent fbe287d commit b33457f

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

lib_trees/beet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id: gm4_trees
22
name: Gamemode 4 Trees
3-
version: 1.3.X
4-
description: A mcfunction library that facilites the creation of custom trees.
3+
version: 1.4.X
4+
description: A mcfunction library that facilitates the creation of custom trees.
55

66
data_pack:
77
load:

lib_trees/data/gm4_trees/function/sapling/advance_stage.mcfunction

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ execute if block ~ ~ ~ minecraft:spruce_sapling run setblock ~ ~ ~ minecraft:spr
1010
execute if block ~ ~ ~ minecraft:jungle_sapling run setblock ~ ~ ~ minecraft:jungle_sapling[stage=0]
1111
execute if block ~ ~ ~ minecraft:acacia_sapling run setblock ~ ~ ~ minecraft:acacia_sapling[stage=0]
1212
execute if block ~ ~ ~ minecraft:dark_oak_sapling run setblock ~ ~ ~ minecraft:dark_oak_sapling[stage=0]
13-
execute if block ~ ~ ~ minecraft:mangrove_propagule[waterlogged=false] run setblock ~ ~ ~ minecraft:mangrove_propagule[stage=0,waterlogged=false]
14-
execute if block ~ ~ ~ minecraft:mangrove_propagule[waterlogged=true] run setblock ~ ~ ~ minecraft:mangrove_propagule[stage=0,waterlogged=true]
13+
execute if block ~ ~ ~ minecraft:pale_oak_sapling run setblock ~ ~ ~ minecraft:pale_oak_sapling[stage=0]
14+
execute if block ~ ~ ~ minecraft:mangrove_propagule[waterlogged=false,hanging=false,age=4] run setblock ~ ~ ~ minecraft:mangrove_propagule[stage=0,age=4,waterlogged=false]
15+
execute if block ~ ~ ~ minecraft:mangrove_propagule[waterlogged=true,hanging=false,age=4] run setblock ~ ~ ~ minecraft:mangrove_propagule[stage=0,age=4,waterlogged=true]
1516
execute if block ~ ~ ~ minecraft:cherry_sapling run setblock ~ ~ ~ minecraft:cherry_sapling[stage=0]
1617

1718
# advance stage of custom sapling, if stage is large enough, grow the tree

lib_trees/data/gm4_trees/function/sapling/place_sapling.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# @s = player that just placed a custom sapling
33
# at @s
44
# run from advancement gm4_trees:place_sapling
5+
# run from function tag gm4_trees:place_sapling
56

67
advancement revoke @s only gm4_trees:place_sapling
78

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gm4_trees:sapling/place_sapling"
4+
]
5+
}

0 commit comments

Comments
 (0)