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

  • Method Details

    • getTarget

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

      @NotNull public @NotNull 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