Package net.minecraft.resources
Class SimpleReloadableResourceManager.FailedPackReloader
- java.lang.Object
-
- net.minecraft.resources.SimpleReloadableResourceManager.FailedPackReloader
-
- All Implemented Interfaces:
IAsyncReloader
- Enclosing class:
- SimpleReloadableResourceManager
static class SimpleReloadableResourceManager.FailedPackReloader extends java.lang.Object implements IAsyncReloader
-
-
Field Summary
Fields Modifier and Type Field Description private SimpleReloadableResourceManager.FailedPackException
exception
private java.util.concurrent.CompletableFuture<Unit>
failedFuture
-
Constructor Summary
Constructors Constructor Description FailedPackReloader(SimpleReloadableResourceManager.FailedPackException p_i229961_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkExceptions()
java.util.concurrent.CompletableFuture<Unit>
done()
float
getActualProgress()
boolean
isApplying()
boolean
isDone()
-
-
-
Field Detail
-
exception
private final SimpleReloadableResourceManager.FailedPackException exception
-
failedFuture
private final java.util.concurrent.CompletableFuture<Unit> failedFuture
-
-
Constructor Detail
-
FailedPackReloader
public FailedPackReloader(SimpleReloadableResourceManager.FailedPackException p_i229961_1_)
-
-
Method Detail
-
done
public java.util.concurrent.CompletableFuture<Unit> done()
- Specified by:
done
in interfaceIAsyncReloader
-
getActualProgress
public float getActualProgress()
- Specified by:
getActualProgress
in interfaceIAsyncReloader
-
isApplying
public boolean isApplying()
- Specified by:
isApplying
in interfaceIAsyncReloader
-
isDone
public boolean isDone()
- Specified by:
isDone
in interfaceIAsyncReloader
-
checkExceptions
public void checkExceptions()
- Specified by:
checkExceptions
in interfaceIAsyncReloader
-
-