Uses of Enum Class
net.minecraft.util.Unit
Packages that use Unit
Package
Description
-
Uses of Unit in net.minecraft.client
Fields in net.minecraft.client with type parameters of type UnitModifier and TypeFieldDescriptionprivate static final CompletableFuture<Unit> Minecraft.RESOURCE_RELOAD_INITIAL_TASK -
Uses of Unit in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type UnitModifier and TypeFieldDescriptionstatic final DataComponentType<Unit> DataComponents.CREATIVE_SLOT_LOCKstatic final DataComponentType<Unit> DataComponents.FIRE_RESISTANTstatic final DataComponentType<Unit> DataComponents.HIDE_ADDITIONAL_TOOLTIPstatic final DataComponentType<Unit> DataComponents.HIDE_TOOLTIPstatic final DataComponentType<Unit> DataComponents.INTANGIBLE_PROJECTILE -
Uses of Unit in net.minecraft.network.chat
Fields in net.minecraft.network.chat with type parameters of type Unit -
Uses of Unit in net.minecraft.server
Fields in net.minecraft.server with type parameters of type UnitModifier and TypeFieldDescriptionprivate static final CompletableFuture<Unit> ReloadableServerResources.DATA_RELOAD_INITIAL_TASK -
Uses of Unit in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type UnitModifier and TypeFieldDescriptionstatic final TicketType<Unit> TicketType.DRAGONprivate final Map<ProcessorHandle<?>, ChunkTaskPriorityQueue<? extends Function<ProcessorHandle<Unit>, ?>>> ChunkTaskPriorityQueueSorter.queuesstatic final TicketType<Unit> TicketType.START(package private) final Function<ProcessorHandle<Unit>, T> ChunkTaskPriorityQueueSorter.Message.taskMethods in net.minecraft.server.level that return types with arguments of type UnitModifier and TypeMethodDescriptionprivate <T> ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>> ChunkTaskPriorityQueueSorter.getQueue(ProcessorHandle<T> pProcessor) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos pAt) Method parameters in net.minecraft.server.level with type arguments of type UnitModifier and TypeMethodDescriptionstatic <T> ChunkTaskPriorityQueueSorter.Message<T> ChunkTaskPriorityQueueSorter.message(Function<ProcessorHandle<Unit>, T> pTask, long pPos, IntSupplier pLevel) static <T> ChunkTaskPriorityQueueSorter.Message<T> ChunkTaskPriorityQueueSorter.message(GenerationChunkHolder pChunk, Function<ProcessorHandle<Unit>, T> pTask) private <T> voidChunkTaskPriorityQueueSorter.pollTask(ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>> pQueue, ProcessorHandle<T> pProcessor) private <T> voidChunkTaskPriorityQueueSorter.submit(ProcessorHandle<T> pProcessor, Function<ProcessorHandle<Unit>, T> pTask, long pChunkPos, IntSupplier pLevel, boolean pFlush) Constructor parameters in net.minecraft.server.level with type arguments of type UnitModifierConstructorDescription(package private)Message(Function<ProcessorHandle<Unit>, T> pTask, long pPos, IntSupplier pLevel) -
Uses of Unit in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources with type parameters of type UnitModifier and TypeFieldDescriptionprotected final CompletableFuture<Unit> SimpleReloadInstance.allPreparationsMethod parameters in net.minecraft.server.packs.resources with type arguments of type UnitModifier and TypeMethodDescriptionstatic ReloadInstanceSimpleReloadInstance.create(ResourceManager pResourceManager, List<PreparableReloadListener> pListeners, Executor pBackgroundExecutor, Executor pGameExecutor, CompletableFuture<Unit> pAlsoWaitedFor, boolean pProfiled) ReloadableResourceManager.createReload(Executor pBackgroundExecutor, Executor pGameExecutor, CompletableFuture<Unit> pWaitingFor, List<PackResources> pResourcePacks) static SimpleReloadInstance<Void> SimpleReloadInstance.of(ResourceManager pResourceManager, List<PreparableReloadListener> pListeners, Executor pBackgroundExecutor, Executor pGameExecutor, CompletableFuture<Unit> pAlsoWaitedFor) Constructor parameters in net.minecraft.server.packs.resources with type arguments of type UnitModifierConstructorDescriptionProfiledReloadInstance(ResourceManager pResourceManager, List<PreparableReloadListener> pListeners, Executor pBackgroundExecutor, Executor pGameExecutor, CompletableFuture<Unit> pAlsoWaitedFor) protectedSimpleReloadInstance(Executor pBackgroundExecutor, Executor pGameExecutor, ResourceManager pResourceManager, List<PreparableReloadListener> pListeners, SimpleReloadInstance.StateFactory<S> pStateFactory, CompletableFuture<Unit> pAlsoWaitedFor) -
Uses of Unit in net.minecraft.util
Fields in net.minecraft.util with type parameters of type UnitMethods in net.minecraft.util that return UnitModifier and TypeMethodDescriptionprotected UnitNullOps.createBoolean(boolean pValue) NullOps.createByte(byte pValue) NullOps.createByteList(ByteBuffer pInput) NullOps.createDouble(double pValue) NullOps.createFloat(float pValue) NullOps.createInt(int pValue) NullOps.createIntList(IntStream pInput) NullOps.createList(Stream<Unit> pInput) NullOps.createLong(long pValue) NullOps.createLongList(LongStream pInput) NullOps.createNumeric(Number pValue) NullOps.createShort(short pValue) NullOps.createString(String pValue) NullOps.empty()NullOps.emptyList()NullOps.emptyMap()protected UnitNullOps.NullMapBuilder.initBuilder()static UnitReturns the enum constant of this class with the specified name.static Unit[]Unit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util that return types with arguments of type UnitModifier and TypeMethodDescriptionprotected com.mojang.serialization.DataResult<Unit> com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit pInput) com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit pInput) NullOps.getMapValues(Unit pInput) NullOps.getMapValues(Unit pInput) com.mojang.serialization.RecordBuilder<Unit> NullOps.mapBuilder()com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit pList, List<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit pList, Unit pValue) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, com.mojang.serialization.MapLike<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Map<Unit, Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Unit pKey, Unit pValue) Methods in net.minecraft.util with parameters of type UnitModifier and TypeMethodDescriptionprotected Unitprotected com.mojang.serialization.DataResult<Unit> <U> Ucom.mojang.serialization.DataResult<Boolean> NullOps.getBooleanValue(Unit pInput) com.mojang.serialization.DataResult<ByteBuffer> NullOps.getByteBuffer(Unit pInput) com.mojang.serialization.DataResult<IntStream> NullOps.getIntStream(Unit pInput) com.mojang.serialization.DataResult<LongStream> NullOps.getLongStream(Unit pInput) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit pInput) NullOps.getMapValues(Unit pInput) com.mojang.serialization.DataResult<Number> NullOps.getNumberValue(Unit pInput) com.mojang.serialization.DataResult<String> NullOps.getStringValue(Unit pInput) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit pList, List<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit pList, Unit pValue) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, com.mojang.serialization.MapLike<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Map<Unit, Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Unit pKey, Unit pValue) Method parameters in net.minecraft.util with type arguments of type UnitModifier and TypeMethodDescriptionNullOps.createList(Stream<Unit> pInput) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit pList, List<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, com.mojang.serialization.MapLike<Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Map<Unit, Unit> pValues) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit pMap, Map<Unit, Unit> pValues) Constructor parameters in net.minecraft.util with type arguments of type Unit -
Uses of Unit in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type UnitModifier and TypeFieldDescriptionstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_JUMP_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_JUMP_INHALINGstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_LEAVING_WATERstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_SHOOTstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_SHOOT_CHARGINGstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_SHOOT_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.BREEZE_SHOOT_RECOVERINGstatic final MemoryModuleType<Unit> MemoryModuleType.DIG_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.IS_EMERGINGstatic final MemoryModuleType<Unit> MemoryModuleType.IS_IN_WATERstatic final MemoryModuleType<Unit> MemoryModuleType.IS_PREGNANTstatic final MemoryModuleType<Unit> MemoryModuleType.IS_SNIFFINGstatic final MemoryModuleType<Unit> MemoryModuleType.RECENT_PROJECTILEstatic final MemoryModuleType<Unit> MemoryModuleType.ROAR_SOUND_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.ROAR_SOUND_DELAYstatic final MemoryModuleType<Unit> MemoryModuleType.SNIFF_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.SONIC_BOOM_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.SONIC_BOOM_SOUND_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.SONIC_BOOM_SOUND_DELAYstatic final MemoryModuleType<Unit> MemoryModuleType.TOUCH_COOLDOWNstatic final MemoryModuleType<Unit> MemoryModuleType.VIBRATION_COOLDOWN -
Uses of Unit in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return types with arguments of type UnitModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> Player.startSleepInBed(BlockPos pBedPos) -
Uses of Unit in net.minecraft.world.item
Methods in net.minecraft.world.item that return types with arguments of type UnitModifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<Unit> ItemStack.validateComponents(DataComponentMap pComponents) -
Uses of Unit in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment with type parameters of type UnitModifier and TypeFieldDescriptionstatic final DataComponentType<Unit> EnchantmentEffectComponents.PREVENT_ARMOR_CHANGEstatic final DataComponentType<Unit> EnchantmentEffectComponents.PREVENT_EQUIPMENT_DROPMethod parameters in net.minecraft.world.item.enchantment with type arguments of type UnitModifier and TypeMethodDescriptionEnchantment.Builder.withEffect(DataComponentType<Unit> pComponentType) -
Uses of Unit in net.neoforged.neoforge.client.model.renderable
Methods in net.neoforged.neoforge.client.model.renderable that return types with arguments of type UnitModifier and TypeMethodDescriptionBakedModelRenderable.withContext(ModelData modelData) default IRenderable<Unit> IRenderable.withContext(T context) Wraps the current renderable along with a context. -
Uses of Unit in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return types with arguments of type UnitModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> EventHooks.canPlayerStartSleeping(ServerPlayer player, BlockPos pos, com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> vanillaResult) Method parameters in net.neoforged.neoforge.event with type arguments of type UnitModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> EventHooks.canPlayerStartSleeping(ServerPlayer player, BlockPos pos, com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> vanillaResult)