Uses of Class
net.minecraft.util.Unit
-
Packages that use Unit Package Description net.minecraft.client net.minecraft.entity.player net.minecraft.resources net.minecraft.util net.minecraft.util.text net.minecraft.world.chunk net.minecraft.world.server -
-
Uses of Unit in net.minecraft.client
Fields in net.minecraft.client with type parameters of type Unit Modifier and Type Field Description private static java.util.concurrent.CompletableFuture<Unit>
Minecraft. RESOURCE_RELOAD_INITIAL_TASK
-
Uses of Unit in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return types with arguments of type Unit Modifier and Type Method Description com.mojang.datafixers.util.Either<PlayerEntity.SleepResult,Unit>
PlayerEntity. startSleepInBed(BlockPos p_213819_1_)
com.mojang.datafixers.util.Either<PlayerEntity.SleepResult,Unit>
ServerPlayerEntity. startSleepInBed(BlockPos p_213819_1_)
-
Uses of Unit in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type Unit Modifier and Type Field Description protected java.util.concurrent.CompletableFuture<Unit>
AsyncReloader. allPreparations
private static java.util.concurrent.CompletableFuture<Unit>
DataPackRegistries. DATA_RELOAD_INITIAL_TASK
private java.util.concurrent.CompletableFuture<Unit>
SimpleReloadableResourceManager.FailedPackReloader. failedFuture
Methods in net.minecraft.resources that return types with arguments of type Unit Modifier and Type Method Description java.util.concurrent.CompletableFuture<Unit>
AsyncReloader. done()
java.util.concurrent.CompletableFuture<Unit>
IAsyncReloader. done()
java.util.concurrent.CompletableFuture<Unit>
SimpleReloadableResourceManager.FailedPackReloader. done()
default java.util.concurrent.CompletableFuture<Unit>
IReloadableResourceManager. reload(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_)
Method parameters in net.minecraft.resources with type arguments of type Unit Modifier and Type Method Description IAsyncReloader
IReloadableResourceManager. createFullReload(java.util.concurrent.Executor p_219537_1_, java.util.concurrent.Executor p_219537_2_, java.util.concurrent.CompletableFuture<Unit> p_219537_3_, java.util.List<IResourcePack> p_219537_4_)
IAsyncReloader
SimpleReloadableResourceManager. createFullReload(java.util.concurrent.Executor p_219537_1_, java.util.concurrent.Executor p_219537_2_, java.util.concurrent.CompletableFuture<Unit> p_219537_3_, java.util.List<IResourcePack> p_219537_4_)
protected IAsyncReloader
SimpleReloadableResourceManager. createReload(java.util.concurrent.Executor p_219538_1_, java.util.concurrent.Executor p_219538_2_, java.util.List<IFutureReloadListener> p_219538_3_, java.util.concurrent.CompletableFuture<Unit> p_219538_4_)
static AsyncReloader<java.lang.Void>
AsyncReloader. of(IResourceManager p_219562_0_, java.util.List<IFutureReloadListener> p_219562_1_, java.util.concurrent.Executor p_219562_2_, java.util.concurrent.Executor p_219562_3_, java.util.concurrent.CompletableFuture<Unit> p_219562_4_)
default java.util.concurrent.CompletableFuture<Unit>
IReloadableResourceManager. reload(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 parameters in net.minecraft.resources with type arguments of type Unit Constructor Description AsyncReloader(java.util.concurrent.Executor p_i50690_1_, java.util.concurrent.Executor p_i50690_2_, IResourceManager p_i50690_3_, java.util.List<IFutureReloadListener> p_i50690_4_, AsyncReloader.IStateFactory<S> p_i50690_5_, java.util.concurrent.CompletableFuture<Unit> p_i50690_6_)
DebugAsyncReloader(IResourceManager p_i50694_1_, java.util.List<IFutureReloadListener> p_i50694_2_, java.util.concurrent.Executor p_i50694_3_, java.util.concurrent.Executor p_i50694_4_, java.util.concurrent.CompletableFuture<Unit> p_i50694_5_)
-
Uses of Unit in net.minecraft.util
Methods in net.minecraft.util that return Unit Modifier and Type Method 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. -
Uses of Unit in net.minecraft.util.text
Fields in net.minecraft.util.text with type parameters of type Unit Modifier and Type Field Description static java.util.Optional<Unit>
ITextProperties. STOP_ITERATION
-
Uses of Unit in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type Unit Modifier and Type Field 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
Methods in net.minecraft.world.chunk that return types with arguments of type Unit Modifier and Type Method Description private <T> ChunkTaskPriorityQueue<java.util.function.Function<ITaskExecutor<Unit>,T>>
ChunkTaskPriorityQueueSorter. getQueue(ITaskExecutor<T> p_219068_1_)
Method parameters in net.minecraft.world.chunk with type arguments of type Unit Modifier and Type Method Description private <T> void
ChunkTaskPriorityQueueSorter. pollTask(ChunkTaskPriorityQueue<java.util.function.Function<ITaskExecutor<Unit>,T>> p_219078_1_, ITaskExecutor<T> p_219078_2_)
private <T> void
ChunkTaskPriorityQueueSorter. submit(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_)
Constructor parameters in net.minecraft.world.chunk with type arguments of type Unit Constructor Description FunctionEntry(java.util.function.Function<ITaskExecutor<Unit>,T> p_i50028_1_, long p_i50028_2_, java.util.function.IntSupplier p_i50028_4_)
-
Uses of Unit in net.minecraft.world.server
Fields in net.minecraft.world.server with type parameters of type Unit Modifier and Type Field Description static TicketType<Unit>
TicketType. DRAGON
static TicketType<Unit>
TicketType. START
-