public class NotificationModUpdateScreen extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private boolean |
hasCheckedForUpdates |
private GuiButton |
modButton |
private ForgeVersion.Status |
showNotification |
private static ResourceLocation |
VERSION_CHECK_ICONS |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
NotificationModUpdateScreen(GuiButton modButton) |
Modifier and Type | Method and Description |
---|---|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
static NotificationModUpdateScreen |
init(GuiMainMenu guiMainMenu,
GuiButton modButton) |
void |
initGui() |
actionPerformed, addButton, 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, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final ResourceLocation VERSION_CHECK_ICONS
private final GuiButton modButton
private ForgeVersion.Status showNotification
private boolean hasCheckedForUpdates
public NotificationModUpdateScreen(GuiButton modButton)
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public static NotificationModUpdateScreen init(GuiMainMenu guiMainMenu, GuiButton modButton)