public class LoadingErrorScreen extends ErrorScreen
Modifier and Type | Class and Description |
---|---|
static class |
LoadingErrorScreen.LoadingEntryList |
Modifier and Type | Field and Description |
---|---|
private LoadingErrorScreen.LoadingEntryList |
entryList |
private java.lang.String |
errorHeader |
private java.nio.file.Path |
logFile |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.util.List<ModLoadingException> |
modLoadErrors |
private java.util.List<ModLoadingWarning> |
modLoadWarnings |
private java.nio.file.Path |
modsDir |
private java.lang.String |
warningHeader |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
LoadingErrorScreen(LoadingFailedException loadingException,
java.util.List<ModLoadingWarning> warnings) |
Modifier and Type | Method and Description |
---|---|
private void |
drawMultiLineCenteredString(FontRenderer fr,
java.lang.String str,
int x,
int y) |
void |
init() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
shouldCloseOnEsc
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, 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 org.apache.logging.log4j.Logger LOGGER
private final java.nio.file.Path modsDir
private final java.nio.file.Path logFile
private final java.util.List<ModLoadingException> modLoadErrors
private final java.util.List<ModLoadingWarning> modLoadWarnings
private LoadingErrorScreen.LoadingEntryList entryList
private java.lang.String errorHeader
private java.lang.String warningHeader
public LoadingErrorScreen(LoadingFailedException loadingException, java.util.List<ModLoadingWarning> warnings)
public void init()
init
in class ErrorScreen
public void render(int mouseX, int mouseY, float partialTicks)
render
in interface IRenderable
render
in class ErrorScreen
private void drawMultiLineCenteredString(FontRenderer fr, java.lang.String str, int x, int y)