类 SimpleReloadInstance<S>
java.lang.Object
net.minecraft.server.packs.resources.SimpleReloadInstance<S>
- 所有已实现的接口:
ReloadInstance
- 直接已知子类:
ProfiledReloadInstance
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明protected CompletableFuture
<List<S>> protected final CompletableFuture
<Unit> private final AtomicInteger
private static final int
private int
private static final int
private final int
private static final int
(专用程序包) final Set
<PreparableReloadListener> private int
private final AtomicInteger
-
构造器概要
构造器限定符构造器说明protected
SimpleReloadInstance
(Executor p_10808_, Executor p_10809_, ResourceManager p_10810_, List<PreparableReloadListener> p_10811_, SimpleReloadInstance.StateFactory<S> p_10812_, CompletableFuture<Unit> p_10813_) -
方法概要
修饰符和类型方法说明static ReloadInstance
create
(ResourceManager p_203835_, List<PreparableReloadListener> p_203836_, Executor p_203837_, Executor p_203838_, CompletableFuture<Unit> p_203839_, boolean p_203840_) done()
float
static SimpleReloadInstance
<Void> of
(ResourceManager p_10816_, List<PreparableReloadListener> p_10817_, Executor p_10818_, Executor p_10819_, CompletableFuture<Unit> p_10820_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.ReloadInstance
checkExceptions, isDone
-
字段详细资料
-
PREPARATION_PROGRESS_WEIGHT
private static final int PREPARATION_PROGRESS_WEIGHT- 另请参阅:
-
EXTRA_RELOAD_PROGRESS_WEIGHT
private static final int EXTRA_RELOAD_PROGRESS_WEIGHT- 另请参阅:
-
LISTENER_PROGRESS_WEIGHT
private static final int LISTENER_PROGRESS_WEIGHT- 另请参阅:
-
allPreparations
-
allDone
-
preparingListeners
-
listenerCount
private final int listenerCount -
startedReloads
private int startedReloads -
finishedReloads
private int finishedReloads -
startedTaskCounter
-
doneTaskCounter
-
-
构造器详细资料
-
SimpleReloadInstance
protected SimpleReloadInstance(Executor p_10808_, Executor p_10809_, ResourceManager p_10810_, List<PreparableReloadListener> p_10811_, SimpleReloadInstance.StateFactory<S> p_10812_, CompletableFuture<Unit> p_10813_)
-
-
方法详细资料
-
of
public static SimpleReloadInstance<Void> of(ResourceManager p_10816_, List<PreparableReloadListener> p_10817_, Executor p_10818_, Executor p_10819_, CompletableFuture<Unit> p_10820_) -
done
- 指定者:
done
在接口中ReloadInstance
-
getActualProgress
public float getActualProgress()- 指定者:
getActualProgress
在接口中ReloadInstance
-
create
public static ReloadInstance create(ResourceManager p_203835_, List<PreparableReloadListener> p_203836_, Executor p_203837_, Executor p_203838_, CompletableFuture<Unit> p_203839_, boolean p_203840_)
-