Glass Stepsound

Discussion in 'Plugin Development' started by Coopah, Jan 17, 2020.

  1. Offline

    Coopah

    How to I change the colour of the glass when playing a step sound effect?
    Code:
    p.getWorld().playEffect(p.getLocation().add(0, 1, 0), Effect.STEP_SOUND, Material.STAINED_GLASS);
    
     
  2. Offline

    Kars

    @Coopah you mean change the block in the same place in the code where you play the sound effect?
     
  3. Offline

    Coopah

    No, I want to play a step sound effect of glass, but I want the glass step sound to be a different coloured glass like purple, not the default white one.
     

Share This Page