Solved Coloured Effects

Discussion in 'Plugin Development' started by Coopah, Feb 28, 2019.

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

    Coopah

    I was just wondering how you can play coloured effects.

    For instance, the step_sound with material wool plays a break wool particle effect. How do I change it to say red wool?

    I'm not sure what happened but this code used to work and play coloured potion effects but now it just seems to play the default one?
    Code:
                    damaged.getWorld().playEffect(damaged.getLocation(), Effect.POTION_BREAK, 23);
    
     
    Last edited: Mar 4, 2019
  2. Offline

    Coopah

    Bump
     
  3. Offline

    bluecreeper111

    Is the sound that is played for red wool not the same as regular wool? I could be wrong, but don't understand why you need to play 'colored' sound effects.
     
  4. Offline

    CraftCreeper6

    @bluecreeper111
    I think the OP means that when you walk on wool it generates a particle effect at your feet based on the colour of the wool that you're stood on. They want to be able to change this colour.
     
  5. Offline

    bluecreeper111

    Ah makes much more sense.
     
  6. Offline

    Coopah

Thread Status:
Not open for further replies.

Share This Page