23w32a dfbug charts

This commit is contained in:
Shnupbups 2023-08-10 16:22:30 +10:00
parent c79ff3fbdc
commit cff13f0a44
7 changed files with 91 additions and 0 deletions

View File

@ -9,6 +9,10 @@ CLASS net/minecraft/class_340 net/minecraft/client/gui/hud/DebugHud
FIELD field_2085 pos Lnet/minecraft/class_1923;
FIELD field_32187 TEXT_COLOR I
FIELD field_38985 allocationRateCalculator Lnet/minecraft/class_340$class_7412;
FIELD field_45910 fpsChart Lnet/minecraft/class_8757;
FIELD field_45911 pingChart Lnet/minecraft/class_8758;
FIELD field_45912 bandwidthChart Lnet/minecraft/class_8756;
FIELD field_45913 tpsChart Lnet/minecraft/class_8759;
METHOD <init> (Lnet/minecraft/class_310;)V
ARG 1 client
METHOD method_1834 getChunk ()Lnet/minecraft/class_2818;
@ -55,6 +59,7 @@ CLASS net/minecraft/class_340 net/minecraft/client/gui/hud/DebugHud
ARG 1 context
ARG 2 text
ARG 3 left
METHOD method_53467 getOrCreateTpsChart ()Lnet/minecraft/class_8759;
CLASS class_7412 AllocationRateCalculator
FIELD field_38986 INTERVAL I
FIELD field_38987 GARBAGE_COLLECTORS Ljava/util/List;

View File

@ -0,0 +1,25 @@
CLASS net/minecraft/class_8756 net/minecraft/client/gui/hud/debug/BandwidthDebugChart
FIELD field_45920 CYAN I
FIELD field_45921 PURPLE I
FIELD field_45922 RED I
FIELD field_45923 BYTES_PER_KILOBYTE I
FIELD field_45924 BYTES_PER_MEGABYTE I
FIELD field_45925 TOP_VALUE I
METHOD method_53476 drawLineWithValueLabel (Lnet/minecraft/class_332;IIII)V
ARG 1 context
ARG 2 x
ARG 3 width
ARG 4 scaledWindowHeight
ARG 5 value
METHOD method_53477 drawLabeledLine (Lnet/minecraft/class_332;IIILjava/lang/String;)V
ARG 1 context
ARG 2 x
ARG 3 width
ARG 4 y
ARG 5 text
METHOD method_53478 formatBytesPerSecond (D)Ljava/lang/String;
ARG 0 bytesPerSecond
METHOD method_53479 getHeightForBytesPerSecond (D)I
ARG 0 bytesPerSecond
METHOD method_53480 toPerSecond (D)D
ARG 0 perTick

View File

@ -0,0 +1,39 @@
CLASS net/minecraft/class_8755 net/minecraft/client/gui/hud/debug/DebugChart
FIELD field_45915 TEXT_COLOR I
FIELD field_45916 HEIGHT I
FIELD field_45917 LINE_WIDTH I
FIELD field_45918 textRenderer Lnet/minecraft/class_327;
FIELD field_45919 performanceLog Lnet/minecraft/class_8743;
METHOD <init> (Lnet/minecraft/class_327;Lnet/minecraft/class_8743;)V
ARG 1 textRenderer
ARG 2 performanceLog
METHOD method_53468 formatRawValue (D)Ljava/lang/String;
ARG 1 rawValue
METHOD method_53469 getColorForValue (DDIDIDI)I
ARG 1 value
ARG 3 minValue
ARG 5 minColor
ARG 6 medValue
ARG 8 medColor
ARG 9 maxValue
ARG 11 maxColor
METHOD method_53470 getWidth (I)I
ARG 1 max
METHOD method_53471 getColorForRawValue (J)I
ARG 1 rawValue
METHOD method_53472 draw (Lnet/minecraft/class_332;II)V
ARG 1 context
ARG 2 x
ARG 3 width
METHOD method_53473 drawExtras (Lnet/minecraft/class_332;III)V
ARG 1 context
ARG 2 x
ARG 3 width
ARG 4 scaledWindowHeight
METHOD method_53474 drawTextWithBackground (Lnet/minecraft/class_332;Ljava/lang/String;II)V
ARG 1 context
ARG 2 text
ARG 3 x
ARG 4 y
METHOD method_53475 getHeightForRawValue (D)I
ARG 1 rawValue

View File

@ -0,0 +1,8 @@
CLASS net/minecraft/class_8757 net/minecraft/client/gui/hud/debug/FpsDebugChart
FIELD field_45926 RED I
FIELD field_45927 YELLOW I
FIELD field_45928 GREEN I
FIELD field_45929 SECTION_TOP_VALUE I
FIELD field_45930 TOP_VALUE D
METHOD method_53481 toMilliseconds (D)D
ARG 0 value

View File

@ -0,0 +1,5 @@
CLASS net/minecraft/class_8758 net/minecraft/client/gui/hud/debug/PingDebugChart
FIELD field_45931 RED I
FIELD field_45932 YELLOW I
FIELD field_45933 GREEN I
FIELD field_45934 TOP_VALUE I

View File

@ -0,0 +1,7 @@
CLASS net/minecraft/class_8759 net/minecraft/client/gui/hud/debug/TpsDebugChart
FIELD field_45935 RED I
FIELD field_45936 YELLOW I
FIELD field_45937 GREEN I
FIELD field_45938 TOP_VALUE I
METHOD method_53482 toMilliseconds (D)D
ARG 0 value

View File

@ -75,6 +75,7 @@ CLASS net/minecraft/server/MinecraftServer
FIELD field_4591 commandFunctionManager Lnet/minecraft/class_2991;
FIELD field_4592 tickTime F
FIELD field_4593 metadata Lnet/minecraft/class_2926;
FIELD field_45951 tpsLog Lnet/minecraft/class_8743;
FIELD field_4595 dataPackManager Lnet/minecraft/class_3283;
FIELD field_4596 playerIdleTimeout I
FIELD field_4599 proxy Ljava/net/Proxy;
@ -436,6 +437,7 @@ CLASS net/minecraft/server/MinecraftServer
METHOD method_49750 sendTimeUpdatePackets (Lnet/minecraft/class_3218;)V
ARG 1 world
METHOD method_52344 shouldLogIps ()Z
METHOD method_53500 getTpsLog ()Lnet/minecraft/class_8743;
METHOD method_5387 isMainThread ()Z
CLASS class_6414 DebugStart
FIELD field_33980 time J