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> p_140653_) com.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos p_9115_) 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> p_143182_, long p_143183_, IntSupplier p_143184_) static <T> ChunkTaskPriorityQueueSorter.Message<T> ChunkTaskPriorityQueueSorter.message(ChunkHolder p_143157_, Function<ProcessorHandle<Unit>, T> p_143158_) private <T> voidChunkTaskPriorityQueueSorter.pollTask(ChunkTaskPriorityQueue<Function<ProcessorHandle<Unit>, T>> p_140646_, ProcessorHandle<T> p_140647_) private <T> voidChunkTaskPriorityQueueSorter.submit(ProcessorHandle<T> p_140590_, Function<ProcessorHandle<Unit>, T> p_140591_, long p_140592_, IntSupplier p_140593_, boolean p_140594_) Constructor parameters in net.minecraft.server.level with type arguments of type UnitModifierConstructorDescription(package private)Message(Function<ProcessorHandle<Unit>, T> p_140668_, long p_140669_, IntSupplier p_140670_) -
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 p_203835_, List<PreparableReloadListener> p_203836_, Executor p_203837_, Executor p_203838_, CompletableFuture<Unit> p_203839_, boolean p_203840_) ReloadableResourceManager.createReload(Executor p_143930_, Executor p_143931_, CompletableFuture<Unit> p_143932_, List<PackResources> p_143933_) static SimpleReloadInstance<Void> SimpleReloadInstance.of(ResourceManager p_10816_, List<PreparableReloadListener> p_10817_, Executor p_10818_, Executor p_10819_, CompletableFuture<Unit> p_10820_) Constructor parameters in net.minecraft.server.packs.resources with type arguments of type UnitModifierConstructorDescriptionProfiledReloadInstance(ResourceManager p_10649_, List<PreparableReloadListener> p_10650_, Executor p_10651_, Executor p_10652_, CompletableFuture<Unit> p_10653_) protectedSimpleReloadInstance(Executor p_10808_, Executor p_10809_, ResourceManager p_10810_, List<PreparableReloadListener> p_10811_, SimpleReloadInstance.StateFactory<S> p_10812_, CompletableFuture<Unit> p_10813_) -
Uses of Unit in net.minecraft.util
Methods in net.minecraft.util that return UnitModifier and TypeMethodDescriptionprotected UnitNullOps.createBoolean(boolean p_341283_) NullOps.createByte(byte p_341017_) NullOps.createByteList(ByteBuffer p_340905_) NullOps.createDouble(double p_341242_) NullOps.createFloat(float p_341123_) NullOps.createInt(int p_341029_) NullOps.createIntList(IntStream p_341326_) NullOps.createList(Stream<Unit> p_341162_) NullOps.createLong(long p_341019_) NullOps.createLongList(LongStream p_341025_) NullOps.createNumeric(Number p_341390_) NullOps.createShort(short p_340945_) NullOps.createString(String p_341226_) 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 p_340815_) com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit p_340815_) NullOps.getMapValues(Unit p_341031_) NullOps.getMapValues(Unit p_341031_) com.mojang.serialization.RecordBuilder<Unit> NullOps.mapBuilder()com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit p_340869_, List<Unit> p_340960_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit p_340991_, Unit p_341154_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340862_, com.mojang.serialization.MapLike<Unit> p_341115_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340821_, Map<Unit, Unit> p_341065_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340850_, Unit p_341356_, Unit p_341172_) 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 p_341106_) com.mojang.serialization.DataResult<ByteBuffer> NullOps.getByteBuffer(Unit p_341064_) com.mojang.serialization.DataResult<IntStream> NullOps.getIntStream(Unit p_341012_) com.mojang.serialization.DataResult<LongStream> NullOps.getLongStream(Unit p_341130_) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit p_340815_) NullOps.getMapValues(Unit p_341031_) com.mojang.serialization.DataResult<Number> NullOps.getNumberValue(Unit p_340886_) com.mojang.serialization.DataResult<String> NullOps.getStringValue(Unit p_341344_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit p_340869_, List<Unit> p_340960_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit p_340991_, Unit p_341154_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340862_, com.mojang.serialization.MapLike<Unit> p_341115_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340821_, Map<Unit, Unit> p_341065_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340850_, Unit p_341356_, Unit p_341172_) Method parameters in net.minecraft.util with type arguments of type UnitModifier and TypeMethodDescriptionNullOps.createList(Stream<Unit> p_341162_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit p_340869_, List<Unit> p_340960_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340862_, com.mojang.serialization.MapLike<Unit> p_341115_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340821_, Map<Unit, Unit> p_341065_) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit p_340821_, Map<Unit, Unit> p_341065_) Constructor parameters in net.minecraft.util with type arguments of type UnitModifierConstructorDescriptionNullMapBuilder(com.mojang.serialization.DynamicOps<Unit> p_340884_) -
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 p_36203_) -
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 p_341201_) -
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)