Class Particle.Trail

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

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

  • Method Details

    • getTarget

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

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

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