接口 SwingAnimationComponent

所有超级接口:
ConfigurationSerializable

@Experimental public interface SwingAnimationComponent extends ConfigurationSerializable
Represents a component which determines the animation when using this item.
  • 方法详细资料

    • getType

      Gets the animation type.
      返回:
      animation type
    • setType

      Sets the animation type
      参数:
      type - animation type
    • getDuration

      int getDuration()
      Gets the animation duration.
      返回:
      animation duration in ticks
    • setDuration

      void setDuration(int ticks)
      Sets the animation duration.
      参数:
      ticks - duration in ticks