接口的使用
org.bukkit.inventory.meta.components.SwingAnimationComponent
使用SwingAnimationComponent的程序包
-
org.bukkit.inventory.meta中SwingAnimationComponent的使用
修饰符和类型方法说明ItemMeta.getSwingAnimation()Gets the swing animation set on this item, or creates an empty animation instance.修饰符和类型方法说明voidItemMeta.setSwingAnimation(@Nullable SwingAnimationComponent component) Sets the item swing animation.