Class NavigatableSimiScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.createmod.catnip.gui.AbstractSimiScreen
net.createmod.catnip.gui.NavigatableSimiScreen
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
Direct Known Subclasses:
AbstractPonderScreen

public abstract class NavigatableSimiScreen extends AbstractSimiScreen
  • Nested Class Summary

    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
    protected final LerpedFloat
     
    protected BoxWidget
     
    static final Couple<Color>
     
    protected static boolean
     
    protected int
     
    protected int
     
     

    Fields inherited from class net.createmod.catnip.gui.AbstractSimiScreen

    BACKGROUND_COLOR, guiLeft, guiTop, windowHeight, windowWidth, windowXOffset, windowYOffset

    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, narratorButton, PANORAMA, screenExecutor, title, width

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.network.chat.Component
     
    void
    centerScalingOn(int x, int y)
     
    void
     
    protected String
     
    protected void
     
    protected abstract void
    Called when this represents the previous screen to initialize the backTrack icon of the current screen.
    static boolean
     
    boolean
     
    boolean
    keyPressed(int code, int p_keyPressed_2_, int p_keyPressed_3_)
     
    void
     
    void
    renderBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    protected void
    renderWindow(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderWindowBackground(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderZeloBreadcrumbs(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    void
     
    void
     

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

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

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

    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

    • COLOR_NAV_ARROW

      public static final Couple<Color> COLOR_NAV_ARROW
    • currentlyRenderingPreviousScreen

      protected static boolean currentlyRenderingPreviousScreen
    • depthPointX

      protected int depthPointX
    • depthPointY

      protected int depthPointY
    • transition

      public final LerpedFloat transition
    • arrowAnimation

      protected final LerpedFloat arrowAnimation
    • backTrack

      @Nullable protected BoxWidget backTrack
  • Constructor Details

    • NavigatableSimiScreen

      public NavigatableSimiScreen()
  • Method Details

    • onClose

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

      public void tick()
      Overrides:
      tick in class AbstractSimiScreen
    • init

      protected void init()
      Overrides:
      init in class AbstractSimiScreen
    • initBackTrackIcon

      protected abstract void initBackTrackIcon(BoxWidget backTrack)
      Called when this represents the previous screen to initialize the backTrack icon of the current screen.
      Parameters:
      backTrack - The backTrack button of the current screen.
    • backTrackingComponent

      protected net.minecraft.network.chat.Component backTrackingComponent()
    • renderWindow

      protected void renderWindow(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Specified by:
      renderWindow in class AbstractSimiScreen
    • renderBackground

      public void renderBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Overrides:
      renderBackground in class net.minecraft.client.gui.screens.Screen
    • renderWindowBackground

      protected void renderWindowBackground(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Overrides:
      renderWindowBackground in class AbstractSimiScreen
    • keyPressed

      public boolean keyPressed(int code, int p_keyPressed_2_, int p_keyPressed_3_)
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      keyPressed in class AbstractSimiScreen
    • centerScalingOn

      public void centerScalingOn(int x, int y)
    • centerScalingOnMouse

      public void centerScalingOnMouse()
    • isEquivalentTo

      public boolean isEquivalentTo(NavigatableSimiScreen other)
    • shareContextWith

      public void shareContextWith(NavigatableSimiScreen other)
    • renderZeloBreadcrumbs

      protected void renderZeloBreadcrumbs(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
    • isCurrentlyRenderingPreviousScreen

      public static boolean isCurrentlyRenderingPreviousScreen()
    • getBreadcrumbTitle

      protected String getBreadcrumbTitle()