Document drawBox methods (#1455)

This commit is contained in:
i509VCB 2020-06-11 03:35:50 -07:00 committed by GitHub
parent dda26b5e1d
commit e2526d88ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 3 deletions

View File

@ -110,7 +110,9 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
METHOD method_22979 checkEmpty (Lnet/minecraft/class_4587;)V METHOD method_22979 checkEmpty (Lnet/minecraft/class_4587;)V
ARG 1 matrices ARG 1 matrices
METHOD method_22980 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFF)V 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 0 matrices
ARG 1 vertexConsumer ARG 1 vertexConsumer
ARG 2 x1 ARG 2 x1
@ -120,10 +122,40 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
ARG 10 y2 ARG 10 y2
ARG 12 z2 ARG 12 z2
ARG 14 red ARG 14 red
ARG 15 green
ARG 16 blue
ARG 17 alpha ARG 17 alpha
ARG 19 green METHOD method_22981 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFFFFF)V
ARG 20 blue 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 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_22987 removeBlockBreakingInfo (Lnet/minecraft/class_3191;)V
METHOD method_22989 renderChunkDebugInfo (Lnet/minecraft/class_4184;)V METHOD method_22989 renderChunkDebugInfo (Lnet/minecraft/class_4184;)V
ARG 1 camera ARG 1 camera