程序包 org.bukkit

类 Particle.Trail

java.lang.Object
org.bukkit.Particle.Trail
封闭类:
Particle

@Experimental public static class Particle.Trail extends Object
Options which can be applied to trail particles - a location, color and duration.
  • 构造器详细资料

  • 方法详细资料

    • getTarget

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

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

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