public class NotificationModUpdateScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private boolean |
hasCheckedForUpdates |
private Button |
modButton |
private VersionChecker.Status |
showNotification |
private static ResourceLocation |
VERSION_CHECK_ICONS |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
NotificationModUpdateScreen(Button modButton) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
static NotificationModUpdateScreen |
init(MainMenuScreen guiMainMenu,
Button modButton) |
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
private static final ResourceLocation VERSION_CHECK_ICONS
private final Button modButton
private VersionChecker.Status showNotification
private boolean hasCheckedForUpdates
public NotificationModUpdateScreen(Button modButton)
public void render(int mouseX, int mouseY, float partialTicks)
render
in interface IRenderable
render
in class Screen
public static NotificationModUpdateScreen init(MainMenuScreen guiMainMenu, Button modButton)