net.minecraft.server.v1_14_R1

public class Reloadable<S>

implements IReloadable

xk
net.minecraft.class_4014
net.minecraft.resource.ResourceReloader
net.minecraft.resources.AsyncReloader
net.minecraft.server.v1_14_R1.Reloadable

Field summary

Modifier and TypeField
protected final IResourceManager
a
field_17927
manager
field_219565_a
protected final CompletableFuture<Unit>
b
field_18042
prepareStageFuture
field_219566_b
protected final CompletableFuture<List<S>>
c
field_18043
applyStageFuture
field_219567_c
private final Set<IReloadListener>
d
field_18044
waitingListeners
field_219568_d
private final int
e
field_18045
listenerCount
field_219569_e
private int
f
field_18046
applyingCount
field_219570_f
private int
g
field_18047
appliedCount
field_219571_g
private final AtomicInteger
h
field_18048
preparingCount
field_219572_h
private final AtomicInteger
i
field_18049
preparedCount
field_219573_i

Constructor summary

ModifierConstructor
protected (Executor arg0, Executor arg1, IResourceManager arg2, List<IReloadListener> arg3, Reloadable$a<S> arg4, CompletableFuture<Unit> arg5)

Method summary

Modifier and TypeMethod
public static Reloadable<Void>
a(xg arg0, List<xb> arg1, Executor arg2, Executor arg3, CompletableFuture<aad> arg4)
method_18369(class_3300 arg0, List<class_3302> arg1, Executor arg2, Executor arg3, CompletableFuture<class_3902> arg4)
create(ResourceManager arg0, List<ResourceReloadListener> arg1, Executor arg2, Executor arg3, CompletableFuture<Unit> arg4)
func_219562_a(IResourceManager arg0, List<IFutureReloadListener> arg1, Executor arg2, Executor arg3, CompletableFuture<Unit> arg4)
public CompletableFuture<Unit>
a()
method_18364()
whenComplete()
func_219552_a()
public float
b()
method_18229()
getProgress()
func_219555_b()
public boolean
c()
method_18786()
isLoadStageComplete()
func_219553_c()
public boolean
d()
method_18787()
isApplyStageComplete()
func_219554_d()
public void
e()
method_18849()
throwExceptions()
func_219556_e()