mirror of https://github.com/FabricMC/yarn.git
Client resource reload stuff (#2381)
* Client resource reload stuff * Apply suggestions from code review Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Rename ReloadLogger Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
This commit is contained in:
parent
a0d779e7b6
commit
09f346eb81
|
@ -162,6 +162,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
|
||||||
FIELD field_27387 entityModelLoader Lnet/minecraft/class_5599;
|
FIELD field_27387 entityModelLoader Lnet/minecraft/class_5599;
|
||||||
FIELD field_27388 blockEntityRenderDispatcher Lnet/minecraft/class_824;
|
FIELD field_27388 blockEntityRenderDispatcher Lnet/minecraft/class_824;
|
||||||
FIELD field_29569 debugRecorder Lnet/minecraft/class_5962;
|
FIELD field_29569 debugRecorder Lnet/minecraft/class_5962;
|
||||||
|
FIELD field_33697 resourceReloadLogger Lnet/minecraft/class_6360;
|
||||||
METHOD <init> (Lnet/minecraft/class_542;)V
|
METHOD <init> (Lnet/minecraft/class_542;)V
|
||||||
ARG 1 args
|
ARG 1 args
|
||||||
METHOD method_1476 checkIs64Bit ()Z
|
METHOD method_1476 checkIs64Bit ()Z
|
||||||
|
@ -305,6 +306,8 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
|
||||||
ARG 4 metadata
|
ARG 4 metadata
|
||||||
ARG 5 insertionPosition
|
ARG 5 insertionPosition
|
||||||
ARG 6 source
|
ARG 6 source
|
||||||
|
METHOD method_24040 (Ljava/util/Optional;)V
|
||||||
|
ARG 1 throwable
|
||||||
METHOD method_24041 setMipmapLevels (I)V
|
METHOD method_24041 setMipmapLevels (I)V
|
||||||
ARG 1 mipmapLevels
|
ARG 1 mipmapLevels
|
||||||
METHOD method_24042 createV3ResourcePackFactory (Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
|
METHOD method_24042 createV3ResourcePackFactory (Ljava/util/function/Supplier;)Ljava/util/function/Supplier;
|
||||||
|
@ -313,6 +316,8 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
|
||||||
ARG 0 packFactory
|
ARG 0 packFactory
|
||||||
METHOD method_24226 handleResourceReloadException (Ljava/lang/Throwable;)V
|
METHOD method_24226 handleResourceReloadException (Ljava/lang/Throwable;)V
|
||||||
ARG 1 exception
|
ARG 1 exception
|
||||||
|
METHOD method_24228 (Ljava/util/concurrent/CompletableFuture;Ljava/util/Optional;)V
|
||||||
|
ARG 2 throwable
|
||||||
METHOD method_24287 getWindowTitle ()Ljava/lang/String;
|
METHOD method_24287 getWindowTitle ()Ljava/lang/String;
|
||||||
METHOD method_24288 updateWindowTitle ()V
|
METHOD method_24288 updateWindowTitle ()V
|
||||||
METHOD method_24289 isModded ()Z
|
METHOD method_24289 isModded ()Z
|
||||||
|
@ -403,6 +408,8 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
|
||||||
METHOD method_35702 getCurrentFps ()I
|
METHOD method_35702 getCurrentFps ()I
|
||||||
METHOD method_35703 getWorldGenerationProgressTracker ()Lnet/minecraft/class_3953;
|
METHOD method_35703 getWorldGenerationProgressTracker ()Lnet/minecraft/class_3953;
|
||||||
METHOD method_35706 isRealmsEnabled ()Z
|
METHOD method_35706 isRealmsEnabled ()Z
|
||||||
|
METHOD method_36561 reloadResources (Z)Ljava/util/concurrent/CompletableFuture;
|
||||||
|
ARG 1 force
|
||||||
CLASS class_5366 WorldLoadAction
|
CLASS class_5366 WorldLoadAction
|
||||||
CLASS class_5367 IntegratedResourceManager
|
CLASS class_5367 IntegratedResourceManager
|
||||||
FIELD field_25439 resourcePackManager Lnet/minecraft/class_3283;
|
FIELD field_25439 resourcePackManager Lnet/minecraft/class_3283;
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
CLASS net/minecraft/class_6360 net/minecraft/client/resource/ResourceReloadLogger
|
||||||
|
FIELD field_33698 LOGGER Lorg/apache/logging/log4j/Logger;
|
||||||
|
FIELD field_33699 reloadState Lnet/minecraft/class_6360$class_6363;
|
||||||
|
FIELD field_33700 reloadCount I
|
||||||
|
METHOD method_36562 finish ()V
|
||||||
|
METHOD method_36563 reload (Lnet/minecraft/class_6360$class_6362;Ljava/util/List;)V
|
||||||
|
ARG 1 reason
|
||||||
|
ARG 2 packs
|
||||||
|
METHOD method_36564 recover (Ljava/lang/Throwable;)V
|
||||||
|
ARG 1 throwable
|
||||||
|
METHOD method_36565 addReloadSection (Lnet/minecraft/class_128;)V
|
||||||
|
ARG 1 report
|
||||||
|
CLASS class_6361 RecoveryEntry
|
||||||
|
FIELD field_33701 throwable Ljava/lang/Throwable;
|
||||||
|
METHOD <init> (Ljava/lang/Throwable;)V
|
||||||
|
ARG 1 throwable
|
||||||
|
METHOD method_36567 addRecoverySection (Lnet/minecraft/class_129;)V
|
||||||
|
ARG 1 section
|
||||||
|
CLASS class_6362 ReloadReason
|
||||||
|
FIELD field_33705 name Ljava/lang/String;
|
||||||
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
|
||||||
|
ARG 3 name
|
||||||
|
CLASS class_6363 ReloadState
|
||||||
|
FIELD field_33707 reason Lnet/minecraft/class_6360$class_6362;
|
||||||
|
FIELD field_33708 packs Ljava/util/List;
|
||||||
|
FIELD field_33709 recovery Lnet/minecraft/class_6360$class_6361;
|
||||||
|
FIELD field_33710 finished Z
|
||||||
|
METHOD <init> (Lnet/minecraft/class_6360$class_6362;Ljava/util/List;)V
|
||||||
|
ARG 1 reason
|
||||||
|
ARG 2 packs
|
||||||
|
METHOD method_36573 addReloadSection (Lnet/minecraft/class_129;)V
|
||||||
|
ARG 1 section
|
Loading…
Reference in New Issue