Class DrawContext

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

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

    • field_44931

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

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

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

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

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

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

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

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

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

    • DrawContext

      private DrawContext(MinecraftClient client, MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesf;<init>(Leqv;Lelp;Lfoe$a;)V
      intermediary <init> Lnet/minecraft/class_332;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;)V
      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
    • DrawContext

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

    • draw

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void fill(RenderLayer layer, int x1, int y1, int x2, int y2, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Lfom;IIIII)V
      intermediary method_51739 Lnet/minecraft/class_332;method_51739(Lnet/minecraft/class_1921;IIIII)V
      named fill Lnet/minecraft/client/gui/DrawContext;fill(Lnet/minecraft/client/render/RenderLayer;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
      official a Lesf;a(Lfom;IIIIII)V
      intermediary method_48196 Lnet/minecraft/class_332;method_48196(Lnet/minecraft/class_1921;IIIIII)V
      named fill Lnet/minecraft/client/gui/DrawContext;fill(Lnet/minecraft/client/render/RenderLayer;IIIIII)V
    • fillGradient

      public void fillGradient(int startX, int startY, int endX, int endY, int colorStart, int colorEnd)
      Mappings:
      Namespace Name Mixin selector
      official b Lesf;b(IIIIII)V
      intermediary method_25296 Lnet/minecraft/class_332;method_25296(IIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(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
      official a Lesf;a(IIIIIII)V
      intermediary method_33284 Lnet/minecraft/class_332;method_33284(IIIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(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
      official a Lesf;a(Lfom;IIIIIII)V
      intermediary method_51740 Lnet/minecraft/class_332;method_51740(Lnet/minecraft/class_1921;IIIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(Lnet/minecraft/client/render/RenderLayer;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
      official a Lesf;a(Lelt;IIIIIII)V
      intermediary method_27533 Lnet/minecraft/class_332;method_27533(Lnet/minecraft/class_4588;IIIIIII)V
      named fillGradient Lnet/minecraft/client/gui/DrawContext;fillGradient(Lnet/minecraft/client/render/VertexConsumer;IIIIIII)V
    • drawCenteredTextWithShadow

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

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

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

      public int drawTextWithShadow(TextRenderer textRenderer, @Nullable @Nullable String text, int x, int y, int color)
      Mappings:
      Namespace Name Mixin selector
      official b Lesf;b(Lesd;Ljava/lang/String;III)I
      intermediary method_25303 Lnet/minecraft/class_332;method_25303(Lnet/minecraft/class_327;Ljava/lang/String;III)I
      named drawTextWithShadow Lnet/minecraft/client/gui/DrawContext;drawTextWithShadow(Lnet/minecraft/client/font/TextRenderer;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
      official a Lesf;a(Lesd;Ljava/lang/String;IIIZ)I
      intermediary method_51433 Lnet/minecraft/class_332;method_51433(Lnet/minecraft/class_327;Ljava/lang/String;IIIZ)I
      named drawText Lnet/minecraft/client/gui/DrawContext;drawText(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;IIIZ)I
    • drawTextWithShadow

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

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

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

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

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

      public void drawSprite(int x, int y, int z, int width, int height, Sprite sprite)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(IIIIILfze;)V
      intermediary method_25298 Lnet/minecraft/class_332;method_25298(IIIIILnet/minecraft/class_1058;)V
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(IIIIILnet/minecraft/client/texture/Sprite;)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
      official a Lesf;a(IIIIILfze;FFFF)V
      intermediary method_48465 Lnet/minecraft/class_332;method_48465(IIIIILnet/minecraft/class_1058;FFFF)V
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(IIIIILnet/minecraft/client/texture/Sprite;FFFF)V
    • drawBorder

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

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

      public void drawGuiTexture(Identifier texture, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Laew;IIIII)V
      intermediary method_52707 Lnet/minecraft/class_332;method_52707(Lnet/minecraft/class_2960;IIIII)V
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIIIII)V
      intermediary method_52708 Lnet/minecraft/class_332;method_52708(Lnet/minecraft/class_2960;IIIIIIII)V
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIIIIII)V
      intermediary method_52709 Lnet/minecraft/class_332;method_52709(Lnet/minecraft/class_2960;IIIIIIIII)V
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Lfze;IIIIIIIII)V
      intermediary method_52711 Lnet/minecraft/class_332;method_52711(Lnet/minecraft/class_1058;IIIIIIIII)V
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;IIIIIIIII)V
    • drawSprite

      private void drawSprite(Sprite sprite, int x, int y, int z, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Lfze;IIIII)V
      intermediary method_52710 Lnet/minecraft/class_332;method_52710(Lnet/minecraft/class_1058;IIIII)V
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;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
      official a Lesf;a(Laew;IIIIII)V
      intermediary method_25302 Lnet/minecraft/class_332;method_25302(Lnet/minecraft/class_2960;IIIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIFFIIII)V
      intermediary method_25291 Lnet/minecraft/class_332;method_25291(Lnet/minecraft/class_2960;IIIFFIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIFFIIII)V
      intermediary method_25293 Lnet/minecraft/class_332;method_25293(Lnet/minecraft/class_2960;IIIIFFIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIFFIIII)V
      intermediary method_25290 Lnet/minecraft/class_332;method_25290(Lnet/minecraft/class_2960;IIFFIIII)V
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIIIIFFII)V
      intermediary method_25297 Lnet/minecraft/class_332;method_25297(Lnet/minecraft/class_2960;IIIIIIIFFII)V
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIIFFFF)V
      intermediary method_25295 Lnet/minecraft/class_332;method_25295(Lnet/minecraft/class_2960;IIIIIFFFF)V
      named drawTexturedQuad Lnet/minecraft/client/gui/DrawContext;drawTexturedQuad(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Laew;IIIIIFFFFFFFF)V
      intermediary method_48466 Lnet/minecraft/class_332;method_48466(Lnet/minecraft/class_2960;IIIIIFFFFFFFF)V
      named drawTexturedQuad Lnet/minecraft/client/gui/DrawContext;drawTexturedQuad(Lnet/minecraft/util/Identifier;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
      official a Lesf;a(Lfze;Lgaw$a;IIIII)V
      intermediary method_52713 Lnet/minecraft/class_332;method_52713(Lnet/minecraft/class_1058;Lnet/minecraft/class_8690$class_8691;IIIII)V
      named drawSprite Lnet/minecraft/client/gui/DrawContext;drawSprite(Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/texture/Scaling$NineSlice;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
      official a Lesf;a(Lfze;IIIIIIIIIII)V
      intermediary method_52712 Lnet/minecraft/class_332;method_52712(Lnet/minecraft/class_1058;IIIIIIIIIII)V
      named drawSpriteTiled Lnet/minecraft/client/gui/DrawContext;drawSpriteTiled(Lnet/minecraft/client/texture/Sprite;IIIIIIIIIII)V
    • drawItem

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

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

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

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

      public void drawItem(LivingEntity entity, ItemStack stack, int x, int y, int seed)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Lbjg;Lcjf;III)V
      intermediary method_51423 Lnet/minecraft/class_332;method_51423(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;III)V
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;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
      official a Lesf;a(Lbjg;Lcpv;Lcjf;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
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;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
      official a Lesf;a(Lbjg;Lcpv;Lcjf;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
      named drawItem Lnet/minecraft/client/gui/DrawContext;drawItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;IIII)V
    • drawItemInSlot

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

      public void drawItemInSlot(TextRenderer textRenderer, ItemStack stack, int x, int y, @Nullable @Nullable String countOverride)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Lesd;Lcjf;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
      named drawItemInSlot Lnet/minecraft/client/gui/DrawContext;drawItemInSlot(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
    • drawItemTooltip

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

      public void drawTooltip(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lesf;a(Lesd;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
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;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
      official a Lesf;a(Lesd;Ltl;II)V
      intermediary method_51438 Lnet/minecraft/class_332;method_51438(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;II)V
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;II)V
    • drawTooltip

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

      public void drawOrderedTooltip(TextRenderer textRenderer, List<? extends OrderedText> text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Lesf;b(Lesd;Ljava/util/List;II)V
      intermediary method_51447 Lnet/minecraft/class_332;method_51447(Lnet/minecraft/class_327;Ljava/util/List;II)V
      named drawOrderedTooltip Lnet/minecraft/client/gui/DrawContext;drawOrderedTooltip(Lnet/minecraft/client/font/TextRenderer;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
      official a Lesf;a(Lesd;Ljava/util/List;Lfbb;II)V
      intermediary method_51436 Lnet/minecraft/class_332;method_51436(Lnet/minecraft/class_327;Ljava/util/List;Lnet/minecraft/class_8000;II)V
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;Lnet/minecraft/client/gui/tooltip/TooltipPositioner;II)V
    • drawTooltip

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

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