Uses of Class
net.minecraft.util.Unit
Package | Description |
---|---|
net.minecraft.client | |
net.minecraft.entity.player | |
net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
net.minecraft.server.network | |
net.minecraft.server.world | |
net.minecraft.text | |
net.minecraft.util |
-
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 CompletableFuture<Unit>
MinecraftClient. COMPLETED_UNIT_FUTURE
-
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.SleepFailureReason,Unit>
PlayerEntity. trySleep(BlockPos pos)
-
Uses of Unit in net.minecraft.resource
Fields in net.minecraft.resource with type parameters of type Unit Modifier and Type Field Description private static CompletableFuture<Unit>
ServerResourceManager. COMPLETED_UNIT
private CompletableFuture<Unit>
ReloadableResourceManagerImpl.FailedReload. future
protected CompletableFuture<Unit>
SimpleResourceReload. prepareStageFuture
Methods in net.minecraft.resource that return types with arguments of type Unit Modifier and Type Method Description default CompletableFuture<Unit>
ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)
Performs a reload.CompletableFuture<Unit>
ReloadableResourceManagerImpl.FailedReload. whenComplete()
Returns a future for the reload.CompletableFuture<Unit>
ResourceReload. whenComplete()
Returns a future for the reload.CompletableFuture<Unit>
SimpleResourceReload. whenComplete()
Returns a future for the reload.Method parameters in net.minecraft.resource with type arguments of type Unit Modifier and Type Method Description static SimpleResourceReload<Void>
SimpleResourceReload. create(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage)
Creates a simple resource reload without additional results.ResourceReload
ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
Performs a reload.default CompletableFuture<Unit>
ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)
Performs a reload.ResourceReload
ReloadableResourceManagerImpl. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
Performs a reload.Constructor parameters in net.minecraft.resource with type arguments of type Unit Constructor Description ProfiledResourceReload(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage)
SimpleResourceReload(Executor prepareExecutor, Executor applyExecutor, ResourceManager manager, List<ResourceReloader> reloaders, SimpleResourceReload.Factory<S> factory, CompletableFuture<Unit> initialStage)
-
Uses of Unit in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type Unit Modifier and Type Method Description com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit>
ServerPlayerEntity. trySleep(BlockPos pos)
-
Uses of Unit in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type Unit Modifier and Type Field Description static ChunkTicketType<Unit>
ChunkTicketType. DRAGON
Used by the ender dragon to load the central end island during the boss battle.private Map<MessageListener<?>,LevelPrioritizedQueue<? extends Function<MessageListener<Unit>,?>>>
ChunkTaskPrioritySystem. queues
static ChunkTicketType<Unit>
ChunkTicketType. START
private Function<MessageListener<Unit>,T>
ChunkTaskPrioritySystem.Task. taskFunction
Methods in net.minecraft.server.world that return types with arguments of type Unit Modifier and Type Method Description private <T> LevelPrioritizedQueue<Function<MessageListener<Unit>,T>>
ChunkTaskPrioritySystem. getQueue(MessageListener<T> actor)
Method parameters in net.minecraft.server.world with type arguments of type Unit Modifier and Type Method Description private <T> void
ChunkTaskPrioritySystem. enqueueChunk(MessageListener<T> actor, Function<MessageListener<Unit>,T> task, long chunkPos, IntSupplier lastLevelUpdatedToProvider, boolean addBlocker)
private <T> void
ChunkTaskPrioritySystem. enqueueExecution(LevelPrioritizedQueue<Function<MessageListener<Unit>,T>> queue, MessageListener<T> actor)
static <T> ChunkTaskPrioritySystem.Task<T>
ChunkTaskPrioritySystem. method_34870(ChunkHolder chunkHolder, Function<MessageListener<Unit>,T> function)
static <T> ChunkTaskPrioritySystem.Task<T>
ChunkTaskPrioritySystem. method_34871(Function<MessageListener<Unit>,T> function, long long2, IntSupplier intSupplier)
Constructor parameters in net.minecraft.server.world with type arguments of type Unit Constructor Description Task(Function<MessageListener<Unit>,T> function, long pos, IntSupplier lastLevelUpdatedToProvider)
-
Uses of Unit in net.minecraft.text
Fields in net.minecraft.text with type parameters of type Unit Modifier and Type Field Description static Optional<Unit>
StringVisitable. TERMINATE_VISIT
Convenience object indicating the termination of a string visit. -
Uses of Unit in net.minecraft.util
Methods in net.minecraft.util that return Unit Modifier and Type Method Description static Unit
Unit. valueOf(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.