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.FailedPackExceptionexceptionprivate 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 voidcheckExceptions()java.util.concurrent.CompletableFuture<Unit>done()floatgetActualProgress()booleanisApplying()booleanisDone()
-
-
-
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:
donein interfaceIAsyncReloader
-
getActualProgress
public float getActualProgress()
- Specified by:
getActualProgressin interfaceIAsyncReloader
-
isApplying
public boolean isApplying()
- Specified by:
isApplyingin interfaceIAsyncReloader
-
isDone
public boolean isDone()
- Specified by:
isDonein interfaceIAsyncReloader
-
checkExceptions
public void checkExceptions()
- Specified by:
checkExceptionsin interfaceIAsyncReloader
-
-