Package org.bukkit

Class Particle.DustOptions

java.lang.Object
org.bukkit.Particle.DustOptions
Direct Known Subclasses:
Particle.DustTransition
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 Details

    • DustOptions

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

    • 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