public interface ChangeGameModeEvent extends TargetHumanoidEvent, Cancellable
Modifier and Type | Interface and Description |
---|---|
static interface |
ChangeGameModeEvent.TargetPlayer |
Modifier and Type | Method and Description |
---|---|
GameMode |
getGameMode()
Gets the new
GameMode . |
GameMode |
getOriginalGameMode()
Gets the original
GameMode . |
void |
setGameMode(GameMode gameMode)
Sets the new
GameMode . |
getTargetEntity
getCause, getContext, getSource
isCancelled, setCancelled