接口 SwingAnimationComponent
- 所有超级接口:
ConfigurationSerializable
表示一个决定使用此物品时动画的组件。
-
嵌套类概要
嵌套类 -
方法概要
从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
方法详细资料
-
getType
获取动画类型。原文:Gets the animation type.
- 返回:
- 动画类型
-
setType
设置动画类型。原文:Sets the animation type.
- 参数:
type- 动画类型
-
getDuration
int getDuration()获取动画持续时间。原文:Gets the animation duration.
- 返回:
- 动画持续时间(以刻为单位)
-
setDuration
void setDuration(int ticks) 设置动画持续时间。原文:Sets the animation duration.
- 参数:
ticks- 持续时间(以刻为单位)
-