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 com.google.common.collect.ImmutableMap.Builder<Holder<MobEffect>,
MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.Builder.effectMap
private final Map<Holder<MobEffect>,
MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effectMap
The field for theeffectMap
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type MobEffectModifier and TypeMethodDescriptionMobEffectsPredicate.effectMap()
Returns the value of theeffectMap
record component.Methods in net.minecraft.advancements.critereon with parameters of type MobEffectModifier and TypeMethodDescriptionMobEffectsPredicate.Builder.and
(MobEffect p_299972_, MobEffectsPredicate.MobEffectInstancePredicate p_300885_) Method parameters in net.minecraft.advancements.critereon with type arguments of type MobEffectModifier and TypeMethodDescriptionboolean
MobEffectsPredicate.matches
(Map<MobEffect, MobEffectInstance> p_56562_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type MobEffectModifierConstructorDescriptionMobEffectsPredicate
(Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> effectMap) Creates an instance of aMobEffectsPredicate
record class. -
Uses of MobEffect in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as MobEffectModifier and TypeFieldDescriptionprivate MobEffect
BeaconScreen.BeaconPowerButton.effect
(package private) MobEffect
BeaconScreen.primary
(package private) MobEffect
BeaconScreen.secondary
Methods in net.minecraft.client.gui.screens.inventory with parameters of type MobEffectModifier and TypeMethodDescriptionprotected MutableComponent
BeaconScreen.BeaconPowerButton.createEffectDescription
(MobEffect p_169652_) protected MutableComponent
BeaconScreen.BeaconUpgradePowerButton.createEffectDescription
(MobEffect p_169681_) protected void
Constructors 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_EFFECT
Deprecated.static final ResourceKey<Registry<MobEffect>>
Registries.MOB_EFFECT
-
Uses of MobEffect in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type MobEffectModifier and TypeMethodDescriptionvoid
GameTestHelper.assertLivingEntityHasMobEffect
(LivingEntity p_300128_, MobEffect p_298607_, int p_298143_) -
Uses of MobEffect in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as MobEffectModifier and TypeFieldDescriptionprivate final MobEffect
ClientboundRemoveMobEffectPacket.effect
private final MobEffect
ClientboundUpdateMobEffectPacket.effect
Fields in net.minecraft.network.protocol.game with type parameters of type MobEffectModifier and TypeFieldDescriptionServerboundSetBeaconPacket.primary
ServerboundSetBeaconPacket.secondary
Methods 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 int
EffectCommands.clearEffect
(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static int
EffectCommands.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 TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
class
(package private) class
(package private) class
(package private) class
(package private) class
Fields in net.minecraft.world.effect declared as MobEffectModifier and TypeFieldDescriptionstatic final MobEffect
MobEffects.ABSORPTION
static final MobEffect
MobEffects.BAD_OMEN
static final MobEffect
MobEffects.BLINDNESS
static final MobEffect
MobEffects.CONDUIT_POWER
static final MobEffect
MobEffects.CONFUSION
static final MobEffect
MobEffects.DAMAGE_BOOST
static final MobEffect
MobEffects.DAMAGE_RESISTANCE
static final MobEffect
MobEffects.DARKNESS
static final MobEffect
MobEffects.DIG_SLOWDOWN
static final MobEffect
MobEffects.DIG_SPEED
static final MobEffect
MobEffects.DOLPHINS_GRACE
private final MobEffect
MobEffectInstance.effect
static final MobEffect
MobEffects.FIRE_RESISTANCE
static final MobEffect
MobEffects.GLOWING
static final MobEffect
MobEffects.HARM
static final MobEffect
MobEffects.HEAL
static final MobEffect
MobEffects.HEALTH_BOOST
static final MobEffect
MobEffects.HERO_OF_THE_VILLAGE
static final MobEffect
MobEffects.HUNGER
static final MobEffect
MobEffects.INVISIBILITY
static final MobEffect
MobEffects.JUMP
static final MobEffect
MobEffects.LEVITATION
static final MobEffect
MobEffects.LUCK
static final MobEffect
MobEffects.MOVEMENT_SLOWDOWN
static final MobEffect
MobEffects.MOVEMENT_SPEED
static final MobEffect
MobEffects.NIGHT_VISION
static final MobEffect
MobEffects.POISON
static final MobEffect
MobEffects.REGENERATION
static final MobEffect
MobEffects.SATURATION
static final MobEffect
MobEffects.SLOW_FALLING
static final MobEffect
MobEffects.UNLUCK
static final MobEffect
MobEffects.WATER_BREATHING
static final MobEffect
MobEffects.WEAKNESS
static final MobEffect
MobEffects.WITHER
Fields in net.minecraft.world.effect with type parameters of type MobEffectModifier and TypeFieldDescriptionprivate final Holder.Reference<MobEffect>
MobEffect.builtInRegistryHolder
Methods in net.minecraft.world.effect that return MobEffectModifier and TypeMethodDescriptionMobEffect.addAttributeModifier
(Attribute p_19473_, String p_19474_, double p_19475_, AttributeModifier.Operation p_19476_) MobEffectInstance.getEffect()
private static MobEffect
MobEffect.setFactorDataFactory
(Supplier<MobEffectInstance.FactorData> p_216880_) Methods in net.minecraft.world.effect that return types with arguments of type MobEffectMethods in net.minecraft.world.effect with parameters of type MobEffectModifier and TypeMethodDescriptionprivate static MobEffectInstance
MobEffectInstance.loadSpecifiedEffect
(MobEffect p_19546_, CompoundTag p_19547_) private static MobEffect
Constructors 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.activeEffects
Methods in net.minecraft.world.entity that return types with arguments of type MobEffectMethods in net.minecraft.world.entity with parameters of type MobEffectModifier and TypeMethodDescriptionboolean
boolean
LivingEntity.removeEffect
(MobEffect p_21196_) LivingEntity.removeEffectNoUpdate
(MobEffect p_21164_) -
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
Constructors 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 MobEffectModifier and TypeMethodDescriptionstatic MobEffect
BeaconMenu.decodeEffect
(int p_297542_) BeaconMenu.getPrimaryEffect()
BeaconMenu.getSecondaryEffect()
Methods in net.minecraft.world.inventory with parameters of type MobEffectMethod parameters in net.minecraft.world.inventory with type arguments of type MobEffectModifier and TypeMethodDescriptionvoid
BeaconMenu.updateEffects
(Optional<MobEffect> p_219973_, Optional<MobEffect> p_219974_) -
Uses of MobEffect in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as MobEffectModifier and TypeFieldDescriptionprivate final MobEffect
SuspiciousEffectHolder.EffectEntry.effect
The field for theeffect
record component.Methods in net.minecraft.world.level.block that return MobEffectModifier and TypeMethodDescriptionSuspiciousEffectHolder.EffectEntry.effect()
Returns the value of theeffect
record component.Methods in net.minecraft.world.level.block with parameters of type MobEffectModifier and TypeMethodDescriptionprotected static List<SuspiciousEffectHolder.EffectEntry>
FlowerBlock.makeEffectList
(MobEffect p_310047_, int p_311136_) Constructors in net.minecraft.world.level.block with parameters of type MobEffectModifierConstructorDescriptionEffectEntry
(MobEffect effect, int duration) Creates an instance of aEffectEntry
record class.FlowerBlock
(MobEffect p_53512_, int p_53513_, BlockBehaviour.Properties p_53514_) WitherRoseBlock
(MobEffect p_312856_, int p_311095_, BlockBehaviour.Properties p_310026_) -
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) MobEffect
BeaconBlockEntity.primaryPower
(package private) MobEffect
BeaconBlockEntity.secondaryPower
Fields 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 MobEffect
BeaconBlockEntity.filterEffect
(MobEffect p_300420_) private static MobEffect
BeaconBlockEntity.loadEffect
(CompoundTag p_298536_, String p_301201_) Methods in net.minecraft.world.level.block.entity with parameters of type MobEffectModifier and TypeMethodDescriptionprivate static void
BeaconBlockEntity.applyEffects
(Level p_155098_, BlockPos p_155099_, int p_155100_, MobEffect p_155101_, MobEffect p_155102_) (package private) static MobEffect
BeaconBlockEntity.filterEffect
(MobEffect p_300420_) private static void
BeaconBlockEntity.storeEffect
(CompoundTag p_299457_, String p_297212_, MobEffect p_297266_) -
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 TypeFieldDescriptionSetStewEffectFunction.EffectEntry.effect
The field for theeffect
record component.Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type MobEffectModifier and TypeMethodDescriptionSetStewEffectFunction.EffectEntry.effect()
Returns the value of theeffect
record component.Methods 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)
EffectEntry
(Holder<MobEffect> effect, NumberProvider duration) Creates an instance of aEffectEntry
record class. -
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.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.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_EFFECTS
static final IForgeRegistry<MobEffect>
ForgeRegistries.MOB_EFFECTS
ForgeRegistries.MOB_EFFECTS
instead.