mirror of https://github.com/FabricMC/yarn.git
Document drawBox methods (#1455)
This commit is contained in:
parent
dda26b5e1d
commit
e2526d88ae
|
@ -110,7 +110,9 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
|
|||
METHOD method_22979 checkEmpty (Lnet/minecraft/class_4587;)V
|
||||
ARG 1 matrices
|
||||
METHOD method_22980 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFF)V
|
||||
METHOD method_22981 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFFFFF)V
|
||||
COMMENT Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].
|
||||
COMMENT
|
||||
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
||||
ARG 0 matrices
|
||||
ARG 1 vertexConsumer
|
||||
ARG 2 x1
|
||||
|
@ -120,10 +122,40 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
|
|||
ARG 10 y2
|
||||
ARG 12 z2
|
||||
ARG 14 red
|
||||
ARG 15 green
|
||||
ARG 16 blue
|
||||
ARG 17 alpha
|
||||
ARG 19 green
|
||||
ARG 20 blue
|
||||
METHOD method_22981 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFFFFF)V
|
||||
COMMENT Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].
|
||||
COMMENT The 3 axes centered at [x1,y1,z1] may be colored differently using xAxisRed, yAxisGreen, and zAxisBlue.
|
||||
COMMENT
|
||||
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
||||
ARG 0 matrices
|
||||
ARG 1 vertexConsumer
|
||||
ARG 2 x1
|
||||
ARG 4 y1
|
||||
ARG 6 z1
|
||||
ARG 8 x2
|
||||
ARG 10 y2
|
||||
ARG 12 z2
|
||||
ARG 14 red
|
||||
ARG 15 green
|
||||
ARG 16 blue
|
||||
ARG 17 alpha
|
||||
ARG 18 xAxisRed
|
||||
ARG 19 yAxisGreen
|
||||
ARG 20 zAxisBlue
|
||||
METHOD method_22982 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_238;FFFF)V
|
||||
COMMENT Draws a box.
|
||||
COMMENT
|
||||
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
||||
ARG 0 matrices
|
||||
ARG 1 vertexConsumer
|
||||
ARG 2 box
|
||||
ARG 3 red
|
||||
ARG 4 green
|
||||
ARG 5 blue
|
||||
ARG 6 alpha
|
||||
METHOD method_22987 removeBlockBreakingInfo (Lnet/minecraft/class_3191;)V
|
||||
METHOD method_22989 renderChunkDebugInfo (Lnet/minecraft/class_4184;)V
|
||||
ARG 1 camera
|
||||
|
|
Loading…
Reference in New Issue