Class DrawContext

java.lang.Object
net.minecraft.client.gui.DrawContext

@Environment(CLIENT) public class DrawContext extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/DrawContext
intermediary net/minecraft/class_332
official fgt
  • Field Details

    • field_44931

      public static final float field_44931
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44931 Lnet/minecraft/client/gui/DrawContext;field_44931:F
      intermediary field_44931 Lnet/minecraft/class_332;field_44931:F
      official a Lfgt;a:F
    • field_44932

      public static final float field_44932
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44932 Lnet/minecraft/client/gui/DrawContext;field_44932:F
      intermediary field_44932 Lnet/minecraft/class_332;field_44932:F
      official b Lfgt;b:F
    • field_44655

      private static final int field_44655
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_44655 Lnet/minecraft/client/gui/DrawContext;field_44655:I
      intermediary field_44655 Lnet/minecraft/class_332;field_44655:I
      official c Lfgt;c:I
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/DrawContext;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_44656 Lnet/minecraft/class_332;field_44656:Lnet/minecraft/class_310;
      official d Lfgt;d:Lffh;
    • matrices

      private final MatrixStack matrices
      Mappings:
      Namespace Name Mixin selector
      named matrices Lnet/minecraft/client/gui/DrawContext;matrices:Lnet/minecraft/client/util/math/MatrixStack;
      intermediary field_44657 Lnet/minecraft/class_332;field_44657:Lnet/minecraft/class_4587;
      official e Lfgt;e:Lfaa;
    • vertexConsumers

      private final VertexConsumerProvider.Immediate vertexConsumers
      Mappings:
      Namespace Name Mixin selector
      named vertexConsumers Lnet/minecraft/client/gui/DrawContext;vertexConsumers:Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
      intermediary field_44658 Lnet/minecraft/class_332;field_44658:Lnet/minecraft/class_4597$class_4598;
      official f Lfgt;f:Lgdq$a;
    • scissorStack

      private final DrawContext.ScissorStack scissorStack
      Mappings:
      Namespace Name Mixin selector
      named scissorStack Lnet/minecraft/client/gui/DrawContext;scissorStack:Lnet/minecraft/client/gui/DrawContext$ScissorStack;
      intermediary field_44659 Lnet/minecraft/class_332;field_44659:Lnet/minecraft/class_332$class_8214;
      official g Lfgt;g:Lfgt$a;
    • guiAtlasManager

      private final GuiAtlasManager guiAtlasManager
      Mappings:
      Namespace Name Mixin selector
      named guiAtlasManager Lnet/minecraft/client/gui/DrawContext;guiAtlasManager:Lnet/minecraft/client/texture/GuiAtlasManager;
      intermediary field_45337 Lnet/minecraft/class_332;field_45337:Lnet/minecraft/class_8658;
      official h Lfgt;h:Lfgu;
    • runningDrawCallback

      private boolean runningDrawCallback
      Mappings:
      Namespace Name Mixin selector
      named runningDrawCallback Lnet/minecraft/client/gui/DrawContext;runningDrawCallback:Z
      intermediary field_44797 Lnet/minecraft/class_332;field_44797:Z
      official i Lfgt;i:Z
  • Constructor Details

    • DrawContext

      private DrawContext(MinecraftClient client, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/DrawContext;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
      intermediary <init> Lnet/minecraft/class_332;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;)V
      official <init> Lfgt;<init>(Lffh;Lfaa;Lgdq$a;)V
    • DrawContext

      public DrawContext(MinecraftClient client, VertexConsumerProvider.Immediate vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/DrawContext;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V
      intermediary <init> Lnet/minecraft/class_332;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4597$class_4598;)V
      official <init> Lfgt;<init>(Lffh;Lgdq$a;)V
  • Method Details

    • draw

      @Deprecated public void draw(Runnable drawCallback)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gui/DrawContext;draw(Ljava/lang/Runnable;)V
      intermediary method_51741 Lnet/minecraft/class_332;method_51741(Ljava/lang/Runnable;)V
      official a Lfgt;a(Ljava/lang/Runnable;)V
    • tryDraw

      @Deprecated private void tryDraw()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named tryDraw Lnet/minecraft/client/gui/DrawContext;tryDraw()V
      intermediary method_51744 Lnet/minecraft/class_332;method_51744()V
      official g Lfgt;g()V
    • drawIfRunning

      @Deprecated private void drawIfRunning()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named drawIfRunning Lnet/minecraft/client/gui/DrawContext;drawIfRunning()V
      intermediary method_51887 Lnet/minecraft/class_332;method_51887()V
      official h Lfgt;h()V
    • getScaledWindowWidth

      public int getScaledWindowWidth()
      Mappings:
      Namespace Name Mixin selector
      named getScaledWindowWidth Lnet/minecraft/client/gui/DrawContext;getScaledWindowWidth()I
      intermediary method_51421 Lnet/minecraft/class_332;method_51421()I
      official a Lfgt;a()I
    • getScaledWindowHeight

      public int getScaledWindowHeight()
      Mappings:
      Namespace Name Mixin selector
      named getScaledWindowHeight Lnet/minecraft/client/gui/DrawContext;getScaledWindowHeight()I
      intermediary method_51443 Lnet/minecraft/class_332;method_51443()I
      official b Lfgt;b()I
    • getMatrices

      public MatrixStack getMatrices()
      Mappings:
      Namespace Name Mixin selector
      named getMatrices Lnet/minecraft/client/gui/DrawContext;getMatrices()Lnet/minecraft/client/util/math/MatrixStack;
      intermediary method_51448 Lnet/minecraft/class_332;method_51448()Lnet/minecraft/class_4587;
      official c Lfgt;c()Lfaa;
    • getVertexConsumers

      public VertexConsumerProvider.Immediate getVertexConsumers()
      Mappings:
      Namespace Name Mixin selector
      named getVertexConsumers Lnet/minecraft/client/gui/DrawContext;getVertexConsumers()Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;
      intermediary method_51450 Lnet/minecraft/class_332;method_51450()Lnet/minecraft/class_4597$class_4598;
      official d Lfgt;d()Lgdq$a;
    • draw

      public void draw()
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gui/DrawContext;draw()V
      intermediary method_51452 Lnet/minecraft/class_332;method_51452()V
      official e Lfgt;e()V
    • drawHorizontalLine

      public void drawHorizontalLine(int x1, int x2, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawHorizontalLine Lnet/minecraft/client/gui/DrawContext;drawHorizontalLine(IIII)V
      intermediary method_25292 Lnet/minecraft/class_332;method_25292(IIII)V
      official a Lfgt;a(IIII)V
    • drawHorizontalLine

      public void drawHorizontalLine(RenderLayer layer, int x1, int x2, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawHorizontalLine Lnet/minecraft/client/gui/DrawContext;drawHorizontalLine(Lnet/minecraft/client/render/RenderLayer;IIII)V
      intermediary method_51738 Lnet/minecraft/class_332;method_51738(Lnet/minecraft/class_1921;IIII)V
      official a Lfgt;a(Lgdy;IIII)V
    • drawVerticalLine

      public void drawVerticalLine(int x, int y1, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawVerticalLine Lnet/minecraft/client/gui/DrawContext;drawVerticalLine(IIII)V
      intermediary method_25301 Lnet/minecraft/class_332;method_25301(IIII)V
      official b Lfgt;b(IIII)V
    • drawVerticalLine

      public void drawVerticalLine(RenderLayer layer, int x, int y1, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawVerticalLine Lnet/minecraft/client/gui/DrawContext;drawVerticalLine(Lnet/minecraft/client/render/RenderLayer;IIII)V
      intermediary method_51742 Lnet/minecraft/class_332;method_51742(Lnet/minecraft/class_1921;IIII)V
      official b Lfgt;b(Lgdy;IIII)V
    • enableScissor

      public void enableScissor(int x1, int y1, int x2, int y2)
      Mappings:
      Namespace Name Mixin selector
      named enableScissor Lnet/minecraft/client/gui/DrawContext;enableScissor(IIII)V
      intermediary method_44379 Lnet/minecraft/class_332;method_44379(IIII)V
      official c Lfgt;c(IIII)V
    • disableScissor

      public void disableScissor()
      Mappings:
      Namespace Name Mixin selector
      named disableScissor Lnet/minecraft/client/gui/DrawContext;disableScissor()V
      intermediary method_44380 Lnet/minecraft/class_332;method_44380()V
      official f Lfgt;f()V
    • scissorContains

      public boolean scissorContains(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named scissorContains Lnet/minecraft/client/gui/DrawContext;scissorContains(II)Z
      intermediary method_58135 Lnet/minecraft/class_332;method_58135(II)Z
      official a Lfgt;a(II)Z
    • setScissor

      private void setScissor(@Nullable @Nullable ScreenRect rect)
      Mappings:
      Namespace Name Mixin selector
      named setScissor Lnet/minecraft/client/gui/DrawContext;setScissor(Lnet/minecraft/client/gui/ScreenRect;)V
      intermediary method_49698 Lnet/minecraft/class_332;method_49698(Lnet/minecraft/class_8030;)V
      official a Lfgt;a(Lflm;)V
    • setShaderColor

      public void setShaderColor(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named setShaderColor Lnet/minecraft/client/gui/DrawContext;setShaderColor(FFFF)V
      intermediary method_51422 Lnet/minecraft/class_332;method_51422(FFFF)V
      official a Lfgt;a(FFFF)V
    • fill

      public void fill(int x1, int y1, int x2, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      named fill Lnet/minecraft/client/gui/DrawContext;fill(IIIII)V
      intermediary method_25294 Lnet/minecraft/class_332;method_25294(IIIII)V
      official a Lfgt;a(IIIII)V
    • fill

      public void fill(int x1, int y1, int x2, int y2, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      named fill Lnet/minecraft/client/gui/DrawContext;fill(IIIIII)V
      intermediary method_51737 Lnet/minecraft/class_332;method_51737(IIIIII)V
      official a Lfgt;a(IIIIII)V
    • fill

      public void fill(RenderLayer layer, int x1, int y1, int x2, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      named fill Lnet/minecraft/client/gui/DrawContext;fill(Lnet/minecraft/client/render/RenderLayer;IIIII)V
      intermediary method_51739 Lnet/minecraft/class_332;method_51739(Lnet/minecraft/class_1921;IIIII)V
      official a Lfgt;a(Lgdy;IIIII)V
    • fill

      public void fill(RenderLayer layer, int x1, int y1, int x2, int y2, int z, int color)
      Mappings:
      Namespace Name Mixin selector
      named fill Lnet/minecraft/client/gui/DrawContext;fill(Lnet/minecraft/client/render/RenderLayer;IIIIII)V
      intermediary method_48196 Lnet/minecraft/class_332;method_48196(Lnet/minecraft/class_1921;IIIIII)V
      official a Lfgt;a(Lgdy;IIIIII)V
    • fillGradient

      public void fillGradient(int startX, int startY, int endX, int endY, int colorStart, int colorEnd)
      Mappings:
      Namespace Name Mixin selector
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(IIIIII)V
      intermediary method_25296 Lnet/minecraft/class_332;method_25296(IIIIII)V
      official b Lfgt;b(IIIIII)V
    • fillGradient

      public void fillGradient(int startX, int startY, int endX, int endY, int z, int colorStart, int colorEnd)
      Mappings:
      Namespace Name Mixin selector
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(IIIIIII)V
      intermediary method_33284 Lnet/minecraft/class_332;method_33284(IIIIIII)V
      official a Lfgt;a(IIIIIII)V
    • fillGradient

      public void fillGradient(RenderLayer layer, int startX, int startY, int endX, int endY, int colorStart, int colorEnd, int z)
      Mappings:
      Namespace Name Mixin selector
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(Lnet/minecraft/client/render/RenderLayer;IIIIIII)V
      intermediary method_51740 Lnet/minecraft/class_332;method_51740(Lnet/minecraft/class_1921;IIIIIII)V
      official a Lfgt;a(Lgdy;IIIIIII)V
    • fillGradient

      private void fillGradient(VertexConsumer vertexConsumer, int startX, int startY, int endX, int endY, int z, int colorStart, int colorEnd)
      Mappings:
      Namespace Name Mixin selector
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(Lnet/minecraft/client/render/VertexConsumer;IIIIIII)V
      intermediary method_27533 Lnet/minecraft/class_332;method_27533(Lnet/minecraft/class_4588;IIIIIII)V
      official a Lfgt;a(Lfae;IIIIIII)V
    • fillWithLayer

      public void fillWithLayer(RenderLayer layer, int startX, int startY, int endX, int endY, int z)
      Mappings:
      Namespace Name Mixin selector
      named fillWithLayer Lnet/minecraft/client/gui/DrawContext;fillWithLayer(Lnet/minecraft/client/render/RenderLayer;IIIII)V
      intermediary method_57709 Lnet/minecraft/class_332;method_57709(Lnet/minecraft/class_1921;IIIII)V
      official b Lfgt;b(Lgdy;IIIII)V
    • drawCenteredTextWithShadow

      public void drawCenteredTextWithShadow(TextRenderer textRenderer, String text, int centerX, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawCenteredTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawCenteredTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V
      intermediary method_25300 Lnet/minecraft/class_332;method_25300(Lnet/minecraft/class_327;Ljava/lang/String;III)V
      official a Lfgt;a(Lfgr;Ljava/lang/String;III)V
    • drawCenteredTextWithShadow

      public void drawCenteredTextWithShadow(TextRenderer textRenderer, Text text, int centerX, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawCenteredTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawCenteredTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;III)V
      intermediary method_27534 Lnet/minecraft/class_332;method_27534(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)V
      official a Lfgt;a(Lfgr;Lxp;III)V
    • drawCenteredTextWithShadow

      public void drawCenteredTextWithShadow(TextRenderer textRenderer, OrderedText text, int centerX, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawCenteredTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawCenteredTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/OrderedText;III)V
      intermediary method_35719 Lnet/minecraft/class_332;method_35719(Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)V
      official a Lfgt;a(Lfgr;Layl;III)V
    • drawTextWithShadow

      public int drawTextWithShadow(TextRenderer textRenderer, @Nullable @Nullable String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)I
      intermediary method_25303 Lnet/minecraft/class_332;method_25303(Lnet/minecraft/class_327;Ljava/lang/String;III)I
      official b Lfgt;b(Lfgr;Ljava/lang/String;III)I
    • drawText

      public int drawText(TextRenderer textRenderer, @Nullable @Nullable String text, int x, int y, int color, boolean shadow)
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/gui/DrawContext;drawText(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;IIIZ)I
      intermediary method_51433 Lnet/minecraft/class_332;method_51433(Lnet/minecraft/class_327;Ljava/lang/String;IIIZ)I
      official a Lfgt;a(Lfgr;Ljava/lang/String;IIIZ)I
    • drawTextWithShadow

      public int drawTextWithShadow(TextRenderer textRenderer, OrderedText text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/OrderedText;III)I
      intermediary method_35720 Lnet/minecraft/class_332;method_35720(Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)I
      official b Lfgt;b(Lfgr;Layl;III)I
    • drawText

      public int drawText(TextRenderer textRenderer, OrderedText text, int x, int y, int color, boolean shadow)
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/gui/DrawContext;drawText(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/OrderedText;IIIZ)I
      intermediary method_51430 Lnet/minecraft/class_332;method_51430(Lnet/minecraft/class_327;Lnet/minecraft/class_5481;IIIZ)I
      official a Lfgt;a(Lfgr;Layl;IIIZ)I
    • drawTextWithShadow

      public int drawTextWithShadow(TextRenderer textRenderer, Text text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawTextWithShadow(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;III)I
      intermediary method_27535 Lnet/minecraft/class_332;method_27535(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)I
      official b Lfgt;b(Lfgr;Lxp;III)I
    • drawText

      public int drawText(TextRenderer textRenderer, Text text, int x, int y, int color, boolean shadow)
      Mappings:
      Namespace Name Mixin selector
      named drawText Lnet/minecraft/client/gui/DrawContext;drawText(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;IIIZ)I
      intermediary method_51439 Lnet/minecraft/class_332;method_51439(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IIIZ)I
      official a Lfgt;a(Lfgr;Lxp;IIIZ)I
    • drawTextWrapped

      public void drawTextWrapped(TextRenderer textRenderer, StringVisitable text, int x, int y, int width, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTextWrapped Lnet/minecraft/client/gui/DrawContext;drawTextWrapped(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/StringVisitable;IIII)V
      intermediary method_51440 Lnet/minecraft/class_332;method_51440(Lnet/minecraft/class_327;Lnet/minecraft/class_5348;IIII)V
      official a Lfgt;a(Lfgr;Lxu;IIII)V
    • drawSprite

      public void drawSprite(int x, int y, int z, int width, int height, Sprite sprite)
      Mappings:
      Namespace Name Mixin selector
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(IIIIILnet/minecraft/client/texture/Sprite;)V
      intermediary method_25298 Lnet/minecraft/class_332;method_25298(IIIIILnet/minecraft/class_1058;)V
      official a Lfgt;a(IIIIILgpb;)V
    • drawSprite

      public void drawSprite(int x, int y, int z, int width, int height, Sprite sprite, float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(IIIIILnet/minecraft/client/texture/Sprite;FFFF)V
      intermediary method_48465 Lnet/minecraft/class_332;method_48465(IIIIILnet/minecraft/class_1058;FFFF)V
      official a Lfgt;a(IIIIILgpb;FFFF)V
    • drawBorder

      public void drawBorder(int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawBorder Lnet/minecraft/client/gui/DrawContext;drawBorder(IIIII)V
      intermediary method_49601 Lnet/minecraft/class_332;method_49601(IIIII)V
      official b Lfgt;b(IIIII)V
    • drawGuiTexture

      public void drawGuiTexture(Identifier texture, int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;IIII)V
      intermediary method_52706 Lnet/minecraft/class_332;method_52706(Lnet/minecraft/class_2960;IIII)V
      official a Lfgt;a(Lalf;IIII)V
    • drawGuiTexture

      public void drawGuiTexture(Identifier texture, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;IIIII)V
      intermediary method_52707 Lnet/minecraft/class_332;method_52707(Lnet/minecraft/class_2960;IIIII)V
      official a Lfgt;a(Lalf;IIIII)V
    • drawGuiTexture

      public void drawGuiTexture(Identifier texture, int int2, int int3, int int4, int int5, int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;IIIIIIII)V
      intermediary method_52708 Lnet/minecraft/class_332;method_52708(Lnet/minecraft/class_2960;IIIIIIII)V
      official a Lfgt;a(Lalf;IIIIIIII)V
    • drawGuiTexture

      public void drawGuiTexture(Identifier texture, int int2, int int3, int int4, int int5, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;IIIIIIIII)V
      intermediary method_52709 Lnet/minecraft/class_332;method_52709(Lnet/minecraft/class_2960;IIIIIIIII)V
      official a Lfgt;a(Lalf;IIIIIIIII)V
    • drawSprite

      private void drawSprite(Sprite sprite, int int2, int int3, int int4, int int5, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;IIIIIIIII)V
      intermediary method_52711 Lnet/minecraft/class_332;method_52711(Lnet/minecraft/class_1058;IIIIIIIII)V
      official a Lfgt;a(Lgpb;IIIIIIIII)V
    • drawSprite

      private void drawSprite(Sprite sprite, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;IIIII)V
      intermediary method_52710 Lnet/minecraft/class_332;method_52710(Lnet/minecraft/class_1058;IIIII)V
      official a Lfgt;a(Lgpb;IIIII)V
    • drawTexture

      public void drawTexture(Identifier texture, int x, int y, int u, int v, int width, int height)
      Draws a textured rectangle from a region in a 256x256 texture.

      The Z coordinate of the rectangle is 0.

      The width and height of the region are the same as the dimensions of the rectangle.

      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;IIIIII)V
      intermediary method_25302 Lnet/minecraft/class_332;method_25302(Lnet/minecraft/class_2960;IIIIII)V
      official a Lfgt;a(Lalf;IIIIII)V
    • drawTexture

      public void drawTexture(Identifier texture, int x, int y, int z, float u, float v, int width, int height, int textureWidth, int textureHeight)
      Draws a textured rectangle from a region in a texture.

      The width and height of the region are the same as the dimensions of the rectangle.

      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;IIIFFIIII)V
      intermediary method_25291 Lnet/minecraft/class_332;method_25291(Lnet/minecraft/class_2960;IIIFFIIII)V
      official a Lfgt;a(Lalf;IIIFFIIII)V
    • drawTexture

      public void drawTexture(Identifier texture, int x, int y, int width, int height, float u, float v, int regionWidth, int regionHeight, int textureWidth, int textureHeight)
      Draws a textured rectangle from a region in a texture.
      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;IIIIFFIIII)V
      intermediary method_25293 Lnet/minecraft/class_332;method_25293(Lnet/minecraft/class_2960;IIIIFFIIII)V
      official a Lfgt;a(Lalf;IIIIFFIIII)V
    • drawTexture

      public void drawTexture(Identifier texture, int x, int y, float u, float v, int width, int height, int textureWidth, int textureHeight)
      Draws a textured rectangle from a region in a texture.

      The width and height of the region are the same as the dimensions of the rectangle.

      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;IIFFIIII)V
      intermediary method_25290 Lnet/minecraft/class_332;method_25290(Lnet/minecraft/class_2960;IIFFIIII)V
      official a Lfgt;a(Lalf;IIFFIIII)V
    • drawTexture

      void drawTexture(Identifier texture, int x1, int x2, int y1, int y2, int z, int regionWidth, int regionHeight, float u, float v, int textureWidth, int textureHeight)
      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;IIIIIIIFFII)V
      intermediary method_25297 Lnet/minecraft/class_332;method_25297(Lnet/minecraft/class_2960;IIIIIIIFFII)V
      official a Lfgt;a(Lalf;IIIIIIIFFII)V
    • drawTexturedQuad

      void drawTexturedQuad(Identifier texture, int x1, int x2, int y1, int y2, int z, float u1, float u2, float v1, float v2)
      Mappings:
      Namespace Name Mixin selector
      named drawTexturedQuad Lnet/minecraft/client/gui/DrawContext;drawTexturedQuad(Lnet/minecraft/util/Identifier;IIIIIFFFF)V
      intermediary method_25295 Lnet/minecraft/class_332;method_25295(Lnet/minecraft/class_2960;IIIIIFFFF)V
      official a Lfgt;a(Lalf;IIIIIFFFF)V
    • drawTexturedQuad

      void drawTexturedQuad(Identifier texture, int x1, int x2, int y1, int y2, int z, float u1, float u2, float v1, float v2, float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named drawTexturedQuad Lnet/minecraft/client/gui/DrawContext;drawTexturedQuad(Lnet/minecraft/util/Identifier;IIIIIFFFFFFFF)V
      intermediary method_48466 Lnet/minecraft/class_332;method_48466(Lnet/minecraft/class_2960;IIIIIFFFFFFFF)V
      official a Lfgt;a(Lalf;IIIIIFFFFFFFF)V
    • drawSprite

      private void drawSprite(Sprite sprite, Scaling.NineSlice nineSlice, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/texture/Scaling$NineSlice;IIIII)V
      intermediary method_52713 Lnet/minecraft/class_332;method_52713(Lnet/minecraft/class_1058;Lnet/minecraft/class_8690$class_8691;IIIII)V
      official a Lfgt;a(Lgpb;Lgqt$a;IIIII)V
    • drawSpriteTiled

      private void drawSpriteTiled(Sprite sprite, int x, int y, int z, int width, int height, int int2, int int3, int tileWidth, int tileHeight, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteTiled Lnet/minecraft/client/gui/DrawContext;drawSpriteTiled(Lnet/minecraft/client/texture/Sprite;IIIIIIIIIII)V
      intermediary method_52712 Lnet/minecraft/class_332;method_52712(Lnet/minecraft/class_1058;IIIIIIIIIII)V
      official a Lfgt;a(Lgpb;IIIIIIIIIII)V
    • drawItem

      public void drawItem(ItemStack item, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/item/ItemStack;II)V
      intermediary method_51427 Lnet/minecraft/class_332;method_51427(Lnet/minecraft/class_1799;II)V
      official a Lfgt;a(Lcur;II)V
    • drawItem

      public void drawItem(ItemStack stack, int x, int y, int seed)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/item/ItemStack;III)V
      intermediary method_51428 Lnet/minecraft/class_332;method_51428(Lnet/minecraft/class_1799;III)V
      official a Lfgt;a(Lcur;III)V
    • drawItem

      public void drawItem(ItemStack stack, int x, int y, int seed, int z)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/item/ItemStack;IIII)V
      intermediary method_51429 Lnet/minecraft/class_332;method_51429(Lnet/minecraft/class_1799;IIII)V
      official a Lfgt;a(Lcur;IIII)V
    • drawItemWithoutEntity

      public void drawItemWithoutEntity(ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawItemWithoutEntity Lnet/minecraft/client/gui/DrawContext;drawItemWithoutEntity(Lnet/minecraft/item/ItemStack;II)V
      intermediary method_51445 Lnet/minecraft/class_332;method_51445(Lnet/minecraft/class_1799;II)V
      official b Lfgt;b(Lcur;II)V
    • drawItemWithoutEntity

      public void drawItemWithoutEntity(ItemStack stack, int x, int y, int seed)
      Mappings:
      Namespace Name Mixin selector
      named drawItemWithoutEntity Lnet/minecraft/client/gui/DrawContext;drawItemWithoutEntity(Lnet/minecraft/item/ItemStack;III)V
      intermediary method_55231 Lnet/minecraft/class_332;method_55231(Lnet/minecraft/class_1799;III)V
      official b Lfgt;b(Lcur;III)V
    • drawItem

      public void drawItem(LivingEntity entity, ItemStack stack, int x, int y, int seed)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;III)V
      intermediary method_51423 Lnet/minecraft/class_332;method_51423(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;III)V
      official a Lfgt;a(Lbtr;Lcur;III)V
    • drawItem

      private void drawItem(@Nullable @Nullable LivingEntity entity, @Nullable @Nullable World world, ItemStack stack, int x, int y, int seed)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;III)V
      intermediary method_51424 Lnet/minecraft/class_332;method_51424(Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;III)V
      official a Lfgt;a(Lbtr;Ldca;Lcur;III)V
    • drawItem

      private void drawItem(@Nullable @Nullable LivingEntity entity, @Nullable @Nullable World world, ItemStack stack, int x, int y, int seed, int z)
      Mappings:
      Namespace Name Mixin selector
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;IIII)V
      intermediary method_51425 Lnet/minecraft/class_332;method_51425(Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;IIII)V
      official a Lfgt;a(Lbtr;Ldca;Lcur;IIII)V
    • drawItemInSlot

      public void drawItemInSlot(TextRenderer textRenderer, ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawItemInSlot Lnet/minecraft/client/gui/DrawContext;drawItemInSlot(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;II)V
      intermediary method_51431 Lnet/minecraft/class_332;method_51431(Lnet/minecraft/class_327;Lnet/minecraft/class_1799;II)V
      official a Lfgt;a(Lfgr;Lcur;II)V
    • drawItemInSlot

      public void drawItemInSlot(TextRenderer textRenderer, ItemStack stack, int x, int y, @Nullable @Nullable String countOverride)
      Mappings:
      Namespace Name Mixin selector
      named drawItemInSlot Lnet/minecraft/client/gui/DrawContext;drawItemInSlot(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
      intermediary method_51432 Lnet/minecraft/class_332;method_51432(Lnet/minecraft/class_327;Lnet/minecraft/class_1799;IILjava/lang/String;)V
      official a Lfgt;a(Lfgr;Lcur;IILjava/lang/String;)V
    • drawItemTooltip

      public void drawItemTooltip(TextRenderer textRenderer, ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawItemTooltip Lnet/minecraft/client/gui/DrawContext;drawItemTooltip(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;II)V
      intermediary method_51446 Lnet/minecraft/class_332;method_51446(Lnet/minecraft/class_327;Lnet/minecraft/class_1799;II)V
      official b Lfgt;b(Lfgr;Lcur;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;Ljava/util/Optional;II)V
      intermediary method_51437 Lnet/minecraft/class_332;method_51437(Lnet/minecraft/class_327;Ljava/util/List;Ljava/util/Optional;II)V
      official a Lfgt;a(Lfgr;Ljava/util/List;Ljava/util/Optional;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, Text text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;II)V
      intermediary method_51438 Lnet/minecraft/class_332;method_51438(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;II)V
      official a Lfgt;a(Lfgr;Lxp;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, List<Text> text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;II)V
      intermediary method_51434 Lnet/minecraft/class_332;method_51434(Lnet/minecraft/class_327;Ljava/util/List;II)V
      official a Lfgt;a(Lfgr;Ljava/util/List;II)V
    • drawOrderedTooltip

      public void drawOrderedTooltip(TextRenderer textRenderer, List<? extends OrderedText> text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawOrderedTooltip Lnet/minecraft/client/gui/DrawContext;drawOrderedTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;II)V
      intermediary method_51447 Lnet/minecraft/class_332;method_51447(Lnet/minecraft/class_327;Ljava/util/List;II)V
      official b Lfgt;b(Lfgr;Ljava/util/List;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, List<OrderedText> text, TooltipPositioner positioner, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;Lnet/minecraft/client/gui/tooltip/TooltipPositioner;II)V
      intermediary method_51436 Lnet/minecraft/class_332;method_51436(Lnet/minecraft/class_327;Ljava/util/List;Lnet/minecraft/class_8000;II)V
      official a Lfgt;a(Lfgr;Ljava/util/List;Lfpy;II)V
    • drawTooltip

      private void drawTooltip(TextRenderer textRenderer, List<TooltipComponent> components, int x, int y, TooltipPositioner positioner)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;IILnet/minecraft/client/gui/tooltip/TooltipPositioner;)V
      intermediary method_51435 Lnet/minecraft/class_332;method_51435(Lnet/minecraft/class_327;Ljava/util/List;IILnet/minecraft/class_8000;)V
      official a Lfgt;a(Lfgr;Ljava/util/List;IILfpy;)V
    • drawHoverEvent

      public void drawHoverEvent(TextRenderer textRenderer, @Nullable @Nullable Style style, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawHoverEvent Lnet/minecraft/client/gui/DrawContext;drawHoverEvent(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Style;II)V
      intermediary method_51441 Lnet/minecraft/class_332;method_51441(Lnet/minecraft/class_327;Lnet/minecraft/class_2583;II)V
      official a Lfgt;a(Lfgr;Lym;II)V