Class ClientPauseChangeEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientPauseChangeEvent
net.minecraftforge.client.event.ClientPauseChangeEvent.Pre
Enclosing class:
ClientPauseChangeEvent

public static class ClientPauseChangeEvent.Pre extends ClientPauseChangeEvent
Fired when pause is going to change

This event is cancellable, and does not have a result.

Cancelling this event will prevent the game change pause state even if the conditions match

This event is fired on the main Forge event bus, only on the logical client.

  • Constructor Details

    • Pre

      public Pre(boolean pause)