Package net.minecraft.resource
Interface ResourceReloadMonitor
- All Known Implementing Classes:
ProfilingResourceReloader
,ReloadableResourceManagerImpl.FailedResourceReloadMonitor
,ResourceReloader
public interface ResourceReloadMonitor
-
Method Summary
Modifier and Type Method Description float
getProgress()
boolean
isApplyStageComplete()
boolean
isPrepareStageComplete()
void
throwExceptions()
CompletableFuture<Unit>
whenComplete()
-
Method Details
-
whenComplete
CompletableFuture<Unit> whenComplete() -
getProgress
@Environment(CLIENT) float getProgress() -
isPrepareStageComplete
@Environment(CLIENT) boolean isPrepareStageComplete() -
isApplyStageComplete
@Environment(CLIENT) boolean isApplyStageComplete() -
throwExceptions
@Environment(CLIENT) void throwExceptions()
-