public class GuiModalPresetConfirm extends GuiModal<GuiModalPresetConfirm>
BUTTON_G_WIDTH, BUTTON_HEIGHT, BUTTON_PADDING, BUTTON_S_WIDTH, buttonCancel, buttonConfirm, GUI_ID_CANCEL, GUI_ID_CONFIRM, GUI_LABEL_CANCEL, GUI_LABEL_CONFIRM, GUI_PADDING, MODAL_L_HEIGHT, MODAL_S_HEIGHT, MODAL_S_WIDTH, modalHeight, modalWidth, onCancel, onConfirm, parent, TEXT_PADDING, title| Constructor and Description |
|---|
GuiModalPresetConfirm(net.minecraft.client.gui.GuiScreen parent,
java.lang.String title,
java.util.function.Consumer<GuiModalPresetConfirm> onConfirm,
java.util.function.Consumer<GuiModalPresetConfirm> onCancel,
java.util.List<java.lang.String> textList,
java.util.List<java.lang.Integer> textColors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.GuiButton guiButton) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
drawModal, initGuiaddButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreenpublic GuiModalPresetConfirm(net.minecraft.client.gui.GuiScreen parent,
java.lang.String title,
java.util.function.Consumer<GuiModalPresetConfirm> onConfirm,
java.util.function.Consumer<GuiModalPresetConfirm> onCancel,
java.util.List<java.lang.String> textList,
java.util.List<java.lang.Integer> textColors)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiModal<GuiModalPresetConfirm>protected void actionPerformed(net.minecraft.client.gui.GuiButton guiButton)
throws java.io.IOException
actionPerformed in class GuiModal<GuiModalPresetConfirm>java.io.IOException