package net.minecraft.server.packs.resources;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import net.minecraft.util.profiling.ProfilerFiller;

public interface PreparableReloadListener {
    CompletableFuture<Void> reload(final PreparationBarrier a, final ResourceManager abc, final ProfilerFiller ami3, final ProfilerFiller ami4, final Executor executor5, final Executor executor6);
    
    default String getName() {
        return this.getClass().getSimpleName();
    }
    
    public interface PreparationBarrier {
         <T> CompletableFuture<T> wait(final T object);
    }
}
