public class NotificationScreen extends Screen
Modifier and Type | Class and Description |
---|---|
private class |
NotificationScreen.TextPanel |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action |
private java.lang.String[] |
headerLines |
protected static int |
PADDING |
protected StartupQuery |
query |
private java.lang.String[] |
textLines |
private ScrollPanel |
textPanel |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
NotificationScreen(StartupQuery query) |
Modifier and Type | Method and Description |
---|---|
protected void |
addConfirmationButtons() |
protected void |
drawCenteredLines(int yStart,
java.lang.String... lines) |
void |
init() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
protected static final int PADDING
protected final StartupQuery query
private final java.lang.String[] headerLines
private final java.lang.String[] textLines
private final java.lang.String action
private ScrollPanel textPanel
public NotificationScreen(StartupQuery query)
protected void addConfirmationButtons()
public void render(int mouseX, int mouseY, float partialTicks)
render
in interface IRenderable
render
in class Screen
protected void drawCenteredLines(int yStart, java.lang.String... lines)