public class ConfirmationScreen extends AbstractSimiScreen
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfirmationScreen.Response |
guiLeft, guiTop, widgets, windowHeight, windowWidth, windowXOffset, windowYOffset| Constructor and Description |
|---|
ConfirmationScreen() |
| Modifier and Type | Method and Description |
|---|---|
ConfirmationScreen |
addText(net.minecraft.util.text.ITextProperties text) |
ConfirmationScreen |
at(int x,
int y) |
ConfirmationScreen |
centered() |
ConfirmationScreen |
clearText() |
protected void |
endFrame() |
protected void |
init() |
boolean |
isPauseScreen() |
void |
onClose() |
void |
open(net.minecraft.client.gui.screen.Screen source) |
protected void |
prepareFrame() |
ConfirmationScreen |
removeTextLines(int amount) |
protected void |
renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderWindowBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks) |
void |
resize(net.minecraft.client.Minecraft client,
int width,
int height) |
void |
tick() |
ConfirmationScreen |
withAction(java.util.function.Consumer<java.lang.Boolean> action) |
ConfirmationScreen |
withText(net.minecraft.util.text.ITextProperties text) |
ConfirmationScreen |
withThreeActions(java.util.function.Consumer<ConfirmationScreen.Response> action) |
charTyped, debugWindowArea, getWidgets, keyPressed, mouseClicked, mouseReleased, mouseScrolled, render, renderWindowForeground, setWindowOffset, setWindowSize, shouldCloseOnEscaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, sendMessage, sendMessage, 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 ConfirmationScreen removeTextLines(int amount)
public ConfirmationScreen clearText()
public ConfirmationScreen addText(net.minecraft.util.text.ITextProperties text)
public ConfirmationScreen withText(net.minecraft.util.text.ITextProperties text)
public ConfirmationScreen at(int x, int y)
public ConfirmationScreen centered()
public ConfirmationScreen withAction(java.util.function.Consumer<java.lang.Boolean> action)
public ConfirmationScreen withThreeActions(java.util.function.Consumer<ConfirmationScreen.Response> action)
public void open(@Nonnull
net.minecraft.client.gui.screen.Screen source)
public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class AbstractSimiScreenprotected void init()
init in class AbstractSimiScreenpublic void onClose()
onClose in class net.minecraft.client.gui.screen.Screenprotected void renderWindow(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindow in class AbstractSimiScreenprotected void renderWindowBackground(com.mojang.blaze3d.matrix.MatrixStack ms,
int mouseX,
int mouseY,
float partialTicks)
renderWindowBackground in class AbstractSimiScreenprotected void prepareFrame()
prepareFrame in class AbstractSimiScreenprotected void endFrame()
endFrame in class AbstractSimiScreenpublic void resize(@Nonnull
net.minecraft.client.Minecraft client,
int width,
int height)
resize in class net.minecraft.client.gui.screen.Screenpublic boolean isPauseScreen()
isPauseScreen in class AbstractSimiScreen