Solved How to track block's data changes?

Discussion in 'Plugin Development' started by OLEGSHA, Mar 27, 2015.

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

    OLEGSHA

    Hello,
    I'm making a plugin in which I want to erase data from blocks when they are changed in any way. I need to know every time when block's ID, data, or both change to do that. So, my question is: are there any events called when this happens, or do I have to check that manually every tick?
    I cannot use all event.block events because that won't cover simple Block.setType methods that other plugins may use, will it?
    Thank you.
     
  2. Offline

    NathanWolf

    There's no way to detect another plugin changing a block, as far as I know.
     
  3. BlockPhysicsEvent or BlockEvent or with a Runnable.
     
Thread Status:
Not open for further replies.

Share This Page