Class NavigatableSimiScreen

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.simibubi.create.foundation.gui.AbstractSimiScreen
com.simibubi.create.foundation.ponder.ui.NavigatableSimiScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget
Direct Known Subclasses:
PonderIndexScreen, PonderTagIndexScreen, PonderTagScreen, PonderUI

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 PonderButton
     
    protected int
     
    protected int
     
    static final String
     
     

    Fields inherited from class com.simibubi.create.foundation.gui.AbstractSimiScreen

    guiLeft, guiTop, windowHeight, windowWidth, windowXOffset, windowYOffset

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

    font, height, itemRenderer, minecraft, passEvents, renderables, title, width

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION

    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 String
     
    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.
    boolean
     
    boolean
    keyPressed(int code, int p_keyPressed_2_, int p_keyPressed_3_)
     
    void
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderWindowBackground(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderZeloBreadcrumbs(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
     
    void
     
    void
     

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

    addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError

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

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class net.minecraft.client.gui.GuiComponent

    blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine

    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

    changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus

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

    mouseMoved
  • Field Details

    • THINK_BACK

      public static final String THINK_BACK
      See Also:
    • depthPointX

      protected int depthPointX
    • depthPointY

      protected int depthPointY
    • transition

      public final LerpedFloat transition
    • arrowAnimation

      protected final LerpedFloat arrowAnimation
    • backTrack

      protected PonderButton 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(PonderButton 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.
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Widget
      Overrides:
      render in class AbstractSimiScreen
    • backTrackingLangKey

      protected String backTrackingLangKey()
    • renderWindowBackground

      protected void renderWindowBackground(com.mojang.blaze3d.vertex.PoseStack ms, 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(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
    • getBreadcrumbTitle

      protected String getBreadcrumbTitle()