Package net.minecraftforge.client.event
Class ClientPlayerChangeGameModeEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientPlayerChangeGameModeEvent
public class ClientPlayerChangeGameModeEvent
extends net.minecraftforge.eventbus.api.Event
Fired before the client player is notified of a change in game mode from the server.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientPlayerChangeGameModeEvent(PlayerInfo info, GameType currentGameMode, GameType newGameMode)
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
info
-
currentGameMode
-
newGameMode
-
-
Constructor Details
-
ClientPlayerChangeGameModeEvent
public ClientPlayerChangeGameModeEvent(PlayerInfo info, GameType currentGameMode, GameType newGameMode)
-
-
Method Details
-
getInfo
-
getCurrentGameMode
-
getNewGameMode
-