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.effects
Methods 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 TypeMethodDescriptionboolean
MobEffectsPredicate.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 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 MobEffect -
Uses of MobEffect in net.minecraft.core
Fields in net.minecraft.core with type parameters of type MobEffectModifier and TypeFieldDescriptionRegistry.MOB_EFFECT
Deprecated.static final ResourceKey<Registry<MobEffect>>
Registry.MOB_EFFECT_REGISTRY
-
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
Methods in net.minecraft.server.commands with parameters of type MobEffectModifier and TypeMethodDescriptionprivate static int
EffectCommands.clearEffect
(CommandSourceStack p_136963_, Collection<? extends Entity> p_136964_, MobEffect p_136965_) private static int
EffectCommands.giveEffect
(CommandSourceStack p_136967_, Collection<? extends Entity> p_136968_, MobEffect p_136969_, Integer p_136970_, int p_136971_, boolean p_136972_) -
Uses of MobEffect in net.minecraft.world.effect
Subclasses of MobEffect in net.minecraft.world.effectModifier and TypeClassDescriptionclass
class
class
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
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_) static MobEffect
MobEffect.byId
(int p_19454_) MobEffectInstance.getEffect()
private static MobEffect
MobEffect.setFactorDataFactory
(Supplier<MobEffectInstance.FactorData> p_216880_) Methods in net.minecraft.world.effect with parameters of type MobEffectModifier and TypeMethodDescriptionstatic int
static int
MobEffect.getIdFromNullable
(MobEffect p_216883_) private 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.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 MobEffect
VillagerTrades.SuspiciousStewForEmerald.effect
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 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.item
Methods in net.minecraft.world.item with parameters of type MobEffectModifier and TypeMethodDescriptionstatic void
SuspiciousStewItem.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 MobEffectConstructors 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) 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.getValidEffectById
(int p_58687_) 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_) -
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.effectDurationMap
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)
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 MobEffect
ForgeHooks.loadMobEffect
(CompoundTag nbt, String key, @Nullable MobEffect fallback) Methods in net.minecraftforge.common with parameters of type MobEffectModifier and TypeMethodDescriptionstatic @Nullable MobEffect
ForgeHooks.loadMobEffect
(CompoundTag nbt, String key, @Nullable MobEffect fallback) static void
ForgeHooks.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_EFFECT
private 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_EFFECTS
static final IForgeRegistry<MobEffect>
ForgeRegistries.MOB_EFFECTS