Class GuiRender.RenderWrapper

java.lang.Object
net.minecraft.client.gui.GuiGraphics
codechicken.lib.gui.modular.lib.GuiRender.RenderWrapper
All Implemented Interfaces:
net.neoforged.neoforge.client.extensions.IGuiGraphicsExtension
Enclosing class:
GuiRender

public static class GuiRender.RenderWrapper extends net.minecraft.client.gui.GuiGraphics
This exists to allow thing like the Tooltip events to still function correctly, hopefully without exploding...
  • Field Summary

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

    MAX_GUI_Z, MIN_GUI_Z

    Fields inherited from interface net.neoforged.neoforge.client.extensions.IGuiGraphicsExtension

    DEFAULT_BACKGROUND_COLOR, DEFAULT_BORDER_COLOR_END, DEFAULT_BORDER_COLOR_START, INVALID, RESET_CHAR, TEXT_COLOR_CODES, UNDO_CHAR, VALID
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     

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

    blit, blit, blit, blit, blit, blit, blitSprite, blitSprite, blitSprite, blitSprite, bufferSource, containsPointInScissor, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, drawString, drawString, drawString, drawString, drawString, drawStringWithBackdrop, drawWordWrap, enableScissor, fill, fill, fill, fill, fillGradient, fillGradient, fillGradient, fillRenderType, guiHeight, guiWidth, hLine, hLine, pose, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltipFromElements, renderFakeItem, renderFakeItem, renderItem, renderItem, renderItem, renderItem, renderItemDecorations, renderItemDecorations, renderOutline, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, setColor, vLine, vLine

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.client.extensions.IGuiGraphicsExtension

    blitInscribed, blitInscribed, blitWithBorder, blitWithBorder, drawScrollingString, getColorFromFormattingCharacter
  • Method Details

    • drawManaged

      public void drawManaged(Runnable runnable)
      Overrides:
      drawManaged in class net.minecraft.client.gui.GuiGraphics
    • flush

      public void flush()
      Overrides:
      flush in class net.minecraft.client.gui.GuiGraphics