public static class GuiScreenEvent.InitGuiEvent.Pre extends GuiScreenEvent.InitGuiEvent
GuiScreen.mc, GuiScreen.fontRenderer,
GuiScreen.width, and GuiScreen.height.GuiScreen.setWorldAndResolution(Minecraft, int, int):this.buttonList.clear();this.children.clear();this.initGui();GuiScreenEvent.InitGuiEvent.Post, GuiScreenEvent.InitGuiEvent.PreGuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent| Constructor and Description |
|---|
Pre(GuiScreen gui,
java.util.List<GuiButton> buttonList,
java.util.function.Consumer<GuiButton> addButton,
java.util.function.Consumer<GuiButton> removeButton) |
addButton, getButtonList, removeButtongetGui