程序包 org.bukkit

类 Particle.Trail

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

@Experimental public static class Particle.Trail extends Object
可以应用于轨迹粒子的选项 - 位置、颜色和持续时间。
  • 构造器详细资料

  • 方法详细资料

    • getTarget

      @NotNull public @NotNull Location getTarget()
      要显示的粒子的目标。
      返回:
      粒子目标。 原文: The target of the particles to be displayed.
    • getColor

      @NotNull public @NotNull Color getColor()
      要显示的粒子的颜色。
      返回:
      粒子颜色。 原文: The color of the particles to be displayed.
    • getDuration

      public int getDuration()
      要显示的轨迹的持续时间。
      返回:
      轨迹持续时间。 原文: The duration of the trail to be displayed.