枚举的使用
org.bukkit.event.block.TNTPrimeEvent.PrimeCause
-
org.bukkit.event.block中TNTPrimeEvent.PrimeCause的使用
修饰符和类型方法说明TNTPrimeEvent.getCause()
Get the cause of the TNT becoming primed.static TNTPrimeEvent.PrimeCause
返回带有指定名称的该类型的枚举常量。static TNTPrimeEvent.PrimeCause[]
TNTPrimeEvent.PrimeCause.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明TNTPrimeEvent
(@NotNull Block block, @NotNull TNTPrimeEvent.PrimeCause igniteCause, @Nullable Entity primingEntity, @Nullable Block primingBlock)