Tring to find the right event.

Discussion in 'Plugin Development' started by kerovan, Nov 11, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    kerovan

    So when lava and water touches cobblestone/obsidian/smooth stone is created. Does anybody happen to know which event is fired when this action occurs?

    Thanks in advance for any help on this.

    wait i think i found it.. onBlockFromToEvent?? currently setting up a test.

    nope doesnt seem to work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  2. Offline

    thescreem

    I don't have much experience with this type of event, but try to use the BlockFormEvent. ;)
     
  3. Offline

    kerovan

    Thank you for your reply thescreem I tried that event. I realized that the check in the blockfromto was checking the wrong block. so it is somewhat working. This event seems to be fired A LOT due to naturally occurring spots where blocks are being changed. However I was able to at least convert the stone to cobble with only about a .5 sec delay. Cancelling the event doesn't seem to work, my guess is because of the amount of times this event is being fired.
     
Thread Status:
Not open for further replies.

Share This Page