Block Break Event Check

Discussion in 'Plugin Development' started by Irantwomiles, Feb 12, 2015.

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

    Irantwomiles

    So I'm working on a plugin where it checks if you mines a diamond and it adds one to a variable I've set up, nothing complicating, but my problem is how do I check if the block has been mined before, like if a silk touch pick axe mined it before and they are mining it again. Thanks
     
  2. Offline

    Skionz

  3. Offline

    Irantwomiles

    @Skionz I don't see what that would do?
     
  4. Offline

    Skionz

    @Irantwomiles There are plenty of ways to store data. Just pick one.
     
  5. Offline

    aaomidi

    Create your own Location object containing the Vector of the location and the UUID of the world.
    Store that, and you're pretty much done :)
     
  6. Offline

    Irantwomiles

Thread Status:
Not open for further replies.

Share This Page