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.client.model
Subclasses with type arguments of type Unit in net.minecraft.client.modelMethods in net.minecraft.client.model with parameters of type Unit -
Uses of Unit in net.minecraft.client.model.animal.bee
Subclasses with type arguments of type Unit in net.minecraft.client.model.animal.bee -
Uses of Unit in net.minecraft.client.model.monster.guardian
Subclasses with type arguments of type Unit in net.minecraft.client.model.monster.guardian -
Uses of Unit in net.minecraft.client.model.object.banner
Subclasses with type arguments of type Unit in net.minecraft.client.model.object.banner -
Uses of Unit in net.minecraft.client.model.object.equipment
Subclasses with type arguments of type Unit in net.minecraft.client.model.object.equipment -
Uses of Unit in net.minecraft.client.model.object.projectile
Subclasses with type arguments of type Unit in net.minecraft.client.model.object.projectile -
Uses of Unit in net.minecraft.client.particle
Fields in net.minecraft.client.particle with type parameters of type UnitModifier and TypeFieldDescriptionElderGuardianParticleGroup.ElderGuardianParticleRenderState.modelThe field for themodelrecord component.Methods in net.minecraft.client.particle that return types with arguments of type UnitModifier and TypeMethodDescriptionElderGuardianParticleGroup.ElderGuardianParticleRenderState.model()Returns the value of themodelrecord component.Constructor parameters in net.minecraft.client.particle with type arguments of type UnitModifierConstructorDescriptionprivateElderGuardianParticleRenderState(Model<Unit> model, PoseStack poseStack, RenderType renderType, int color) Creates an instance of aElderGuardianParticleRenderStaterecord class. -
Uses of Unit in net.minecraft.client.renderer.entity.layers
Subclasses with type arguments of type Unit in net.minecraft.client.renderer.entity.layers -
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.GLIDERstatic final DataComponentType<Unit> DataComponents.INTANGIBLE_PROJECTILEstatic final DataComponentType<Unit> DataComponents.UNBREAKABLE -
Uses of Unit in net.minecraft.gametest.framework
Classes in net.minecraft.gametest.framework that implement interfaces with type arguments of type UnitMethods in net.minecraft.gametest.framework that return UnitMethods in net.minecraft.gametest.framework with parameters of type UnitModifier and TypeMethodDescriptionvoidTestEnvironmentDefinition.Functions.teardown(ServerLevel level, Unit saveData) -
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.network.protocol
Method parameters in net.minecraft.network.protocol with type arguments of type UnitModifier and TypeMethodDescriptionstatic <T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<T, B> ProtocolInfoBuilder.clientboundProtocol(ConnectionProtocol id, Consumer<ProtocolInfoBuilder<T, B, Unit>> config) private static <L extends PacketListener, B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<L, B> ProtocolInfoBuilder.protocol(ConnectionProtocol id, PacketFlow flow, Consumer<ProtocolInfoBuilder<L, B, Unit>> config) static <T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<T, B> ProtocolInfoBuilder.serverboundProtocol(ConnectionProtocol id, Consumer<ProtocolInfoBuilder<T, B, Unit>> config) -
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
Methods in net.minecraft.server.level that return types with arguments of type UnitModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Player.BedSleepingProblem, Unit> ServerPlayer.startSleepInBed(BlockPos pos) -
Uses of Unit in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources with type parameters of type UnitModifier and TypeFieldDescriptionprivate final CompletableFuture<Unit> SimpleReloadInstance.allPreparationsMethod parameters in net.minecraft.server.packs.resources with type arguments of type UnitModifier and TypeMethodDescriptionstatic ReloadInstanceSimpleReloadInstance.create(ResourceManager resourceManager, List<PreparableReloadListener> listeners, Executor backgroundExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask, boolean enableProfiling) ReloadableResourceManager.createReload(Executor backgroundExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask, List<PackResources> resourcePacks) static ReloadInstanceProfiledReloadInstance.of(ResourceManager resourceManager, List<PreparableReloadListener> listeners, Executor taskExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask) static ReloadInstanceSimpleReloadInstance.of(ResourceManager resourceManager, List<PreparableReloadListener> listeners, Executor taskExecutor, Executor mainThreadExecutor, CompletableFuture<Unit> initialTask) -
Uses of Unit in net.minecraft.util
Subclasses with type arguments of type Unit in net.minecraft.utilModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static final classprivate static final classenumClasses in net.minecraft.util that implement interfaces with type arguments of type UnitFields in net.minecraft.util with type parameters of type UnitModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Unit> Unit.CODECprivate static final com.mojang.serialization.MapLike<Unit> NullOps.EMPTY_MAPstatic final StreamCodec<io.netty.buffer.ByteBuf, Unit> Unit.STREAM_CODECMethods in net.minecraft.util that return UnitModifier and TypeMethodDescriptionprotected Unitprotected UnitNullOps.createBoolean(boolean value) NullOps.createByte(byte value) NullOps.createByteList(ByteBuffer input) NullOps.createDouble(double value) NullOps.createFloat(float value) NullOps.createInt(int value) NullOps.createIntList(IntStream input) NullOps.createList(Stream<Unit> input) NullOps.createLong(long value) NullOps.createLongList(LongStream input) NullOps.createNumeric(Number value) NullOps.createShort(short value) NullOps.createString(String value) NullOps.empty()NullOps.emptyList()NullOps.emptyMap()protected UnitNullOps.NullListBuilder.initBuilder()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> protected 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 input) com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit input) NullOps.getMapValues(Unit input) NullOps.getMapValues(Unit input) com.mojang.serialization.ListBuilder<Unit> NullOps.listBuilder()com.mojang.serialization.RecordBuilder<Unit> NullOps.mapBuilder()com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit input, List<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit input, Unit value) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, com.mojang.serialization.MapLike<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Map<Unit, Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Unit key, Unit value) Methods in net.minecraft.util with parameters of type UnitModifier and TypeMethodDescriptionprotected Unitprotected Unitprotected com.mojang.serialization.DataResult<Unit> protected com.mojang.serialization.DataResult<Unit> <U> Ucom.mojang.serialization.DataResult<Boolean> NullOps.getBooleanValue(Unit input) com.mojang.serialization.DataResult<ByteBuffer> NullOps.getByteBuffer(Unit input) com.mojang.serialization.DataResult<IntStream> NullOps.getIntStream(Unit input) com.mojang.serialization.DataResult<LongStream> NullOps.getLongStream(Unit input) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit, Unit>>> NullOps.getMapEntries(Unit input) NullOps.getMapValues(Unit input) com.mojang.serialization.DataResult<Number> NullOps.getNumberValue(Unit input) com.mojang.serialization.DataResult<String> NullOps.getStringValue(Unit input) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit input, List<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit input, Unit value) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, com.mojang.serialization.MapLike<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Map<Unit, Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Unit key, Unit value) Method parameters in net.minecraft.util with type arguments of type UnitModifier and TypeMethodDescriptionNullOps.createList(Stream<Unit> input) com.mojang.serialization.DataResult<Unit> NullOps.mergeToList(Unit input, List<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, com.mojang.serialization.MapLike<Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Map<Unit, Unit> values) com.mojang.serialization.DataResult<Unit> NullOps.mergeToMap(Unit input, Map<Unit, Unit> values) Constructor parameters in net.minecraft.util with type arguments of type UnitModifierConstructorDescriptionNullListBuilder(com.mojang.serialization.DynamicOps<Unit> ops) NullMapBuilder(com.mojang.serialization.DynamicOps<Unit> ops) -
Uses of Unit in net.minecraft.util.debug
Subclasses with type arguments of type Unit in net.minecraft.util.debugModifier and TypeClassDescriptionstatic classFields in net.minecraft.util.debug with type parameters of type UnitModifier and TypeFieldDescriptionstatic final DebugSubscription<Unit> DebugSubscriptions.VILLAGE_SECTIONS -
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 pos) -
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 Unit -
Uses of Unit in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type UnitModifier and TypeFieldDescriptionstatic final ContextKey<Unit> LootContextParams.ADDITIONAL_COST_COMPONENT_ALLOWED -
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)