Interface ScreenEvent.InitPost
- Enclosing interface:
- ScreenEvent
public static interface ScreenEvent.InitPost
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invoke
(net.minecraft.client.gui.screen.Screen screen) An event that is triggered after aScreen
object has been initialized.
-
Method Details
-
invoke
void invoke(net.minecraft.client.gui.screen.Screen screen) An event that is triggered after aScreen
object has been initialized. This event provides an opportunity for listeners to perform actions or modify the state of theScreen
after its initialization.This event uses a
Consumer
interface for its listeners, which accept aScreen
argument representing theScreen
that was initialized.- Parameters:
screen
- TheScreen
in question.
-