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 fnr
  • 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 Lfnr;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 Lfnr;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 Lfnr;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 Lfnr;d:Lfmf;
    • 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 Lfnr;e:Lfgr;
    • 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 Lfnr;f:Lglk$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 Lfnr;g:Lfnr$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 Lfnr;h:Lfns;
  • 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> Lfnr;<init>(Lfmf;Lfgr;Lglk$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> Lfnr;<init>(Lfmf;Lglk$a;)V
  • Method Details

    • 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 Lfnr;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 Lfnr;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 Lfnr;c()Lfgr;
    • 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 d Lfnr;d()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 Lfnr;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 Lfnr;a(Lglu;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 Lfnr;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 Lfnr;b(Lglu;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 Lfnr;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 e Lfnr;e()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 Lfnr;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 Lfnr;a(Lfsm;)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 Lfnr;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 Lfnr;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 Lfnr;a(Lglu;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 Lfnr;a(Lglu;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 Lfnr;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 Lfnr;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 Lfnr;a(Lglu;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 Lfnr;a(Lfgv;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 Lfnr;b(Lglu;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 Lfnr;a(Lfnp;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 Lfnr;a(Lfnp;Lxv;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 Lfnr;a(Lfnp;Lazq;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 Lfnr;b(Lfnp;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 Lfnr;a(Lfnp;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 Lfnr;b(Lfnp;Lazq;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 Lfnr;a(Lfnp;Lazq;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 Lfnr;b(Lfnp;Lxv;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 Lfnr;a(Lfnp;Lxv;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 Lfnr;a(Lfnp;Lya;IIII)V
    • drawTextWithBackground

      public int drawTextWithBackground(TextRenderer textRenderer, Text text, int x, int y, int width, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTextWithBackground Lnet/minecraft/client/gui/DrawContext;drawTextWithBackground(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;IIII)I
      intermediary method_60649 Lnet/minecraft/class_332;method_60649(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IIII)I
      official a Lfnr;a(Lfnp;Lxv;IIII)I
    • 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 Lfnr;b(IIIII)V
    • drawGuiTexture

      public void drawGuiTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIII)V
      intermediary method_52706 Lnet/minecraft/class_332;method_52706(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIII)V
    • drawGuiTexture

      public void drawGuiTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIIII)V
      intermediary method_52707 Lnet/minecraft/class_332;method_52707(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIIII)V
    • drawGuiTexture

      public void drawGuiTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int textureWidth, int textureHeight, int u, int v, int x, int y, int width, int height)
      Draws a textured rectangle from a region in a gui texture.

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

      Parameters:
      textureWidth - the width of the entire texture
      textureHeight - the height of the entire texture
      u - the x starting position of the region in the texture
      v - the y starting position of the region in the texture
      width - the width of the drawn rectangle and of the region in the texture
      height - the height of the drawn rectangle and of the region in the texture
      Mappings:
      Namespace Name Mixin selector
      named drawGuiTexture Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIIIIIII)V
      intermediary method_52708 Lnet/minecraft/class_332;method_52708(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIIIIIII)V
    • drawSpriteStretched

      public void drawSpriteStretched(Function<Identifier,RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteStretched Lnet/minecraft/client/gui/DrawContext;drawSpriteStretched(Ljava/util/function/Function;Lnet/minecraft/client/texture/Sprite;IIII)V
      intermediary method_52709 Lnet/minecraft/class_332;method_52709(Ljava/util/function/Function;Lnet/minecraft/class_1058;IIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhbk;IIII)V
    • drawSpriteStretched

      public void drawSpriteStretched(Function<Identifier,RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteStretched Lnet/minecraft/client/gui/DrawContext;drawSpriteStretched(Ljava/util/function/Function;Lnet/minecraft/client/texture/Sprite;IIIII)V
      intermediary method_52710 Lnet/minecraft/class_332;method_52710(Ljava/util/function/Function;Lnet/minecraft/class_1058;IIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhbk;IIIII)V
    • drawSpriteRegion

      private void drawSpriteRegion(Function<Identifier,RenderLayer> renderLayers, Sprite sprite, int textureWidth, int textureHeight, int u, int v, int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteRegion Lnet/minecraft/client/gui/DrawContext;drawSpriteRegion(Ljava/util/function/Function;Lnet/minecraft/client/texture/Sprite;IIIIIIIII)V
      intermediary method_52711 Lnet/minecraft/class_332;method_52711(Ljava/util/function/Function;Lnet/minecraft/class_1058;IIIIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhbk;IIIIIIIII)V
    • drawSpriteNineSliced

      private void drawSpriteNineSliced(Function<Identifier,RenderLayer> renderLayers, Sprite sprite, Scaling.NineSlice nineSlice, int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteNineSliced Lnet/minecraft/client/gui/DrawContext;drawSpriteNineSliced(Ljava/util/function/Function;Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/texture/Scaling$NineSlice;IIIII)V
      intermediary method_52713 Lnet/minecraft/class_332;method_52713(Ljava/util/function/Function;Lnet/minecraft/class_1058;Lnet/minecraft/class_8690$class_8691;IIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhbk;Lhdd$a;IIIII)V
    • drawInnerSprite

      private void drawInnerSprite(Function<Identifier,RenderLayer> renderLayers, Scaling.NineSlice nineSlice, Sprite sprite, int x, int y, int width, int height, int u, int v, int tileWidth, int tileHeight, int textureWidth, int textureHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawInnerSprite Lnet/minecraft/client/gui/DrawContext;drawInnerSprite(Ljava/util/function/Function;Lnet/minecraft/client/texture/Scaling$NineSlice;Lnet/minecraft/client/texture/Sprite;IIIIIIIIIII)V
      intermediary method_64040 Lnet/minecraft/class_332;method_64040(Ljava/util/function/Function;Lnet/minecraft/class_8690$class_8691;Lnet/minecraft/class_1058;IIIIIIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhdd$a;Lhbk;IIIIIIIIIII)V
    • drawSpriteTiled

      private void drawSpriteTiled(Function<Identifier,RenderLayer> renderLayers, Sprite sprite, int x, int y, int width, int height, int u, int v, int tileWidth, int tileHeight, int textureWidth, int textureHeight, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawSpriteTiled Lnet/minecraft/client/gui/DrawContext;drawSpriteTiled(Ljava/util/function/Function;Lnet/minecraft/client/texture/Sprite;IIIIIIIIIII)V
      intermediary method_52712 Lnet/minecraft/class_332;method_52712(Ljava/util/function/Function;Lnet/minecraft/class_1058;IIIIIIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lhbk;IIIIIIIIIII)V
    • drawTexture

      public void drawTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x, int y, float u, float v, int width, int height, int textureWidth, int textureHeight, int color)
      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(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIFFIIIII)V
      intermediary method_25291 Lnet/minecraft/class_332;method_25291(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIFFIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIFFIIIII)V
    • drawTexture

      public void drawTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, 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(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIFFIIII)V
      intermediary method_25290 Lnet/minecraft/class_332;method_25290(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIFFIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIFFIIII)V
    • drawTexture

      public void drawTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x, int y, float u, float v, int width, int height, int regionWith, int regionHeight, int textureWidth, int textureHeight)
      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(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIFFIIIIII)V
      intermediary method_25302 Lnet/minecraft/class_332;method_25302(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIFFIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIFFIIIIII)V
    • drawTexture

      public void drawTexture(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x, int y, float u, float v, int width, int height, int regionWidth, int regionHeight, int textureWidth, int textureHeight, int color)
      Draws a textured rectangle from a region in a texture.
      Mappings:
      Namespace Name Mixin selector
      named drawTexture Lnet/minecraft/client/gui/DrawContext;drawTexture(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIFFIIIIIII)V
      intermediary method_25293 Lnet/minecraft/class_332;method_25293(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIFFIIIIIII)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIFFIIIIIII)V
    • drawTexturedQuad

      private void drawTexturedQuad(Function<Identifier,RenderLayer> renderLayers, Identifier sprite, int x1, int x2, int y1, int y2, float u1, float u2, float v1, float v2, int color)
      Mappings:
      Namespace Name Mixin selector
      named drawTexturedQuad Lnet/minecraft/client/gui/DrawContext;drawTexturedQuad(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIIIFFFFI)V
      intermediary method_25295 Lnet/minecraft/class_332;method_25295(Ljava/util/function/Function;Lnet/minecraft/class_2960;IIIIFFFFI)V
      official a Lfnr;a(Ljava/util/function/Function;Lalz;IIIIFFFFI)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 Lfnr;a(Lcxo;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 Lfnr;a(Lcxo;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 Lfnr;a(Lcxo;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 Lfnr;b(Lcxo;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 Lfnr;b(Lcxo;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 Lfnr;a(Lbwf;Lcxo;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 Lfnr;a(Lbwf;Ldhh;Lcxo;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 Lfnr;a(Lbwf;Ldhh;Lcxo;IIII)V
    • drawStackOverlay

      public void drawStackOverlay(TextRenderer textRenderer, ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawStackOverlay Lnet/minecraft/client/gui/DrawContext;drawStackOverlay(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 Lfnr;a(Lfnp;Lcxo;II)V
    • drawStackOverlay

      public void drawStackOverlay(TextRenderer textRenderer, ItemStack stack, int x, int y, @Nullable @Nullable String stackCountText)
      Mappings:
      Namespace Name Mixin selector
      named drawStackOverlay Lnet/minecraft/client/gui/DrawContext;drawStackOverlay(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 Lfnr;a(Lfnp;Lcxo;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 Lfnr;b(Lfnp;Lcxo;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_64038 Lnet/minecraft/class_332;method_64038(Lnet/minecraft/class_327;Ljava/util/List;Ljava/util/Optional;II)V
      official a Lfnr;a(Lfnp;Ljava/util/List;Ljava/util/Optional;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, List<Text> text, Optional<TooltipData> data, int x, int y, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;Ljava/util/Optional;IILnet/minecraft/util/Identifier;)V
      intermediary method_51437 Lnet/minecraft/class_332;method_51437(Lnet/minecraft/class_327;Ljava/util/List;Ljava/util/Optional;IILnet/minecraft/class_2960;)V
      official a Lfnr;a(Lfnp;Ljava/util/List;Ljava/util/Optional;IILalz;)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 Lfnr;a(Lfnp;Lxv;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, Text text, int x, int y, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;IILnet/minecraft/util/Identifier;)V
      intermediary method_64235 Lnet/minecraft/class_332;method_64235(Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IILnet/minecraft/class_2960;)V
      official a Lfnr;a(Lfnp;Lxv;IILalz;)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 Lfnr;a(Lfnp;Ljava/util/List;II)V
    • drawTooltip

      public void drawTooltip(TextRenderer textRenderer, List<Text> text, int x, int y, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named drawTooltip Lnet/minecraft/client/gui/DrawContext;drawTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;IILnet/minecraft/util/Identifier;)V
      intermediary method_64037 Lnet/minecraft/class_332;method_64037(Lnet/minecraft/class_327;Ljava/util/List;IILnet/minecraft/class_2960;)V
      official a Lfnr;a(Lfnp;Ljava/util/List;IILalz;)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 Lfnr;b(Lfnp;Ljava/util/List;II)V
    • drawOrderedTooltip

      public void drawOrderedTooltip(TextRenderer textRenderer, List<? extends OrderedText> text, int x, int y, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named drawOrderedTooltip Lnet/minecraft/client/gui/DrawContext;drawOrderedTooltip(Lnet/minecraft/client/font/TextRenderer;Ljava/util/List;IILnet/minecraft/util/Identifier;)V
      intermediary method_64236 Lnet/minecraft/class_332;method_64236(Lnet/minecraft/class_327;Ljava/util/List;IILnet/minecraft/class_2960;)V
      official b Lfnr;b(Lfnp;Ljava/util/List;IILalz;)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 Lfnr;a(Lfnp;Ljava/util/List;Lfwi;II)V
    • drawTooltip

      private void drawTooltip(TextRenderer textRenderer, List<TooltipComponent> components, int x, int y, TooltipPositioner positioner, @Nullable @Nullable Identifier texture)
      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;Lnet/minecraft/util/Identifier;)V
      intermediary method_51435 Lnet/minecraft/class_332;method_51435(Lnet/minecraft/class_327;Ljava/util/List;IILnet/minecraft/class_8000;Lnet/minecraft/class_2960;)V
      official a Lfnr;a(Lfnp;Ljava/util/List;IILfwi;Lalz;)V
    • drawItemBar

      private void drawItemBar(ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawItemBar Lnet/minecraft/client/gui/DrawContext;drawItemBar(Lnet/minecraft/item/ItemStack;II)V
      intermediary method_64860 Lnet/minecraft/class_332;method_64860(Lnet/minecraft/class_1799;II)V
      official c Lfnr;c(Lcxo;II)V
    • drawStackCount

      private void drawStackCount(TextRenderer textRenderer, ItemStack stack, int x, int y, @Nullable @Nullable String stackCountText)
      Mappings:
      Namespace Name Mixin selector
      named drawStackCount Lnet/minecraft/client/gui/DrawContext;drawStackCount(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V
      intermediary method_64859 Lnet/minecraft/class_332;method_64859(Lnet/minecraft/class_327;Lnet/minecraft/class_1799;IILjava/lang/String;)V
      official b Lfnr;b(Lfnp;Lcxo;IILjava/lang/String;)V
    • drawCooldownProgress

      private void drawCooldownProgress(ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named drawCooldownProgress Lnet/minecraft/client/gui/DrawContext;drawCooldownProgress(Lnet/minecraft/item/ItemStack;II)V
      intermediary method_64861 Lnet/minecraft/class_332;method_64861(Lnet/minecraft/class_1799;II)V
      official d Lfnr;d(Lcxo;II)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 Lfnr;a(Lfnp;Lys;II)V
    • draw

      public void draw(Consumer<VertexConsumerProvider> drawer)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gui/DrawContext;draw(Ljava/util/function/Consumer;)V
      intermediary method_64039 Lnet/minecraft/class_332;method_64039(Ljava/util/function/Consumer;)V
      official a Lfnr;a(Ljava/util/function/Consumer;)V