Uses of Enum Class
org.bukkit.event.player.PlayerKickEvent.Cause
Packages that use PlayerKickEvent.Cause
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of PlayerKickEvent.Cause in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type PlayerKickEvent.CauseModifier and TypeMethodDescriptionvoid
Player.kick
(@Nullable Component message, @NotNull PlayerKickEvent.Cause cause) Kicks player with custom kick message and cause. -
Uses of PlayerKickEvent.Cause in org.bukkit.event.player
Methods in org.bukkit.event.player that return PlayerKickEvent.CauseModifier and TypeMethodDescriptionPlayerKickEvent.getCause()
Gets the cause of this kickstatic PlayerKickEvent.Cause
Returns the enum constant of this class with the specified name.static PlayerKickEvent.Cause[]
PlayerKickEvent.Cause.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.bukkit.event.player with parameters of type PlayerKickEvent.CauseModifierConstructorDescriptionPlayerKickEvent
(@NotNull Player playerKicked, Component kickReason, Component leaveMessage, @NotNull PlayerKickEvent.Cause cause)