Class ClientPauseChangeEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ClientPauseChangeEvent
net.neoforged.neoforge.client.event.ClientPauseChangeEvent.Pre
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
ClientPauseChangeEvent

public static class ClientPauseChangeEvent.Pre extends ClientPauseChangeEvent implements net.neoforged.bus.api.ICancellableEvent
Fired when pause is going to change

This event is cancellable, and does not

invalid reference
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)