Package net.minecraftforge.client.event
Class ClientPauseChangeEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientPauseChangeEvent
- Direct Known Subclasses:
ClientPauseChangeEvent.Post
,ClientPauseChangeEvent.Pre
public abstract class ClientPauseChangeEvent
extends net.minecraftforge.eventbus.api.Event
Fired when pause is about to change
These events are fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired when pause is already changedstatic class
Fired when pause is going to changeNested 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
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pause
private final boolean pause
-
-
Constructor Details
-
ClientPauseChangeEvent
public ClientPauseChangeEvent(boolean pause)
-
-
Method Details
-
isPaused
public boolean isPaused()Returns game is paused.- Returns:
- game is paused
-