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

326 lines
8.8 KiB
Plaintext

CLASS net/minecraft/class_332 net/minecraft/client/gui/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.
FIELD field_43045 LIGHT_DIRT_BACKGROUND_TEXTURE Lnet/minecraft/class_2960;
FIELD field_43098 SCISSOR_STACK Lnet/minecraft/class_332$class_8214;
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 textureWidth
COMMENT the width of the entire texture
ARG 9 textureHeight
COMMENT the height of the entire texture
METHOD method_25292 drawHorizontalLine (Lnet/minecraft/class_4587;IIII)V
ARG 0 matrices
ARG 1 x1
ARG 2 x2
ARG 3 y
ARG 4 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 (Lorg/joml/Matrix4f;IIIIIFFFF)V
ARG 0 matrix
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 0 matrices
ARG 1 startX
ARG 2 startY
ARG 3 endX
ARG 4 endY
ARG 5 colorStart
ARG 6 colorEnd
METHOD method_25297 drawTexture (Lnet/minecraft/class_4587;IIIIIIIFFII)V
ARG 0 matrices
ARG 1 x0
ARG 2 x1
ARG 3 y0
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_25300 drawCenteredTextWithShadow (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 0 matrices
ARG 1 x
ARG 2 y1
ARG 3 y2
ARG 4 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 {@code 0}.
COMMENT
COMMENT <p>The width and height of the region are the same as
COMMENT the dimensions of the rectangle.
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 u
ARG 4 v
ARG 5 width
ARG 6 height
METHOD method_25303 drawTextWithShadow (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_27533 fillGradient (Lorg/joml/Matrix4f;Lnet/minecraft/class_287;IIIIIII)V
ARG 0 matrix
ARG 1 builder
ARG 2 startX
ARG 3 startY
ARG 4 endX
ARG 5 endY
ARG 6 z
ARG 7 colorStart
ARG 8 colorEnd
METHOD method_27534 drawCenteredTextWithShadow (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 0 x
ARG 1 y
ARG 2 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 drawTextWithShadow (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 x
ARG 4 y
ARG 5 color
METHOD method_44379 enableScissor (IIII)V
ARG 0 x1
ARG 1 y1
ARG 2 x2
ARG 3 y2
METHOD method_44380 disableScissor ()V
METHOD method_48196 fill (Lnet/minecraft/class_4587;IIIIII)V
ARG 0 matrices
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
ARG 5 z
ARG 6 color
METHOD method_48465 drawSprite (Lnet/minecraft/class_4587;IIIIILnet/minecraft/class_1058;FFFF)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 width
ARG 5 height
ARG 6 sprite
ARG 7 red
ARG 8 green
ARG 9 blue
ARG 10 alpha
METHOD method_48466 drawTexturedQuad (Lorg/joml/Matrix4f;IIIIIFFFFFFFF)V
ARG 0 matrix
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
ARG 10 red
ARG 11 green
ARG 12 blue
ARG 13 alpha
METHOD method_48585 drawRepeatingTexture (Lnet/minecraft/class_4587;IIIIIIII)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 u
ARG 6 v
ARG 7 textureWidth
ARG 8 textureHeight
METHOD method_48586 drawNineSlicedTexture (Lnet/minecraft/class_4587;IIIIIIIII)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 outerSliceSize
ARG 6 centerSliceWidth
ARG 7 centerSliceHeight
ARG 8 u
ARG 9 v
METHOD method_48587 drawNineSlicedTexture (Lnet/minecraft/class_4587;IIIIIIIIIIII)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 leftSliceWidth
ARG 6 topSliceHeight
ARG 7 rightSliceWidth
ARG 8 bottomSliceHeight
ARG 9 centerSliceWidth
ARG 10 centerSliceHeight
ARG 11 u
ARG 12 v
METHOD method_49601 drawBorder (Lnet/minecraft/class_4587;IIIII)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 color
METHOD method_49696 createDivider (II)Lit/unimi/dsi/fastutil/ints/IntIterator;
ARG 0 sideLength
ARG 1 textureSideLength
METHOD method_49697 drawNineSlicedTexture (Lnet/minecraft/class_4587;IIIIIIIIII)V
ARG 0 matrices
ARG 1 x
ARG 2 y
ARG 3 width
ARG 4 height
ARG 5 sideSliceWidth
ARG 6 sideSliceHeight
ARG 7 centerSliceWidth
ARG 8 centerSliceHeight
ARG 9 u
ARG 10 v
METHOD method_49698 setScissor (Lnet/minecraft/class_8030;)V
ARG 0 rect
CLASS class_8214 ScissorStack
FIELD field_43099 stack Ljava/util/Deque;
METHOD method_49699 pop ()Lnet/minecraft/class_8030;
METHOD method_49700 push (Lnet/minecraft/class_8030;)Lnet/minecraft/class_8030;
ARG 1 rect