public class YesNoForfeit extends YesNoDialogue
bm, mode, parent| Constructor and Description |
|---|
YesNoForfeit(BattleScreen parent)
Initializes the confirmation box.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
confirm()
Handles the user confirming the dialogue box's query.
|
protected void |
drawConfirmText(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height)
Draws confirmation text on the dialogue box.
|
void |
renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height,
int mouseX,
int mouseY,
int vOffset) |
click, rendergetMode, isScreenaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, removed, render, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic YesNoForfeit(BattleScreen parent)
parent - The screen that caused this box to appear.protected void drawConfirmText(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height)
YesNoDialoguedrawConfirmText in class YesNoDialoguewidth - The width of the screen.height - The height of the screen.protected void confirm()
YesNoDialogueconfirm in class YesNoDialoguepublic void renderBackground(com.mojang.blaze3d.matrix.MatrixStack matrix,
int width,
int height,
int mouseX,
int mouseY,
int vOffset)
renderBackground in class BattleBaseScreen