Uses of Enum Class
net.minecraft.util.Unit
Packages that use Unit
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
Provides resources to Minecraft, including resource access and provision.
-
Uses of Unit in net.minecraft.client
Fields in net.minecraft.client with type parameters of type UnitModifier and TypeFieldDescriptionprivate static final CompletableFuture<Unit>MinecraftClient.COMPLETED_UNIT_FUTURE -
Uses of Unit in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type UnitModifier and TypeFieldDescriptionstatic final MemoryModuleType<Unit>MemoryModuleType.IN_VIBRATION_COOLDOWNstatic final MemoryModuleType<Unit>MemoryModuleType.RECENT_PROJECTILE -
Uses of Unit in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return types with arguments of type UnitModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> Tries to start sleeping on a block. -
Uses of Unit in net.minecraft.resource
Fields in net.minecraft.resource with type parameters of type UnitModifier and TypeFieldDescriptionprivate static final CompletableFuture<Unit>ServerResourceManager.COMPLETED_UNITprivate final CompletableFuture<Unit>ReloadableResourceManagerImpl.FailedReload.futureprotected final CompletableFuture<Unit>SimpleResourceReload.prepareStageFutureMethods in net.minecraft.resource that return types with arguments of type UnitModifier and TypeMethodDescriptiondefault CompletableFuture<Unit>ReloadableResourceManager.reload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage) Performs a reload.ReloadableResourceManagerImpl.FailedReload.whenComplete()Returns a future for the reload.ResourceReload.whenComplete()Returns a future for the reload.SimpleResourceReload.whenComplete()Returns a future for the reload.Method parameters in net.minecraft.resource with type arguments of type UnitModifier and TypeMethodDescriptionstatic SimpleResourceReload<Void>SimpleResourceReload.create(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) Creates a simple resource reload without additional results.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.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 UnitModifierConstructorDescriptionProfiledResourceReload(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) protectedSimpleResourceReload(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 UnitModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> Tries to start sleeping on a block. -
Uses of Unit in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type UnitModifier and TypeFieldDescriptionstatic final ChunkTicketType<Unit>ChunkTicketType.DRAGONUsed by the ender dragon to load the central end island during the boss battle.private final Map<MessageListener<?>,LevelPrioritizedQueue<? extends Function<MessageListener<Unit>, ?>>> ChunkTaskPrioritySystem.queuesstatic final ChunkTicketType<Unit>ChunkTicketType.START(package private) final Function<MessageListener<Unit>,T> ChunkTaskPrioritySystem.Task.taskFunctionMethods in net.minecraft.server.world that return types with arguments of type UnitModifier and TypeMethodDescriptionprivate <T> LevelPrioritizedQueue<Function<MessageListener<Unit>,T>> ChunkTaskPrioritySystem.getQueue(MessageListener<T> actor) Method parameters in net.minecraft.server.world with type arguments of type UnitModifier and TypeMethodDescriptionstatic <T> ChunkTaskPrioritySystem.Task<T>ChunkTaskPrioritySystem.createTask(Function<MessageListener<Unit>, T> taskFunction, long pos, IntSupplier lastLevelUpdatedToProvider) static <T> ChunkTaskPrioritySystem.Task<T>ChunkTaskPrioritySystem.createTask(ChunkHolder holder, Function<MessageListener<Unit>, T> taskFunction) private <T> voidChunkTaskPrioritySystem.enqueueChunk(MessageListener<T> actor, Function<MessageListener<Unit>, T> task, long chunkPos, IntSupplier lastLevelUpdatedToProvider, boolean addBlocker) private <T> voidChunkTaskPrioritySystem.enqueueExecution(LevelPrioritizedQueue<Function<MessageListener<Unit>, T>> queue, MessageListener<T> actor) Constructor parameters in net.minecraft.server.world with type arguments of type UnitModifierConstructorDescription(package private)Task(Function<MessageListener<Unit>, T> taskFunction, long pos, IntSupplier lastLevelUpdatedToProvider) -
Uses of Unit in net.minecraft.text
Fields in net.minecraft.text with type parameters of type UnitModifier and TypeFieldDescriptionStringVisitable.TERMINATE_VISITConvenience object indicating the termination of a string visit. -
Uses of Unit in net.minecraft.util
Methods in net.minecraft.util that return Unit