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

452 lines
11 KiB
Plaintext

CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawContext
FIELD field_44656 client Lnet/minecraft/class_310;
FIELD field_44657 matrices Lnet/minecraft/class_4587;
FIELD field_44658 vertexConsumers Lnet/minecraft/class_4597$class_4598;
FIELD field_44659 scissorStack Lnet/minecraft/class_332$class_8214;
FIELD field_44797 runningDrawCallback Z
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;)V
ARG 1 client
ARG 2 matrices
ARG 3 vertexConsumers
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_4597$class_4598;)V
ARG 1 client
ARG 2 vertexConsumers
METHOD method_25290 drawTexture (Lnet/minecraft/class_2960;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 1 texture
ARG 2 x
ARG 3 y
ARG 4 u
ARG 5 v
ARG 6 width
ARG 7 height
ARG 8 textureWidth
ARG 9 textureHeight
METHOD method_25291 drawTexture (Lnet/minecraft/class_2960;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 1 texture
ARG 2 x
ARG 3 y
ARG 4 z
ARG 5 u
ARG 6 v
ARG 7 width
ARG 8 height
ARG 9 textureWidth
ARG 10 textureHeight
METHOD method_25292 drawHorizontalLine (IIII)V
ARG 1 x1
ARG 2 x2
ARG 3 y
ARG 4 color
METHOD method_25293 drawTexture (Lnet/minecraft/class_2960;IIIIFFIIII)V
COMMENT Draws a textured rectangle from a region in a texture.
ARG 1 texture
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
ARG 6 u
ARG 7 v
ARG 8 regionWidth
ARG 9 regionHeight
ARG 10 textureWidth
ARG 11 textureHeight
METHOD method_25294 fill (IIIII)V
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
ARG 5 color
METHOD method_25295 drawTexturedQuad (Lnet/minecraft/class_2960;IIIIIFFFF)V
ARG 1 texture
ARG 2 x1
ARG 3 x2
ARG 4 y1
ARG 5 y2
ARG 6 z
ARG 7 u1
ARG 8 u2
ARG 9 v1
ARG 10 v2
METHOD method_25296 fillGradient (IIIIII)V
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_2960;IIIIIIIFFII)V
ARG 1 texture
ARG 2 x1
ARG 3 x2
ARG 4 y1
ARG 5 y2
ARG 6 z
ARG 7 regionWidth
ARG 8 regionHeight
ARG 9 u
ARG 10 v
ARG 11 textureWidth
ARG 12 textureHeight
METHOD method_25298 drawSprite (IIIIILnet/minecraft/class_1058;)V
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_327;Ljava/lang/String;III)V
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_25301 drawVerticalLine (IIII)V
ARG 1 x
ARG 2 y1
ARG 3 y2
ARG 4 color
METHOD method_25302 drawTexture (Lnet/minecraft/class_2960;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 1 texture
ARG 2 x
ARG 3 y
ARG 4 u
ARG 5 v
ARG 6 width
ARG 7 height
METHOD method_25303 drawTextWithShadow (Lnet/minecraft/class_327;Ljava/lang/String;III)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
METHOD method_27533 fillGradient (Lnet/minecraft/class_4588;IIIIIII)V
ARG 1 vertexConsumer
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_327;Lnet/minecraft/class_2561;III)V
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_27535 drawTextWithShadow (Lnet/minecraft/class_327;Lnet/minecraft/class_2561;III)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
METHOD method_33284 fillGradient (IIIIIII)V
ARG 1 startX
ARG 2 startY
ARG 3 endX
ARG 4 endY
ARG 5 z
ARG 6 colorStart
ARG 7 colorEnd
METHOD method_35719 drawCenteredTextWithShadow (Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)V
ARG 1 textRenderer
ARG 2 text
ARG 3 centerX
ARG 4 y
ARG 5 color
METHOD method_35720 drawTextWithShadow (Lnet/minecraft/class_327;Lnet/minecraft/class_5481;III)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
METHOD method_44379 enableScissor (IIII)V
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
METHOD method_44380 disableScissor ()V
METHOD method_48196 fill (Lnet/minecraft/class_1921;IIIIII)V
ARG 1 layer
ARG 2 x1
ARG 3 x2
ARG 4 y1
ARG 5 y2
ARG 6 z
ARG 7 color
METHOD method_48465 drawSprite (IIIIILnet/minecraft/class_1058;FFFF)V
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 (Lnet/minecraft/class_2960;IIIIIFFFFFFFF)V
ARG 1 texture
ARG 2 x1
ARG 3 x2
ARG 4 y1
ARG 5 y2
ARG 6 z
ARG 7 u1
ARG 8 u2
ARG 9 v1
ARG 10 v2
ARG 11 red
ARG 12 green
ARG 13 blue
ARG 14 alpha
METHOD method_48585 drawRepeatingTexture (Lnet/minecraft/class_2960;IIIIIIII)V
ARG 1 texture
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
ARG 6 u
ARG 7 v
ARG 8 textureWidth
ARG 9 textureHeight
METHOD method_48586 drawNineSlicedTexture (Lnet/minecraft/class_2960;IIIIIIIII)V
ARG 1 texture
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
ARG 6 outerSliceSize
ARG 7 centerSliceWidth
ARG 8 centerSliceHeight
ARG 9 u
ARG 10 v
METHOD method_48587 drawNineSlicedTexture (Lnet/minecraft/class_2960;IIIIIIIIIIII)V
ARG 1 texture
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
ARG 6 leftSliceWidth
ARG 7 topSliceHeight
ARG 8 rightSliceWidth
ARG 9 bottomSliceHeight
ARG 10 centerSliceWidth
ARG 11 centerSliceHeight
ARG 12 u
ARG 13 v
METHOD method_49601 drawBorder (IIIII)V
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_2960;IIIIIIIIII)V
ARG 1 texture
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
ARG 6 outerSliceWidth
ARG 7 outerSliceHeight
ARG 8 centerSliceWidth
ARG 9 centerSliceHeight
ARG 10 u
ARG 11 v
METHOD method_49698 setScissor (Lnet/minecraft/class_8030;)V
ARG 1 rect
METHOD method_51421 getScaledWindowWidth ()I
METHOD method_51422 setShaderColor (FFFF)V
ARG 1 red
ARG 2 green
ARG 3 blue
ARG 4 alpha
METHOD method_51423 drawItem (Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;III)V
ARG 1 entity
ARG 2 stack
ARG 3 x
ARG 4 y
ARG 5 seed
METHOD method_51424 drawItem (Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;III)V
ARG 1 entity
ARG 2 world
ARG 3 stack
ARG 4 x
ARG 5 y
ARG 6 seed
METHOD method_51425 drawItem (Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;IIII)V
ARG 1 entity
ARG 2 world
ARG 3 stack
ARG 4 x
ARG 5 y
ARG 6 seed
ARG 7 z
METHOD method_51427 drawItem (Lnet/minecraft/class_1799;II)V
ARG 1 item
ARG 2 x
ARG 3 y
METHOD method_51428 drawItem (Lnet/minecraft/class_1799;III)V
ARG 1 stack
ARG 2 x
ARG 3 y
ARG 4 seed
METHOD method_51429 drawItem (Lnet/minecraft/class_1799;IIII)V
ARG 1 stack
ARG 2 x
ARG 3 y
ARG 4 seed
ARG 5 z
METHOD method_51430 drawText (Lnet/minecraft/class_327;Lnet/minecraft/class_5481;IIIZ)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
ARG 6 shadow
METHOD method_51431 drawItemInSlot (Lnet/minecraft/class_327;Lnet/minecraft/class_1799;II)V
ARG 1 textRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
METHOD method_51432 drawItemInSlot (Lnet/minecraft/class_327;Lnet/minecraft/class_1799;IILjava/lang/String;)V
ARG 1 textRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
ARG 5 countOverride
METHOD method_51433 drawText (Lnet/minecraft/class_327;Ljava/lang/String;IIIZ)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
ARG 6 shadow
METHOD method_51434 drawTooltip (Lnet/minecraft/class_327;Ljava/util/List;II)V
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
METHOD method_51435 drawTooltip (Lnet/minecraft/class_327;Ljava/util/List;IILnet/minecraft/class_8000;)V
ARG 1 textRenderer
ARG 2 components
ARG 3 x
ARG 4 y
ARG 5 positioner
METHOD method_51436 drawTooltip (Lnet/minecraft/class_327;Ljava/util/List;Lnet/minecraft/class_8000;II)V
ARG 1 textRenderer
ARG 2 text
ARG 3 positioner
ARG 4 x
ARG 5 y
METHOD method_51437 drawTooltip (Lnet/minecraft/class_327;Ljava/util/List;Ljava/util/Optional;II)V
ARG 1 textRenderer
ARG 2 text
ARG 3 data
ARG 4 x
ARG 5 y
METHOD method_51438 drawTooltip (Lnet/minecraft/class_327;Lnet/minecraft/class_2561;II)V
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
METHOD method_51439 drawText (Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IIIZ)I
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 color
ARG 6 shadow
METHOD method_51440 drawTextWrapped (Lnet/minecraft/class_327;Lnet/minecraft/class_5348;IIII)V
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
ARG 5 width
ARG 6 color
METHOD method_51441 drawHoverEvent (Lnet/minecraft/class_327;Lnet/minecraft/class_2583;II)V
ARG 1 textRenderer
ARG 2 style
ARG 3 x
ARG 4 y
METHOD method_51442 (Ljava/util/List;Lnet/minecraft/class_5632;)V
ARG 1 data
METHOD method_51443 getScaledWindowHeight ()I
METHOD method_51445 drawItemWithoutEntity (Lnet/minecraft/class_1799;II)V
ARG 1 stack
ARG 2 x
ARG 3 y
METHOD method_51446 drawItemTooltip (Lnet/minecraft/class_327;Lnet/minecraft/class_1799;II)V
ARG 1 textRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
METHOD method_51447 drawOrderedTooltip (Lnet/minecraft/class_327;Ljava/util/List;II)V
ARG 1 textRenderer
ARG 2 text
ARG 3 x
ARG 4 y
METHOD method_51448 getMatrices ()Lnet/minecraft/class_4587;
METHOD method_51450 getVertexConsumers ()Lnet/minecraft/class_4597$class_4598;
METHOD method_51452 draw ()V
METHOD method_51737 fill (IIIIII)V
ARG 1 x1
ARG 2 y1
ARG 3 x2
ARG 4 y2
ARG 5 z
ARG 6 color
METHOD method_51738 drawHorizontalLine (Lnet/minecraft/class_1921;IIII)V
ARG 1 layer
ARG 2 x1
ARG 3 x2
ARG 4 y
ARG 5 color
METHOD method_51739 fill (Lnet/minecraft/class_1921;IIIII)V
ARG 1 layer
ARG 2 x1
ARG 3 x2
ARG 4 y1
ARG 5 y2
ARG 6 color
METHOD method_51740 fillGradient (Lnet/minecraft/class_1921;IIIIIII)V
ARG 1 layer
ARG 2 startX
ARG 3 startY
ARG 4 endX
ARG 5 endY
ARG 6 colorStart
ARG 7 colorEnd
ARG 8 z
METHOD method_51741 draw (Ljava/lang/Runnable;)V
ARG 1 drawCallback
METHOD method_51742 drawVerticalLine (Lnet/minecraft/class_1921;IIII)V
ARG 1 layer
ARG 2 x
ARG 3 y1
ARG 4 y2
ARG 5 color
METHOD method_51744 tryDraw ()V
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