Uses of Class
net.minecraft.world.effect.MobEffect
Package
Description
-
Uses of MobEffect in net.minecraft.advancements.critereon
Modifier 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.Modifier and TypeMethodDescriptionMobEffectsPredicate.effectMap()
Returns the value of theeffectMap
record component.Modifier and TypeMethodDescriptionMobEffectsPredicate.Builder.and
(MobEffect p_299972_, MobEffectsPredicate.MobEffectInstancePredicate p_300885_) Modifier and TypeMethodDescriptionboolean
MobEffectsPredicate.matches
(Map<MobEffect, MobEffectInstance> p_56562_) ModifierConstructorDescriptionMobEffectsPredicate
(Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> effectMap) Creates an instance of aMobEffectsPredicate
record class. -
Uses of MobEffect in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate MobEffect
BeaconScreen.BeaconPowerButton.effect
(package private) MobEffect
BeaconScreen.primary
(package private) MobEffect
BeaconScreen.secondary
Modifier and TypeMethodDescriptionprotected MutableComponent
BeaconScreen.BeaconPowerButton.createEffectDescription
(MobEffect p_169652_) protected MutableComponent
BeaconScreen.BeaconUpgradePowerButton.createEffectDescription
(MobEffect p_169681_) protected void
ModifierConstructorDescriptionBeaconPowerButton
(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
-
Uses of MobEffect in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionFogRenderer.BlindnessFogFunction.getMobEffect()
FogRenderer.DarknessFogFunction.getMobEffect()
FogRenderer.MobEffectFogFunction.getMobEffect()
-
Uses of MobEffect in net.minecraft.client.resources
Modifier and TypeMethodDescription -
Uses of MobEffect in net.minecraft.commands.arguments
Modifier 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
Modifier and TypeFieldDescriptionBuiltInRegistries.MOB_EFFECT
Deprecated.static final ResourceKey<Registry<MobEffect>>
Registries.MOB_EFFECT
-
Uses of MobEffect in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionvoid
GameTestHelper.assertLivingEntityHasMobEffect
(LivingEntity p_300128_, MobEffect p_298607_, int p_298143_) -
Uses of MobEffect in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final MobEffect
ClientboundRemoveMobEffectPacket.effect
private final MobEffect
ClientboundUpdateMobEffectPacket.effect
Modifier and TypeFieldDescriptionServerboundSetBeaconPacket.primary
ServerboundSetBeaconPacket.secondary
Modifier and TypeMethodDescriptionClientboundRemoveMobEffectPacket.getEffect()
ClientboundUpdateMobEffectPacket.getEffect()
Modifier and TypeMethodDescriptionServerboundSetBeaconPacket.getPrimary()
ServerboundSetBeaconPacket.getSecondary()
ModifierConstructorDescriptionClientboundRemoveMobEffectPacket
(int p_132899_, MobEffect p_132900_) ModifierConstructorDescriptionServerboundSetBeaconPacket
(Optional<MobEffect> p_237989_, Optional<MobEffect> p_237990_) -
Uses of MobEffect in net.minecraft.server.commands
Modifier 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
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionprivate final Holder.Reference<MobEffect>
MobEffect.builtInRegistryHolder
Modifier 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_) Modifier and TypeMethodDescriptionprivate static MobEffectInstance
MobEffectInstance.loadSpecifiedEffect
(MobEffect p_19546_, CompoundTag p_19547_) private static MobEffect
ModifierConstructorDescriptionMobEffectInstance
(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
Modifier and TypeFieldDescriptionprivate final Map<MobEffect,
MobEffectInstance> LivingEntity.activeEffects
Modifier and TypeMethodDescriptionboolean
boolean
LivingEntity.removeEffect
(MobEffect p_21196_) LivingEntity.removeEffectNoUpdate
(MobEffect p_21164_) -
Uses of MobEffect in net.minecraft.world.entity.monster
-
Uses of MobEffect in net.minecraft.world.entity.npc
ModifierConstructorDescriptionSuspiciousStewForEmerald
(MobEffect p_186313_, int p_186314_, int p_186315_) -
Uses of MobEffect in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionstatic MobEffect
BeaconMenu.decodeEffect
(int p_297542_) BeaconMenu.getPrimaryEffect()
BeaconMenu.getSecondaryEffect()
Modifier and TypeMethodDescriptionvoid
BeaconMenu.updateEffects
(Optional<MobEffect> p_219973_, Optional<MobEffect> p_219974_) -
Uses of MobEffect in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final MobEffect
SuspiciousEffectHolder.EffectEntry.effect
The field for theeffect
record component.Modifier and TypeMethodDescriptionSuspiciousEffectHolder.EffectEntry.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionprotected static List<SuspiciousEffectHolder.EffectEntry>
FlowerBlock.makeEffectList
(MobEffect p_310047_, int p_311136_) ModifierConstructorDescriptionEffectEntry
(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
Modifier and TypeFieldDescriptionstatic final MobEffect[][]
BeaconBlockEntity.BEACON_EFFECTS
(package private) MobEffect
BeaconBlockEntity.primaryPower
(package private) MobEffect
BeaconBlockEntity.secondaryPower
Modifier and TypeMethodDescription(package private) static MobEffect
BeaconBlockEntity.filterEffect
(MobEffect p_300420_) private static MobEffect
BeaconBlockEntity.loadEffect
(CompoundTag p_298536_, String p_301201_) Modifier 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
Modifier and TypeFieldDescriptionSetStewEffectFunction.EffectEntry.effect
The field for theeffect
record component.Modifier and TypeMethodDescriptionSetStewEffectFunction.EffectEntry.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionSetStewEffectFunction.Builder.withEffect
(MobEffect p_165473_, NumberProvider p_165474_) ModifierConstructorDescription(package private)
EffectEntry
(Holder<MobEffect> effect, NumberProvider duration) Creates an instance of aEffectEntry
record class. -
Uses of MobEffect in net.minecraftforge.client.extensions.common
-
Uses of MobEffect in net.minecraftforge.common.data
-
Uses of MobEffect in net.minecraftforge.common.extensions
-
Uses of MobEffect in net.minecraftforge.event.entity.living
-
Uses of MobEffect in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<MobEffect>>
ForgeRegistries.Keys.MOB_EFFECTS
static final IForgeRegistry<MobEffect>
ForgeRegistries.MOB_EFFECTS
ForgeRegistries.MOB_EFFECTS
instead.