Skript Version: Skript 2.2 dev33
Skript Author: Bensku
Minecraft Version: 1.12.2
I'm trying to create a unique farming skript. Where plants growth by it self but I don't know how to make it so when player break that specific block the plant stop growing. I know my problem but I have no clue how to write it
Here is my take and it works but when break the blocks still growth because of tick. :3 anyways I can stop it when a person break??
Skript Author: Bensku
Minecraft Version: 1.12.2
I'm trying to create a unique farming skript. Where plants growth by it self but I don't know how to make it so when player break that specific block the plant stop growing. I know my problem but I have no clue how to write it
Here is my take and it works but when break the blocks still growth because of tick. :3 anyways I can stop it when a person break??
code_language.skript:
on rightclick on soil:
if name of tool of player is "&aCucumber Seed":
remove 1 of event-item from player
if block above is air:
wait 10 tick
set block above to crops
wait 20 tick
set block above to crops:1
wait 20 tick
set block above to crops:2
wait 20 tick
set block above to crops:3
wait 20 tick
set block above to crops:4
wait 20 tick
set block above to crops:5
wait 20 tick
set block above to crops:6
wait 20 tick
set block above to crops:7
wait 20 tick
set block above to fern
on break of crops:0-6:
if block below event-block is farmland:
cancel event