net.minecraft.resource.manager

public class SimpleResourceReload<S>

implements ResourceReload

xh
net.minecraft.class_4014
net.minecraft.resource.manager.SimpleResourceReload
net.minecraft.resources.AsyncReloader
net.minecraft.resources.AsyncReloader

Field summary

Modifier and TypeField
protected final ResourceManager
a
field_17927
resourceManager
field_219565_a
resourceManager
protected final CompletableFuture<Unit>
b
field_18042
preparations
field_219566_b
allAsyncCompleted
protected final CompletableFuture<List<S>>
c
field_18043
result
field_219567_c
resultListFuture
private final Set<ResourceReloadListener>
d
field_18044
preparingListeners
field_219568_d
taskSet
private final int
e
field_18045
listenerCount
field_219569_e
taskCount
private int
f
field_18046
applicationsStarted
field_219570_f
syncScheduled
private int
g
field_18047
applicationsFinished
field_219571_g
syncCompleted
private final AtomicInteger
h
field_18048
preparationsStarted
field_219572_h
asyncScheduled
private final AtomicInteger
i
field_18049
preparationsFinished
field_219573_i
asyncCompleted

Constructor summary

ModifierConstructor
protected (Executor backgroundExecutor, Executor mainThreadExecutor, ResourceManager resourceManager, List<ResourceReloadListener> listeners, SimpleResourceReload$StateFactory<S> factory, CompletableFuture<Unit> initialTask)

Method summary

Modifier and TypeMethod
public static SimpleResourceReload<Void>
a(xe arg0, List<wz> arg1, Executor arg2, Executor arg3, CompletableFuture<aaa> arg4)
method_18369(class_3300 arg0, List<class_3302> arg1, Executor arg2, Executor arg3, CompletableFuture<class_3902> arg4)
of(ResourceManager resourceManager, List<ResourceReloadListener> listeners, Executor backgroundExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask)
func_219562_a(IResourceManager arg0, List<IFutureReloadListener> arg1, Executor arg2, Executor arg3, CompletableFuture<Unit> arg4)
create(IResourceManager resourceManager, List<IFutureReloadListener> listeners, Executor backgroundExecutor, Executor gameExecutor, CompletableFuture<Unit> arg4)
public CompletableFuture<Unit>
a()
method_18364()
getResult()
func_219552_a()
onceDone()
public float
b()
method_18229()
getProgress()
func_219555_b()
estimateExecutionSpeed()
public boolean
c()
method_18786()
isApplying()
func_219553_c()
asyncPartDone()
public boolean
d()
method_18787()
isDone()
func_219554_d()
fullyDone()
public void
e()
method_18849()
checkExceptions()
func_219556_e()
join()