yarn/mappings/net/minecraft/resource/ResourceReload.mapping

17 lines
892 B
Plaintext

CLASS net/minecraft/class_4011 net/minecraft/resource/ResourceReload
COMMENT Represents a resource reload.
COMMENT
COMMENT @see ReloadableResourceManager#reload(java.util.concurrent.Executor,
COMMENT java.util.concurrent.Executor, CompletableFuture, java.util.List)
METHOD method_18229 getProgress ()F
COMMENT Returns a fraction between 0 and 1 indicating the progress of this
COMMENT reload.
METHOD method_18364 whenComplete ()Ljava/util/concurrent/CompletableFuture;
COMMENT Returns a future for the reload. The returned future is completed when
COMMENT the reload completes.
METHOD method_18787 isComplete ()Z
COMMENT Returns if this reload has completed, either normally or abnormally.
METHOD method_18849 throwException ()V
COMMENT Throws an unchecked exception from this reload, if there is any. Does
COMMENT nothing if the reload has not completed or terminated.