Package | Description |
---|---|
net.minecraft.client | |
net.minecraft.entity.player | |
net.minecraft.resources | |
net.minecraft.server | |
net.minecraft.util | |
net.minecraft.world.chunk | |
net.minecraft.world.server |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.CompletableFuture<Unit> |
Minecraft.RESOURCE_RELOAD_INIT_TASK |
Modifier and Type | Method and Description |
---|---|
com.mojang.datafixers.util.Either<PlayerEntity.SleepResult,Unit> |
PlayerEntity.trySleep(BlockPos at) |
com.mojang.datafixers.util.Either<PlayerEntity.SleepResult,Unit> |
ServerPlayerEntity.trySleep(BlockPos at) |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.CompletableFuture<Unit> |
AsyncReloader.allAsyncCompleted |
private java.util.concurrent.CompletableFuture<Unit> |
SimpleReloadableResourceManager.FailedPackReloader.field_230020_b_ |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<Unit> |
IAsyncReloader.onceDone() |
java.util.concurrent.CompletableFuture<Unit> |
SimpleReloadableResourceManager.FailedPackReloader.onceDone() |
java.util.concurrent.CompletableFuture<Unit> |
AsyncReloader.onceDone() |
java.util.concurrent.CompletableFuture<Unit> |
IReloadableResourceManager.reloadResourcesAndThen(java.util.concurrent.Executor p_219536_1_,
java.util.concurrent.Executor p_219536_2_,
java.util.List<IResourcePack> p_219536_3_,
java.util.concurrent.CompletableFuture<Unit> p_219536_4_) |
java.util.concurrent.CompletableFuture<Unit> |
SimpleReloadableResourceManager.reloadResourcesAndThen(java.util.concurrent.Executor p_219536_1_,
java.util.concurrent.Executor p_219536_2_,
java.util.List<IResourcePack> p_219536_3_,
java.util.concurrent.CompletableFuture<Unit> p_219536_4_) |
Modifier and Type | Method and Description |
---|---|
static AsyncReloader<java.lang.Void> |
AsyncReloader.create(IResourceManager resourceManager,
java.util.List<IFutureReloadListener> listeners,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) |
protected IAsyncReloader |
SimpleReloadableResourceManager.initializeAsyncReloader(java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.List<IFutureReloadListener> listeners,
java.util.concurrent.CompletableFuture<Unit> waitingFor) |
IAsyncReloader |
IReloadableResourceManager.reloadResources(java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.concurrent.CompletableFuture<Unit> waitingFor,
java.util.List<IResourcePack> p_219537_4_) |
IAsyncReloader |
SimpleReloadableResourceManager.reloadResources(java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.concurrent.CompletableFuture<Unit> waitingFor,
java.util.List<IResourcePack> p_219537_4_) |
java.util.concurrent.CompletableFuture<Unit> |
IReloadableResourceManager.reloadResourcesAndThen(java.util.concurrent.Executor p_219536_1_,
java.util.concurrent.Executor p_219536_2_,
java.util.List<IResourcePack> p_219536_3_,
java.util.concurrent.CompletableFuture<Unit> p_219536_4_) |
java.util.concurrent.CompletableFuture<Unit> |
SimpleReloadableResourceManager.reloadResourcesAndThen(java.util.concurrent.Executor p_219536_1_,
java.util.concurrent.Executor p_219536_2_,
java.util.List<IResourcePack> p_219536_3_,
java.util.concurrent.CompletableFuture<Unit> p_219536_4_) |
Constructor and Description |
---|
AsyncReloader(java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
IResourceManager resourceManager,
java.util.List<IFutureReloadListener> listeners,
AsyncReloader.IStateFactory<S> stateFactory,
java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) |
DebugAsyncReloader(IResourceManager p_i50694_1_,
java.util.List<IFutureReloadListener> listeners,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor,
java.util.concurrent.CompletableFuture<Unit> alsoWaitedFor) |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.CompletableFuture<Unit> |
MinecraftServer.field_223713_i |
Modifier and Type | Method and Description |
---|---|
static Unit |
Unit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ITaskExecutor<?>,ChunkTaskPriorityQueue<? extends java.util.function.Function<ITaskExecutor<Unit>,?>>> |
ChunkTaskPriorityQueueSorter.queues |
private java.util.function.Function<ITaskExecutor<Unit>,T> |
ChunkTaskPriorityQueueSorter.FunctionEntry.task |
Modifier and Type | Method and Description |
---|---|
private <T> ChunkTaskPriorityQueue<java.util.function.Function<ITaskExecutor<Unit>,T>> |
ChunkTaskPriorityQueueSorter.getQueue(ITaskExecutor<T> p_219068_1_) |
Modifier and Type | Method and Description |
---|---|
private <T> void |
ChunkTaskPriorityQueueSorter.func_219067_a(ITaskExecutor<T> p_219067_1_,
java.util.function.Function<ITaskExecutor<Unit>,T> p_219067_2_,
long p_219067_3_,
java.util.function.IntSupplier p_219067_5_,
boolean p_219067_6_) |
private <T> void |
ChunkTaskPriorityQueueSorter.func_219078_a(ChunkTaskPriorityQueue<java.util.function.Function<ITaskExecutor<Unit>,T>> p_219078_1_,
ITaskExecutor<T> p_219078_2_) |
Constructor and Description |
---|
FunctionEntry(java.util.function.Function<ITaskExecutor<Unit>,T> p_i50028_1_,
long p_i50028_2_,
java.util.function.IntSupplier p_i50028_4_) |
Modifier and Type | Field and Description |
---|---|
static TicketType<Unit> |
TicketType.DRAGON |
static TicketType<Unit> |
TicketType.START |