Block Breaking time

Discussion in 'Plugin Development' started by Sammy, May 2, 2011.

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

    Sammy

    Quick question, is it me or the time you take to destroy a block is clientside ?

    I would like to have a way to differentiate a block by it's 'tensile strength' ...
    What I understood so far is that the getMaxDurability() method is only for duration while using it (using a sword or a pickaxe)
     
  2. Maybe just check what block they're clicking, then you can cancel some of the block damage events to add strength or whatever :p
     
  3. Offline

    Sammy

    Well that wouldn't work for what I want... :(
    I want to make a small algorithm that differentiates blocks by the time you need to brake it, and then store it in a HashMap onEnable()
     
  4. Offline

    cholo71796

    Perhaps you could make a quick plugin that records your block breaks and then outputs it, then use the data you get and put it in your plugin.
     
  5. Offline

    Sammy

    Well my question is if there's a way to differentiate block's strength :p
     
  6. Offline

    cholo71796

    Not sure exactly what you mean, but there's this.
     
Thread Status:
Not open for further replies.

Share This Page