枚举的使用
org.bukkit.event.player.PlayerSignOpenEvent.Cause
-
org.bukkit.event.player中PlayerSignOpenEvent.Cause的使用
修饰符和类型方法说明PlayerSignOpenEvent.getCause()
Gets the cause of the sign open.static PlayerSignOpenEvent.Cause
返回带有指定名称的该类型的枚举常量。static PlayerSignOpenEvent.Cause[]
PlayerSignOpenEvent.Cause.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明PlayerSignOpenEvent
(@NotNull Player player, @NotNull Sign sign, @NotNull Side side, @NotNull PlayerSignOpenEvent.Cause cause)