Uses of Class
net.minecraft.world.effect.MobEffect
Package
Description
-
Uses of MobEffect in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Map<MobEffect,
MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effects
Modifier and TypeMethodDescriptionMobEffectsPredicate.and
(MobEffect p_154978_, MobEffectsPredicate.MobEffectInstancePredicate p_154979_) Modifier and TypeMethodDescriptionboolean
MobEffectsPredicate.matches
(Map<MobEffect, MobEffectInstance> p_56562_) ModifierConstructorDescription -
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.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 TypeClassDescriptionclass
class
class
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 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_) Modifier and TypeMethodDescriptionstatic int
static int
MobEffect.getIdFromNullable
(MobEffect p_216883_) private 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.animal
-
Uses of MobEffect in net.minecraft.world.entity.monster
-
Uses of MobEffect in net.minecraft.world.entity.npc
Modifier and TypeFieldDescription(package private) final MobEffect
VillagerTrades.SuspiciousStewForEmerald.effect
ModifierConstructorDescriptionSuspiciousStewForEmerald
(MobEffect p_186313_, int p_186314_, int p_186315_) -
Uses of MobEffect in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionvoid
BeaconMenu.updateEffects
(Optional<MobEffect> p_219973_, Optional<MobEffect> p_219974_) -
Uses of MobEffect in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic void
SuspiciousStewItem.saveMobEffect
(ItemStack p_43259_, MobEffect p_43260_, int p_43261_) -
Uses of MobEffect in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionFlowerBlock.getSuspiciousEffect()
SuspiciousEffectHolder.getSuspiciousEffect()
ModifierConstructorDescriptionFlowerBlock
(MobEffect p_53512_, int p_53513_, BlockBehaviour.Properties p_53514_) Deprecated.FORGE: Use supplier version insteadWitherRoseBlock
(MobEffect p_58235_, BlockBehaviour.Properties p_58236_) ModifierConstructorDescriptionFlowerBlock
(Supplier<MobEffect> effectSupplier, int p_53513_, BlockBehaviour.Properties p_53514_) -
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.getValidEffectById
(int p_58687_) Modifier 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
Modifier and TypeFieldDescriptionprivate final Map<MobEffect,
NumberProvider> SetStewEffectFunction.Builder.effectDurationMap
(package private) final Map<MobEffect,
NumberProvider> SetStewEffectFunction.effectDurationMap
Modifier and TypeMethodDescriptionSetStewEffectFunction.Builder.withEffect
(MobEffect p_165473_, NumberProvider p_165474_) ModifierConstructorDescription(package private)
SetStewEffectFunction
(LootItemCondition[] p_81216_, Map<MobEffect, NumberProvider> p_81217_) -
Uses of MobEffect in net.minecraftforge.client.extensions.common
-
Uses of MobEffect in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic @Nullable MobEffect
ForgeHooks.loadMobEffect
(CompoundTag nbt, String key, @Nullable MobEffect fallback) Modifier 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
-
Uses of MobEffect in net.minecraftforge.common.extensions
-
Uses of MobEffect in net.minecraftforge.debug
Modifier 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
-
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.