Class ReloadableResourceManagerImpl.FailedResourceReloadMonitor

java.lang.Object
net.minecraft.resource.ReloadableResourceManagerImpl.FailedResourceReloadMonitor
All Implemented Interfaces:
ResourceReloadMonitor
Enclosing class:
ReloadableResourceManagerImpl

static class ReloadableResourceManagerImpl.FailedResourceReloadMonitor
extends Object
implements ResourceReloadMonitor
Mappings:
Namespace Name
official adc$a
intermediary net/minecraft/class_3304$class_4742
named net/minecraft/resource/ReloadableResourceManagerImpl$FailedResourceReloadMonitor
  • Field Details

    • exception

      Mappings:
      Namespace Name Mixin selector
      official a Ladc$a;a:Ladc$b;
      intermediary field_21810 Lnet/minecraft/class_3304$class_4742;field_21810:Lnet/minecraft/class_3304$class_4743;
      named exception Lnet/minecraft/resource/ReloadableResourceManagerImpl$FailedResourceReloadMonitor;exception:Lnet/minecraft/resource/ReloadableResourceManagerImpl$PackAdditionFailedException;
    • future

      private final CompletableFuture<Unit> future
      Mappings:
      Namespace Name Mixin selector
      official b Ladc$a;b:Ljava/util/concurrent/CompletableFuture;
      intermediary field_21811 Lnet/minecraft/class_3304$class_4742;field_21811:Ljava/util/concurrent/CompletableFuture;
      named future Lnet/minecraft/resource/ReloadableResourceManagerImpl$FailedResourceReloadMonitor;future:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • FailedResourceReloadMonitor

      public FailedResourceReloadMonitor​(ReloadableResourceManagerImpl.PackAdditionFailedException exception)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladc$a;<init>(Ladc$b;)V
      intermediary <init> Lnet/minecraft/class_3304$class_4742;<init>(Lnet/minecraft/class_3304$class_4743;)V
      named <init> Lnet/minecraft/resource/ReloadableResourceManagerImpl$FailedResourceReloadMonitor;<init>(Lnet/minecraft/resource/ReloadableResourceManagerImpl$PackAdditionFailedException;)V
  • Method Details

    • whenComplete

      public CompletableFuture<Unit> whenComplete()
      Specified by:
      whenComplete in interface ResourceReloadMonitor
      Mappings:
      Namespace Name Mixin selector
      official a Lacu;a()Ljava/util/concurrent/CompletableFuture;
      intermediary method_18364 Lnet/minecraft/class_4011;method_18364()Ljava/util/concurrent/CompletableFuture;
      named whenComplete Lnet/minecraft/resource/ResourceReloadMonitor;whenComplete()Ljava/util/concurrent/CompletableFuture;
    • getProgress

      @Environment(CLIENT) public float getProgress()
      Specified by:
      getProgress in interface ResourceReloadMonitor
      Mappings:
      Namespace Name Mixin selector
      official b Lacu;b()F
      intermediary method_18229 Lnet/minecraft/class_4011;method_18229()F
      named getProgress Lnet/minecraft/resource/ResourceReloadMonitor;getProgress()F
    • isPrepareStageComplete

      @Environment(CLIENT) public boolean isPrepareStageComplete()
      Specified by:
      isPrepareStageComplete in interface ResourceReloadMonitor
      Mappings:
      Namespace Name Mixin selector
      official c Lacu;c()Z
      intermediary method_18786 Lnet/minecraft/class_4011;method_18786()Z
      named isPrepareStageComplete Lnet/minecraft/resource/ResourceReloadMonitor;isPrepareStageComplete()Z
    • isApplyStageComplete

      @Environment(CLIENT) public boolean isApplyStageComplete()
      Specified by:
      isApplyStageComplete in interface ResourceReloadMonitor
      Mappings:
      Namespace Name Mixin selector
      official d Lacu;d()Z
      intermediary method_18787 Lnet/minecraft/class_4011;method_18787()Z
      named isApplyStageComplete Lnet/minecraft/resource/ResourceReloadMonitor;isApplyStageComplete()Z
    • throwExceptions

      @Environment(CLIENT) public void throwExceptions()
      Specified by:
      throwExceptions in interface ResourceReloadMonitor
      Mappings:
      Namespace Name Mixin selector
      official e Lacu;e()V
      intermediary method_18849 Lnet/minecraft/class_4011;method_18849()V
      named throwExceptions Lnet/minecraft/resource/ResourceReloadMonitor;throwExceptions()V