Solved On grow event tree type

  • 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 comminuty!

    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.
G

Goetheus

Hi everybody !

I have a problem with tree types. When I use the grow event, I can limit it to oak or spruce trees, but not to birch, jungle, acacia or dark oak!

code_language.skript:
on grow of oak:
    #stuff

on grow of spruce:
    #stuff
These codes work.

code_language.skript:
on grow of birch:
    #stuff

on grow of jungle:
    #stuff

on grow of acacia:
    #stuff

on grow of dark oak:
    #stuff
Those do not work!

My question is... why? :'(
 
Seems that the event doesn't support them , but you can check it with another method:
code_language.skript:
on grow:
    wait 4 ticks
    loop all blocks in radius 1 of event-location:
        if loop-block is birch wood:
            broadcast "BIRCH WOOD!"
            stop
Works well :emoji_stuck_out_tongue_winking_eye:
 
Status
Not open for further replies.