Package org.bukkit

Class Particle.DustOptions

  • Enclosing class:
    Particle

    public static class Particle.DustOptions
    extends Object
    Options which can be applied to redstone dust particles - a particle color and size.
    • Constructor Detail

      • DustOptions

        public DustOptions​(@NotNull
                           Color color,
                           float size)
    • Method Detail

      • getColor

        @NotNull
        public Color getColor()
        The color of the particles to be displayed.
        Returns:
        particle color
      • getSize

        public float getSize()
        Relative size of the particle.
        Returns:
        relative particle size