Remove pickaxe sound

Discussion in 'Plugin Development' started by ChillxHunter, Nov 18, 2018.

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

    ChillxHunter

    Hello I create a stealthy plugin and I would like us not to hear the noise of the blocks when someone breaks with the picks. Would there be a code that could remove the sound of the pickaxe when it breaks blocks?
     
  2. Offline

    Zombie_Striker

    @ChillxHunter
    https://wiki.vg/Protocol#Effect

    Listen for this packet using protocol lib. If the packet is the one for blocks being broken, cancel the packet. This only controls the particles and the sound, so the block will still be broken.
     
    johnny_boy likes this.
Thread Status:
Not open for further replies.

Share This Page