Package org.bukkit

Class Particle.TargetColor

java.lang.Object
org.bukkit.Particle.TargetColor
Enclosing class:
Particle

@Experimental public static class Particle.TargetColor extends Object
Options which can be applied to trail particles - a location and color.
  • Constructor Details

    • TargetColor

      public TargetColor(@NotNull Location target, @NotNull Color color)
  • Method Details

    • getTarget

      @NotNull public Location getTarget()
      The target of the particles to be displayed.
      Returns:
      particle target
    • getColor

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