Not a whole lot to say. Why doesnt the tree grow? I tried with a oak tree, and it worked. Birch isnt working for me. If anyone knows what the problem might be, please let me know.
Thanks!
~Matt
Thanks!
~Matt
Code:
options:
birch: 1
function birch(block: block, stage: integer):
if {_block} is birch sapling:
add 1 to {_stage}
if {_stage} is 9:
broadcast "1"
grow birch tree at {_block}
broadcast "2"
else:
set block at location of {_block} to birch sapling
wait "%random number between 1 and {@birch}% seconds" parsed as timespan
birch({_block}, {_stage})
on place:
if player's held item is birch sapling:
wait "%random number between 1 and {@birch}% seconds" parsed as timespan
birch(event-block, 1)