Package org.bukkit

Class Particle.Trail

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

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

    • Trail

      public Trail(@NotNull Location target, @NotNull Color color, int duration)
  • 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
    • getDuration

      public int getDuration()
      The duration of the trail to be displayed.
      Returns:
      trail duration