接口 SwingAnimationComponent
- 所有超级接口:
ConfigurationSerializable
Represents a component which determines the animation when using this item.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明intGets the animation duration.getType()Gets the animation type.voidsetDuration(int ticks) Sets the animation duration.voidSets the animation type从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
方法详细资料
-
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
-