枚举的使用
org.bukkit.event.block.BlockIgniteEvent.IgniteCause
-
org.bukkit.event.block中BlockIgniteEvent.IgniteCause的使用
修饰符和类型方法说明BlockIgniteEvent.getCause()
获取点燃方块的原因.static BlockIgniteEvent.IgniteCause
返回带有指定名称的该类型的枚举常量。static BlockIgniteEvent.IgniteCause[]
BlockIgniteEvent.IgniteCause.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @NotNull Block ignitingBlock) BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @Nullable Entity ignitingEntity) BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @Nullable Entity ignitingEntity, @Nullable Block ignitingBlock)