net.minecraft.server.packs.resources

public class SimpleReloadInstance<S>

implements ReloadInstance

acj
net.minecraft.server.packs.resources.SimpleReloadInstance
net.minecraft.class_4014
net.minecraft.unmapped.C_nqsxthnh
net.minecraft.resource.ResourceReloader
net.minecraft.resources.AsyncReloader
net.minecraft.server.v1_16_R2.Reloadable

Field summary

Modifier and TypeField
protected final ResourceManager
a
resourceManager
field_17927
f_faeblktj
manager
field_219565_a
protected final CompletableFuture<Unit>
b
allPreparations
field_18042
f_xhhrscjo
prepareStageFuture
field_219566_b
protected final CompletableFuture<List<S>>
c
allDone
field_18043
f_bhanacfv
applyStageFuture
field_219567_c
private final Set<PreparableReloadListener>
d
preparingListeners
field_18044
f_mitzjbwz
waitingListeners
field_219568_d
private final int
e
listenerCount
field_18045
f_gfyktslg
listenerCount
field_219569_e
private int
f
startedReloads
field_18046
f_rzvuqgmk
applyingCount
field_219570_f
private int
g
finishedReloads
field_18047
f_hfilwdja
appliedCount
field_219571_g
private final AtomicInteger
h
startedTaskCounter
field_18048
f_ppjrmgsm
preparingCount
field_219572_h
private final AtomicInteger
i
doneTaskCounter
field_18049
f_rbkrnkfs
preparedCount
field_219573_i

Constructor summary

ModifierConstructor
protected (Executor prepareExecutor, Executor applyExecutor, ResourceManager manager, List<PreparableReloadListener> listeners, SimpleReloadInstance$StateFactory<S> creator, CompletableFuture<Unit> initialStage)

Method summary

Modifier and TypeMethod
public static SimpleReloadInstance<Void>
a(acf arg0, List<aca> arg1, Executor arg2, Executor arg3, CompletableFuture<afu> arg4)
of(ResourceManager arg0, List<PreparableReloadListener> arg1, Executor arg2, Executor arg3, CompletableFuture<Unit> arg4)
method_18369(class_3300 arg0, List<class_3302> arg1, Executor arg2, Executor arg3, CompletableFuture<class_3902> arg4)
m_fdirnkhq(C_tmnrpasf arg0, List<C_msqwzogj> arg1, Executor arg2, Executor arg3, CompletableFuture<C_djdmkjpx> arg4)
create(ResourceManager manager, List<ResourceReloadListener> listeners, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage)
func_219562_a(IResourceManager arg0, List<IFutureReloadListener> arg1, Executor arg2, Executor arg3, CompletableFuture<Unit> arg4)
public CompletableFuture<Unit>
a()
done()
method_18364()
m_dctqsnoh()
whenComplete()
func_219552_a()
public float
b()
getActualProgress()
method_18229()
m_olsboeec()
getProgress()
func_219555_b()
public boolean
c()
isApplying()
method_18786()
m_izazvpkx()
isPrepareStageComplete()
func_219553_c()
public boolean
d()
isDone()
method_18787()
m_kskknuzl()
isApplyStageComplete()
func_219554_d()
public void
e()
checkExceptions()
method_18849()
m_gesgbvtw()
throwExceptions()
func_219556_e()