1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Event on Water break blocks ?

Discussion in 'Development' started by dadodasyra, Mar 9, 2020.

  1. dadodasyra

    dadodasyra Witch

    Messages:
    68
    GitHub:
    dadodasyra
    How I can detect if a water break a block (likes tallgrass, wheat)
     
  2. Invy55

    Invy55 Witch

    Messages:
    52
    GitHub:
    invy55
    Maybe you can use this event, you check if the source is water $e->getSource() and the block breaked with $e->getBlock(). Where $e is the event
     
  3. dadodasyra

    dadodasyra Witch

    Messages:
    68
    GitHub:
    dadodasyra
    Mhh thx I will try this
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.