public class GuiModalConfirm extends GuiModal<GuiModalConfirm>
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 |
|---|
GuiModalConfirm(net.minecraft.client.gui.GuiScreen parent,
java.lang.String title,
int modalWidth,
int modalHeight,
java.util.function.Consumer<GuiModalConfirm> onConfirm,
java.util.function.Consumer<GuiModalConfirm> onCancel,
java.lang.String text,
int textColor) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
actionPerformed, 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 GuiModalConfirm(net.minecraft.client.gui.GuiScreen parent,
java.lang.String title,
int modalWidth,
int modalHeight,
java.util.function.Consumer<GuiModalConfirm> onConfirm,
java.util.function.Consumer<GuiModalConfirm> onCancel,
java.lang.String text,
int textColor)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiModal<GuiModalConfirm>