枚举的使用
org.bukkit.event.world.TimeSkipEvent.SkipReason
使用TimeSkipEvent.SkipReason的程序包
-
org.bukkit.event.world中TimeSkipEvent.SkipReason的使用
修饰符和类型方法说明TimeSkipEvent.getSkipReason()获取发生时间快进的原因.static TimeSkipEvent.SkipReason返回带有指定名称的该类型的枚举常量。static TimeSkipEvent.SkipReason[]TimeSkipEvent.SkipReason.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明TimeSkipEvent(@NotNull World world, @NotNull TimeSkipEvent.SkipReason skipReason, long skipAmount)