static class ReloadableResourceManagerImpl.FailedResourceReloadMonitor extends Object implements ResourceReloadMonitor
| Modifier and Type | Field and Description |
|---|---|
private ReloadableResourceManagerImpl.PackAdditionFailedException |
exception |
private CompletableFuture<Unit> |
future |
| Constructor and Description |
|---|
FailedResourceReloadMonitor(ReloadableResourceManagerImpl.PackAdditionFailedException exception) |
| Modifier and Type | Method and Description |
|---|---|
float |
getProgress() |
boolean |
isApplyStageComplete() |
boolean |
isPrepareStageComplete() |
void |
throwExceptions() |
CompletableFuture<Unit> |
whenComplete() |
private final ReloadableResourceManagerImpl.PackAdditionFailedException exception
private final CompletableFuture<Unit> future
public FailedResourceReloadMonitor(ReloadableResourceManagerImpl.PackAdditionFailedException exception)
public CompletableFuture<Unit> whenComplete()
whenComplete in interface ResourceReloadMonitor@Environment(value=CLIENT) public float getProgress()
getProgress in interface ResourceReloadMonitor@Environment(value=CLIENT) public boolean isPrepareStageComplete()
isPrepareStageComplete in interface ResourceReloadMonitor@Environment(value=CLIENT) public boolean isApplyStageComplete()
isApplyStageComplete in interface ResourceReloadMonitor@Environment(value=CLIENT) public void throwExceptions()
throwExceptions in interface ResourceReloadMonitor