Package net.minecraftforge.client.event
Class ClientPauseEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientPauseEvent
public class ClientPauseEvent
extends net.minecraftforge.eventbus.api.Event
Fired when Minecraft.pause value got updated by
the Minecraft.runTick(...) on a single-player world
This event is not cancellable, and does not have a result.
This event is fired on the main Forge event bus, only on the logical client.
-
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
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
paused
private final boolean paused
-
-
Constructor Details
-
ClientPauseEvent
public ClientPauseEvent(boolean isPaused)
-
-
Method Details
-
isPaused
public boolean isPaused()Returns game is paused.- Returns:
- game is paused
-