yarn/mappings/net/minecraft/client/gui/DrawableHelper.mapping

237 lines
6.9 KiB
Plaintext

CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawableHelper
FIELD field_22734 zOffset I
COMMENT The z offset used by {@link DrawableHelper}.
FIELD field_22735 OPTIONS_BACKGROUND_TEXTURE Lnet/minecraft/class_2960;
COMMENT The texture used by options for background.
FIELD field_22736 STATS_ICON_TEXTURE Lnet/minecraft/class_2960;
COMMENT The texture of icons used in the stats screen.
FIELD field_22737 GUI_ICONS_TEXTURE Lnet/minecraft/class_2960;
COMMENT The texture of various icons and widgets used for rendering ingame indicators.
METHOD method_25290 drawTexture (Lnet/minecraft/class_4587;IIFFIIII)V
COMMENT Draws a textured rectangle from a region in a texture.
COMMENT
COMMENT <p>The width and height of the region are the same as
COMMENT the dimensions of the rectangle.
ARG 0 matrices
COMMENT the matrix stack used for rendering
ARG 1 x
COMMENT the X coordinate of the rectangle
ARG 2 y
COMMENT the Y coordinate of the rectangle
ARG 3 u
COMMENT the left-most coordinate of the texture region
ARG 4 v
COMMENT the top-most coordinate of the texture region
ARG 5 width
COMMENT the width of the rectangle
ARG 6 height
COMMENT the height of the rectangle
ARG 7 textureWidth
COMMENT the width of the entire texture
ARG 8 textureHeight
COMMENT the height of the entire texture
METHOD method_25291 drawTexture (Lnet/minecraft/class_4587;IIIFFIIII)V
COMMENT Draws a textured rectangle from a region in a texture.
COMMENT
COMMENT <p>The width and height of the region are the same as
COMMENT the dimensions of the rectangle.
ARG 0 matrices
COMMENT the matrix stack used for rendering
ARG 1 x
COMMENT the X coordinate of the rectangle
ARG 2 y
COMMENT the Y coordinate of the rectangle
ARG 3 z
COMMENT the Z coordinate of the rectangle
ARG 4 u
COMMENT the left-most coordinate of the texture region
ARG 5 v
COMMENT the top-most coordinate of the texture region
ARG 6 width
COMMENT the width of the rectangle
ARG 7 height
COMMENT the height of the rectangle
ARG 8 textureHeight
COMMENT the height of the entire texture
ARG 9 textureWidth
COMMENT the width of the entire texture
METHOD method_25292 drawHorizontalLine (Lnet/minecraft/class_4587;IIII)V
ARG 1 matrices
ARG 2 x1
ARG 3 x2
ARG 4 y
ARG 5 color
METHOD method_25293 drawTexture (Lnet/minecraft/class_4587;IIIIFFIIII)V
COMMENT Draws a textured rectangle from a region in a texture.
ARG 0 matrices
COMMENT the matrix stack used for rendering
ARG 1 x
COMMENT the X coordinate of the rectangle
ARG 2 y
COMMENT the Y coordinate of the rectangle
ARG 3 width
COMMENT the width of the rectangle
ARG 4 height
COMMENT the height of the rectangle
ARG 5 u
COMMENT the left-most coordinate of the texture region
ARG 6 v
COMMENT the top-most coordinate of the texture region
ARG 7 regionWidth
COMMENT the width of the texture region
ARG 8 regionHeight
COMMENT the height of the texture region
ARG 9 textureWidth
COMMENT the width of the entire texture
ARG 10 textureHeight
COMMENT the height of the entire texture
METHOD method_25294 fill (Lnet/minecraft/class_4587;IIIII)V
ARG 0 matrices
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
ARG 5 color
METHOD method_25295 drawTexturedQuad (Lnet/minecraft/class_1159;IIIIIFFFF)V
ARG 0 matrices
ARG 1 x0
ARG 2 x1
ARG 3 y0
ARG 4 y1
ARG 5 z
ARG 6 u0
ARG 7 u1
ARG 8 v0
ARG 9 v1
METHOD method_25296 fillGradient (Lnet/minecraft/class_4587;IIIIII)V
ARG 1 matrices
ARG 2 startX
ARG 3 startY
ARG 4 endX
ARG 5 endY
ARG 6 colorStart
ARG 7 colorEnd
METHOD method_25297 drawTexture (Lnet/minecraft/class_4587;IIIIIIIFFII)V
ARG 0 matrices
ARG 1 x0
ARG 2 y0
ARG 3 x1
ARG 4 y1
ARG 5 z
ARG 6 regionWidth
ARG 7 regionHeight
ARG 8 u
ARG 9 v
ARG 10 textureWidth
ARG 11 textureHeight
METHOD method_25298 drawSprite (Lnet/minecraft/class_4587;IIIIILnet/minecraft/class_1058;)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 width
ARG 5 height
ARG 6 sprite
METHOD method_25299 fill (Lnet/minecraft/class_1159;IIIII)V
ARG 0 matrix
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
ARG 5 color
METHOD method_25300 drawCenteredText (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Ljava/lang/String;III)V
ARG 0 matrices
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_25301 drawVerticalLine (Lnet/minecraft/class_4587;IIII)V
ARG 1 matrices
ARG 2 x
ARG 3 y1
ARG 4 y2
ARG 5 color
METHOD method_25302 drawTexture (Lnet/minecraft/class_4587;IIIIII)V
COMMENT Draws a textured rectangle from a region in a 256x256 texture.
COMMENT
COMMENT <p>The Z coordinate of the rectangle is {@link #zOffset}.
COMMENT
COMMENT <p>The width and height of the region are the same as
COMMENT the dimensions of the rectangle.
ARG 1 matrices
COMMENT the matrix stack used for rendering
ARG 2 x
COMMENT the X coordinate of the rectangle
ARG 3 y
COMMENT the Y coordinate of the rectangle
ARG 4 u
COMMENT the left-most coordinate of the texture region
ARG 5 v
COMMENT the top-most coordinate of the texture region
ARG 6 width
COMMENT the width
ARG 7 height
COMMENT the height
METHOD method_25303 drawStringWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Ljava/lang/String;III)V
ARG 0 matrices
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
METHOD method_25304 setZOffset (I)V
ARG 1 zOffset
METHOD method_25305 getZOffset ()I
METHOD method_27533 fillGradient (Lnet/minecraft/class_1159;Lnet/minecraft/class_287;IIIIIII)V
ARG 0 matrix
ARG 2 startX
ARG 3 startY
ARG 4 endX
ARG 5 endY
ARG 6 z
ARG 7 colorStart
ARG 8 colorEnd
METHOD method_27534 drawCenteredText (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)V
ARG 0 matrices
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_27535 drawTextWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)V
ARG 0 matrices
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
METHOD method_29343 drawWithOutline (IILjava/util/function/BiConsumer;)V
ARG 1 x
ARG 2 y
ARG 3 renderAction
COMMENT the action to render both the content and the outline, taking x and y positions as input
METHOD method_33284 fillGradient (Lnet/minecraft/class_4587;IIIIIII)V
ARG 0 matrices
ARG 1 startX
ARG 2 startY
ARG 3 endX
ARG 4 endY
ARG 5 colorStart
ARG 6 colorEnd
ARG 7 z
METHOD method_35719 drawCenteredTextWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)V
ARG 0 matrices
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_35720 drawWithShadow (Lnet/minecraft/class_4587;Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)V
ARG 0 matrices
ARG 1 textHandler
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color