java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget

public class PonderUI extends NavigatableSimiScreen
  • Field Details

  • Method Details

    • of

      public static PonderUI of(net.minecraft.resources.ResourceLocation id)
    • of

      public static PonderUI of(net.minecraft.world.item.ItemStack item)
    • of

      public static PonderUI of(net.minecraft.world.item.ItemStack item, PonderTag tag)
    • of

      public static PonderUI of(PonderChapter chapter)
    • init

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

      protected void initBackTrackIcon(PonderButton backTrack)
      Description copied from class: NavigatableSimiScreen
      Called when this represents the previous screen to initialize the backTrack icon of the current screen.
      Specified by:
      initBackTrackIcon in class NavigatableSimiScreen
      Parameters:
      backTrack - The backTrack button of the current screen.
    • tick

      public void tick()
      Overrides:
      tick in class NavigatableSimiScreen
    • getActiveScene

      public PonderScene getActiveScene()
    • seekToTime

      public void seekToTime(int time)
    • updateIdentifiedItem

      public void updateIdentifiedItem(PonderScene activeScene)
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double delta)
    • replay

      protected void replay()
    • scroll

      protected boolean scroll(boolean forward)
    • renderWindow

      protected void renderWindow(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
      Specified by:
      renderWindow in class AbstractSimiScreen
    • renderBackground

      public void renderBackground(com.mojang.blaze3d.vertex.PoseStack ms)
      Overrides:
      renderBackground in class net.minecraft.client.gui.screens.Screen
    • renderVisibleScenes

      protected void renderVisibleScenes(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
    • renderScene

      protected void renderScene(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, int i, float partialTicks)
    • renderWidgets

      protected void renderWidgets(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
    • mouseClicked

      public boolean mouseClicked(double x, double y, int button)
    • 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 NavigatableSimiScreen
    • getBreadcrumbTitle

      protected String getBreadcrumbTitle()
      Overrides:
      getBreadcrumbTitle in class NavigatableSimiScreen
    • getFontRenderer

      public net.minecraft.client.gui.Font getFontRenderer()
    • isMouseOver

      protected boolean isMouseOver(double mouseX, double mouseY, int x, int y, int w, int h)
    • renderSpeechBox

      public static void renderSpeechBox(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y, int w, int h, boolean highlighted, Pointing pointing, boolean returnWithLocalTransform)
    • getHoveredTooltipItem

      public net.minecraft.world.item.ItemStack getHoveredTooltipItem()
    • getSubject

      public net.minecraft.world.item.ItemStack getSubject()
    • isEquivalentTo

      public boolean isEquivalentTo(NavigatableSimiScreen other)
      Overrides:
      isEquivalentTo in class NavigatableSimiScreen
    • shareContextWith

      public void shareContextWith(NavigatableSimiScreen other)
      Overrides:
      shareContextWith in class NavigatableSimiScreen
    • getPartialTicks

      public static float getPartialTicks()
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class AbstractSimiScreen
    • coolDownAfterSkip

      public void coolDownAfterSkip()
    • removed

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

      public void drawRightAlignedString(net.minecraft.client.gui.Font fontRenderer, com.mojang.blaze3d.vertex.PoseStack ms, String string, int x, int y, int color)
    • isComfyReadingEnabled

      public boolean isComfyReadingEnabled()
    • setComfyReadingEnabled

      public void setComfyReadingEnabled(boolean slowTextMode)