2025-11-24 22:52:51 +03:00

25 lines
512 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.server.packs.resources;
import java.util.concurrent.CompletableFuture;
public interface ReloadInstance {
public CompletableFuture<?> done();
public float getActualProgress();
default public boolean isDone() {
return this.done().isDone();
}
default public void checkExceptions() {
CompletableFuture<?> done = this.done();
if (done.isCompletedExceptionally()) {
done.join();
}
}
}