Uses of Enum Class
org.bukkit.event.player.PlayerSpawnChangeEvent.Cause
-
Uses of PlayerSpawnChangeEvent.Cause in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerSpawnChangeEvent.getCause()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the cause of spawn change.static PlayerSpawnChangeEvent.Cause
Returns the enum constant of this class with the specified name.static PlayerSpawnChangeEvent.Cause[]
PlayerSpawnChangeEvent.Cause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerSpawnChangeEvent
(@NotNull Player player, @Nullable Location newSpawn, boolean forced, @NotNull PlayerSpawnChangeEvent.Cause cause) Deprecated, for removal: This API element is subject to removal in a future version.