Class ScreenEvent.Init.Post

java.lang.Object
net.neoforged.bus.api.Event
Enclosing class:
ScreenEvent.Init

public static class ScreenEvent.Init.Post extends ScreenEvent.Init
Fired after the screen's overridable initialization method is called.

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

    • Post

      @Internal public Post(net.minecraft.client.gui.screens.Screen screen, List<net.minecraft.client.gui.components.events.GuiEventListener> list, Consumer<net.minecraft.client.gui.components.events.GuiEventListener> add, Consumer<net.minecraft.client.gui.components.events.GuiEventListener> remove)