- Enclosing class:
ServerEvents.Player.Kick
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
boolean
allowKick(@NotNull net.minecraft.server.level.ServerPlayer player,
@NotNull net.minecraft.network.chat.Component reason)
Called when a player kicks a server