Class ScreenEvent.Closing

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.Closing
Enclosing class:
ScreenEvent

public static class ScreenEvent.Closing extends ScreenEvent
Fired before a Screen is closed. All screen layers on the screen are closed before this event is fired.

This event is not cancellable, and does not

invalid reference
have a result
.

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

  • Constructor Details

    • Closing

      @Internal public Closing(Screen screen)