Is it possible to play a potion effect without the sound?

Discussion in 'Plugin Development' started by MrSnare, Feb 26, 2013.

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

    MrSnare

    I don't want the potion break sound, just the little smoky things
     
  2. Offline

    chasechocolate

    When a player throws it? If not, just use:
    Code:java
    1. player.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, 100, 1));

    This won't play the sound.
     
  3. Offline

    MrSnare

    This will add the potion effect to the player though. I only wish to play Effect.POTION_BREAK without the sound that comes with it
     
  4. Offline

    Alvarez96

Thread Status:
Not open for further replies.

Share This Page