Uses of Class
net.minecraft.world.effect.MobEffect
Packages that use MobEffect
Package
Description
-
Uses of MobEffect in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type MobEffectModifier and TypeFieldDescriptionprivate final Map<MobEffect,MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effectsMethods in net.minecraft.advancements.critereon with parameters of type MobEffectModifier and TypeMethodDescriptionMobEffectsPredicate.and(MobEffect p_154978_, MobEffectsPredicate.MobEffectInstancePredicate p_154979_) Method parameters in net.minecraft.advancements.critereon with type arguments of type MobEffectModifier and TypeMethodDescriptionbooleanMobEffectsPredicate.matches(Map<MobEffect, MobEffectInstance> p_56562_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type MobEffectModifierConstructorDescription -
Uses of MobEffect in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as MobEffectModifier and TypeFieldDescriptionprivate MobEffectBeaconScreen.BeaconPowerButton.effect(package private) MobEffectBeaconScreen.primary(package private) MobEffectBeaconScreen.secondaryMethods in net.minecraft.client.gui.screens.inventory with parameters of type MobEffectModifier and TypeMethodDescriptionprotected MutableComponentBeaconScreen.BeaconPowerButton.createEffectDescription(MobEffect p_169652_) protected MutableComponentBeaconScreen.BeaconUpgradePowerButton.createEffectDescription(MobEffect p_169681_) protected voidConstructors in net.minecraft.client.gui.screens.inventory with parameters of type MobEffectModifierConstructorDescriptionBeaconPowerButton(int p_169642_, int p_169643_, MobEffect p_169644_, boolean p_169645_, int p_169646_) BeaconUpgradePowerButton(int p_169675_, int p_169676_, MobEffect p_169677_) -
Uses of MobEffect in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type MobEffect -
Uses of MobEffect in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer that return MobEffectModifier and TypeMethodDescriptionFogRenderer.BlindnessFogFunction.getMobEffect()FogRenderer.DarknessFogFunction.getMobEffect()FogRenderer.MobEffectFogFunction.getMobEffect() -
Uses of MobEffect in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type MobEffectModifier and TypeMethodDescription -
Uses of MobEffect in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return types with arguments of type MobEffectModifier and TypeMethodDescriptionstatic Holder.Reference<MobEffect>ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_250521_, String p_249927_) -
Uses of MobEffect in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type MobEffectModifier and TypeFieldDescriptionBuiltInRegistries.MOB_EFFECTDeprecated.static final ResourceKey<Registry<MobEffect>>Registries.MOB_EFFECT -
Uses of MobEffect in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as MobEffectModifier and TypeFieldDescriptionprivate final MobEffectClientboundRemoveMobEffectPacket.effectprivate final MobEffectClientboundUpdateMobEffectPacket.effectFields in net.minecraft.network.protocol.game with type parameters of type MobEffectModifier and TypeFieldDescriptionServerboundSetBeaconPacket.primaryServerboundSetBeaconPacket.secondaryMethods in net.minecraft.network.protocol.game that return MobEffectModifier and TypeMethodDescriptionClientboundRemoveMobEffectPacket.getEffect()ClientboundUpdateMobEffectPacket.getEffect()Methods in net.minecraft.network.protocol.game that return types with arguments of type MobEffectModifier and TypeMethodDescriptionServerboundSetBeaconPacket.getPrimary()ServerboundSetBeaconPacket.getSecondary()Constructors in net.minecraft.network.protocol.game with parameters of type MobEffectModifierConstructorDescriptionClientboundRemoveMobEffectPacket(int p_132899_, MobEffect p_132900_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type MobEffectModifierConstructorDescriptionServerboundSetBeaconPacket(Optional<MobEffect> p_237989_, Optional<MobEffect> p_237990_) -
Uses of MobEffect in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type MobEffectModifier and TypeMethodDescriptionprivate static intEffectCommands.clearEffect(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static intEffectCommands.giveEffect(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) -
Uses of MobEffect in net.minecraft.world.effect
Subclasses of MobEffect in net.minecraft.world.effectModifier and TypeClassDescriptionclassclassclassclassFields in net.minecraft.world.effect declared as MobEffectModifier and TypeFieldDescriptionstatic final MobEffectMobEffects.ABSORPTIONstatic final MobEffectMobEffects.BAD_OMENstatic final MobEffectMobEffects.BLINDNESSstatic final MobEffectMobEffects.CONDUIT_POWERstatic final MobEffectMobEffects.CONFUSIONstatic final MobEffectMobEffects.DAMAGE_BOOSTstatic final MobEffectMobEffects.DAMAGE_RESISTANCEstatic final MobEffectMobEffects.DARKNESSstatic final MobEffectMobEffects.DIG_SLOWDOWNstatic final MobEffectMobEffects.DIG_SPEEDstatic final MobEffectMobEffects.DOLPHINS_GRACEprivate final MobEffectMobEffectInstance.effectstatic final MobEffectMobEffects.FIRE_RESISTANCEstatic final MobEffectMobEffects.GLOWINGstatic final MobEffectMobEffects.HARMstatic final MobEffectMobEffects.HEALstatic final MobEffectMobEffects.HEALTH_BOOSTstatic final MobEffectMobEffects.HERO_OF_THE_VILLAGEstatic final MobEffectMobEffects.HUNGERstatic final MobEffectMobEffects.INVISIBILITYstatic final MobEffectMobEffects.JUMPstatic final MobEffectMobEffects.LEVITATIONstatic final MobEffectMobEffects.LUCKstatic final MobEffectMobEffects.MOVEMENT_SLOWDOWNstatic final MobEffectMobEffects.MOVEMENT_SPEEDstatic final MobEffectMobEffects.NIGHT_VISIONstatic final MobEffectMobEffects.POISONstatic final MobEffectMobEffects.REGENERATIONstatic final MobEffectMobEffects.SATURATIONstatic final MobEffectMobEffects.SLOW_FALLINGstatic final MobEffectMobEffects.UNLUCKstatic final MobEffectMobEffects.WATER_BREATHINGstatic final MobEffectMobEffects.WEAKNESSstatic final MobEffectMobEffects.WITHERMethods in net.minecraft.world.effect that return MobEffectModifier and TypeMethodDescriptionMobEffect.addAttributeModifier(Attribute p_19473_, String p_19474_, double p_19475_, AttributeModifier.Operation p_19476_) static MobEffectMobEffect.byId(int p_19454_) MobEffectInstance.getEffect()private static MobEffectMobEffect.setFactorDataFactory(Supplier<MobEffectInstance.FactorData> p_216880_) Methods in net.minecraft.world.effect with parameters of type MobEffectModifier and TypeMethodDescriptionstatic intstatic intMobEffect.getIdFromNullable(MobEffect p_216883_) private static MobEffectInstanceMobEffectInstance.loadSpecifiedEffect(MobEffect p_19546_, CompoundTag p_19547_) private static MobEffectConstructors in net.minecraft.world.effect with parameters of type MobEffectModifierConstructorDescriptionMobEffectInstance(MobEffect p_19513_) MobEffectInstance(MobEffect p_19515_, int p_19516_) MobEffectInstance(MobEffect p_19518_, int p_19519_, int p_19520_) MobEffectInstance(MobEffect p_19522_, int p_19523_, int p_19524_, boolean p_19525_, boolean p_19526_) MobEffectInstance(MobEffect p_19528_, int p_19529_, int p_19530_, boolean p_19531_, boolean p_19532_, boolean p_19533_) MobEffectInstance(MobEffect p_216887_, int p_216888_, int p_216889_, boolean p_216890_, boolean p_216891_, boolean p_216892_, MobEffectInstance p_216893_, Optional<MobEffectInstance.FactorData> p_216894_) -
Uses of MobEffect in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type MobEffectModifier and TypeFieldDescriptionprivate final Map<MobEffect,MobEffectInstance> LivingEntity.activeEffectsMethods in net.minecraft.world.entity that return types with arguments of type MobEffectMethods in net.minecraft.world.entity with parameters of type MobEffectModifier and TypeMethodDescriptionbooleanbooleanLivingEntity.removeEffect(MobEffect p_21196_) LivingEntity.removeEffectNoUpdate(MobEffect p_21164_) -
Uses of MobEffect in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as MobEffectMethods in net.minecraft.world.entity.animal that return types with arguments of type MobEffect -
Uses of MobEffect in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as MobEffect -
Uses of MobEffect in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as MobEffectModifier and TypeFieldDescription(package private) final MobEffectVillagerTrades.SuspiciousStewForEmerald.effectConstructors in net.minecraft.world.entity.npc with parameters of type MobEffectModifierConstructorDescriptionSuspiciousStewForEmerald(MobEffect p_186313_, int p_186314_, int p_186315_) -
Uses of MobEffect in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory that return MobEffectMethod parameters in net.minecraft.world.inventory with type arguments of type MobEffectModifier and TypeMethodDescriptionvoidBeaconMenu.updateEffects(Optional<MobEffect> p_219973_, Optional<MobEffect> p_219974_) -
Uses of MobEffect in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type MobEffectModifier and TypeMethodDescriptionstatic voidSuspiciousStewItem.saveMobEffect(ItemStack p_43259_, MobEffect p_43260_, int p_43261_) -
Uses of MobEffect in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as MobEffectFields in net.minecraft.world.level.block with type parameters of type MobEffectMethods in net.minecraft.world.level.block that return MobEffectModifier and TypeMethodDescriptionFlowerBlock.getSuspiciousEffect()SuspiciousEffectHolder.getSuspiciousEffect()Constructors in net.minecraft.world.level.block with parameters of type MobEffectModifierConstructorDescriptionFlowerBlock(MobEffect p_53512_, int p_53513_, BlockBehaviour.Properties p_53514_) Deprecated.FORGE: Use supplier version insteadWitherRoseBlock(MobEffect p_58235_, BlockBehaviour.Properties p_58236_) Constructor parameters in net.minecraft.world.level.block with type arguments of type MobEffectModifierConstructorDescriptionFlowerBlock(Supplier<MobEffect> effectSupplier, int p_53513_, BlockBehaviour.Properties p_53514_) -
Uses of MobEffect in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as MobEffectModifier and TypeFieldDescriptionstatic final MobEffect[][]BeaconBlockEntity.BEACON_EFFECTS(package private) MobEffectBeaconBlockEntity.primaryPower(package private) MobEffectBeaconBlockEntity.secondaryPowerFields in net.minecraft.world.level.block.entity with type parameters of type MobEffectMethods in net.minecraft.world.level.block.entity that return MobEffectModifier and TypeMethodDescription(package private) static MobEffectBeaconBlockEntity.getValidEffectById(int p_58687_) Methods in net.minecraft.world.level.block.entity with parameters of type MobEffectModifier and TypeMethodDescriptionprivate static voidBeaconBlockEntity.applyEffects(Level p_155098_, BlockPos p_155099_, int p_155100_, MobEffect p_155101_, MobEffect p_155102_) -
Uses of MobEffect in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type MobEffectModifier and TypeFieldDescriptionprivate final Map<MobEffect,NumberProvider> SetStewEffectFunction.Builder.effectDurationMap(package private) final Map<MobEffect,NumberProvider> SetStewEffectFunction.effectDurationMapMethods in net.minecraft.world.level.storage.loot.functions with parameters of type MobEffectModifier and TypeMethodDescriptionSetStewEffectFunction.Builder.withEffect(MobEffect p_165473_, NumberProvider p_165474_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type MobEffectModifierConstructorDescription(package private)SetStewEffectFunction(LootItemCondition[] p_81216_, Map<MobEffect, NumberProvider> p_81217_) -
Uses of MobEffect in net.minecraftforge.client.extensions.common
Methods in net.minecraftforge.client.extensions.common with parameters of type MobEffect -
Uses of MobEffect in net.minecraftforge.common
Methods in net.minecraftforge.common that return MobEffectModifier and TypeMethodDescriptionstatic @Nullable MobEffectForgeHooks.loadMobEffect(CompoundTag nbt, String key, @Nullable MobEffect fallback) Methods in net.minecraftforge.common with parameters of type MobEffectModifier and TypeMethodDescriptionstatic @Nullable MobEffectForgeHooks.loadMobEffect(CompoundTag nbt, String key, @Nullable MobEffect fallback) static voidForgeHooks.saveMobEffect(CompoundTag nbt, String key, MobEffect effect) -
Uses of MobEffect in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type MobEffectMethod parameters in net.minecraftforge.common.data with type arguments of type MobEffect -
Uses of MobEffect in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return MobEffect -
Uses of MobEffect in net.minecraftforge.debug
Fields in net.minecraftforge.debug with type parameters of type MobEffectModifier and TypeFieldDescriptionprivate static final RegistryObject<MobEffect>ManyMobEffectsTest.LAST_EFFECTprivate static final DeferredRegister<MobEffect>ManyMobEffectsTest.MOB_EFFECTS -
Uses of MobEffect in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as MobEffectMethods in net.minecraftforge.event.entity.living that return MobEffectConstructors in net.minecraftforge.event.entity.living with parameters of type MobEffect -
Uses of MobEffect in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type MobEffectModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic final IForgeRegistry<MobEffect>ForgeRegistries.MOB_EFFECTS
ForgeRegistries.MOB_EFFECTSinstead.