Class KubeJSErrorScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
dev.latvian.mods.kubejs.client.KubeJSErrorScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement

public class KubeJSErrorScreen extends net.minecraft.client.gui.screens.Screen
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen

    net.minecraft.client.gui.screens.Screen.NarratableSearchResult
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
     
     
    final net.minecraft.client.gui.screens.Screen
     
    final Path
     
     
     
     

    Fields inherited from class net.minecraft.client.gui.screens.Screen

    CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratables, narratorButton, PANORAMA, renderables, screenExecutor, title, width

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    KubeJSErrorScreen(net.minecraft.client.gui.screens.Screen lastScreen, ConsoleJS console, boolean canClose)
     
    KubeJSErrorScreen(net.minecraft.client.gui.screens.Screen lastScreen, ScriptType scriptType, @Nullable Path logFile, List<ConsoleLine> errors, List<ConsoleLine> warnings, boolean canClose)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
    protected void
     
    void
     
    void
    render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mx, int my, float delta)
     
    boolean
     

    Methods inherited from class net.minecraft.client.gui.screens.Screen

    added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenError

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    mouseMoved

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

    • lastScreen

      public final net.minecraft.client.gui.screens.Screen lastScreen
    • scriptType

      public final ScriptType scriptType
    • logFile

      public final Path logFile
    • errors

      public final List<ConsoleLine> errors
    • warnings

      public final List<ConsoleLine> warnings
    • canClose

      public final boolean canClose
    • viewing

      public List<ConsoleLine> viewing
  • Constructor Details

    • KubeJSErrorScreen

      public KubeJSErrorScreen(net.minecraft.client.gui.screens.Screen lastScreen, ScriptType scriptType, @Nullable @Nullable Path logFile, List<ConsoleLine> errors, List<ConsoleLine> warnings, boolean canClose)
    • KubeJSErrorScreen

      public KubeJSErrorScreen(net.minecraft.client.gui.screens.Screen lastScreen, ConsoleJS console, boolean canClose)
  • Method Details

    • getNarrationMessage

      public net.minecraft.network.chat.Component getNarrationMessage()
      Overrides:
      getNarrationMessage in class net.minecraft.client.gui.screens.Screen
    • init

      protected void init()
      Overrides:
      init in class net.minecraft.client.gui.screens.Screen
    • render

      public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mx, int my, float delta)
      Specified by:
      render in interface net.minecraft.client.gui.components.Renderable
      Overrides:
      render in class net.minecraft.client.gui.screens.Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Overrides:
      shouldCloseOnEsc in class net.minecraft.client.gui.screens.Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class net.minecraft.client.gui.screens.Screen