How to get the different growth stages (potatoes, carot, etc) ?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

pepper82

Member
Jan 26, 2017
272
1
18
I want to find out the current growth stage of a targeted block (e.g. carot, potato etc.).
I only found something to work with wheat, but I need it for the other plants as well.
 
I would like to find out too, I'm making a fast harvest script, so it breaks a 3x3 square of crops, (demonstration) I also want it to do the same with bonemeal, I think the growth of the plants is random from one tick to another but I'll be looking into how to simulate the use of bone meal on them, the answer to your post is relevent to me as I also need to know how to 1up the growth of crops.
 
Each plant growth has a different ID number. For example, wheat fully grown is 59:7. One of my skripts plants a seed when you break a fully grown wheat plant and the code I use is this.

code_language.skript:
on break of 59:7:
    drop 2 wheat under player
    set block to crops

This only checks if a fully grown wheat is broken. Nothing else. This might be be related to your problem, but it might be useful for you.
 
Status
Not open for further replies.