Solved make it so my special pickaxe cant mine

Discussion in 'Plugin Development' started by MRANDOM, Mar 28, 2021.

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

    MRANDOM

    Ive tried -negative efficiency, that didn't work. I tried a couple other things I cant remember. is there a easy way to make it so people cant mine with a certain pic besides creating a listener?
     
  2. Offline

    davidclue

    I don't think so unless they are in adventure mode maybe you could make it break every other block beside a few. What's the problem with using a listener?
     
  3. Offline

    CraftCreeper6

    @MRANDOM
    Why don't you want a Listener?
     
  4. Offline

    MRANDOM

    because it would be slightly more server efficient if there was a like a item attribute that I could change
     
  5. Offline

    davidclue

    If you're literally adding one line of code in a listener that checks what item and then the block, the effect it will have on performance won't even be noticeable.
     
Thread Status:
Not open for further replies.

Share This Page