Class DecodeLPElementRenderPattern

All Implemented Interfaces:
ISubGui, ISubGuiBox

Render pattern for the decode element, into which an encoded value is pasted.
  • Constructor Details

  • Method Details

    • init

      public void init(int guiLeft, int guiTop)
      Specified by:
      init in interface ISubGui
      Overrides:
      init in class RenderPattern<DecodeLPElement,ContainerScreenLogicProgrammerBase,ContainerLogicProgrammerBase>
    • renderBg

      public void renderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, float partialTicks, int mouseX, int mouseY)
      Specified by:
      renderBg in interface ISubGui
      Overrides:
      renderBg in class RenderPattern<DecodeLPElement,ContainerScreenLogicProgrammerBase,ContainerLogicProgrammerBase>
    • drawCentered

      protected void drawCentered(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, String text, int centerX, int y, int color)
    • drawCenteredWrapped

      protected void drawCenteredWrapped(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int centerX, int y, int width, int color)
    • charTyped

      public boolean charTyped(char typedChar, int keyCode)
      Description copied from interface: ISubGui
      Char type event
      Specified by:
      charTyped in interface ISubGui
      Overrides:
      charTyped in class SubGuiBox
      Parameters:
      typedChar - The character typed
      keyCode - The keycode of the character typed
      Returns:
      True if all next actions should be skipped
    • keyPressed

      public boolean keyPressed(int typedChar, int keyCode, int modifiers)
      Description copied from interface: ISubGui
      Key press event
      Specified by:
      keyPressed in interface ISubGui
      Overrides:
      keyPressed in class SubGuiBox
      Parameters:
      typedChar - The character typed
      keyCode - The keycode of the character typed
      modifiers - Key modifiers
      Returns:
      True if all next actions should be skipped
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
      Specified by:
      mouseClicked in interface ISubGui
      Overrides:
      mouseClicked in class SubGuiBox
    • onChanged

      protected void onChanged()