Uses of Class
net.minecraft.world.effect.MobEffectInstance
Packages that use MobEffectInstance
Package
Description
-
Uses of MobEffectInstance in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionbooleanMobEffectsPredicate.MobEffectInstancePredicate.matches(MobEffectInstance p_56578_)Method parameters in net.minecraft.advancements.critereon with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionbooleanMobEffectsPredicate.matches(Map<MobEffect,MobEffectInstance> p_56562_) -
Uses of MobEffectInstance in net.minecraft.client.gui.screens.inventory
Method parameters in net.minecraft.client.gui.screens.inventory with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionprivate voidEffectRenderingInventoryScreen.renderBackgrounds(PoseStack p_98710_, int p_98711_, int p_98712_, Iterable<MobEffectInstance> p_98713_)private voidEffectRenderingInventoryScreen.renderIcons(PoseStack p_98718_, int p_98719_, int p_98720_, Iterable<MobEffectInstance> p_98721_)private voidEffectRenderingInventoryScreen.renderLabels(PoseStack p_98723_, int p_98724_, int p_98725_, Iterable<MobEffectInstance> p_98726_) -
Uses of MobEffectInstance in net.minecraft.client.player
Methods in net.minecraft.client.player that return MobEffectInstance -
Uses of MobEffectInstance in net.minecraft.network.protocol.game
Constructors in net.minecraft.network.protocol.game with parameters of type MobEffectInstanceModifierConstructorDescriptionClientboundUpdateMobEffectPacket(int p_133611_, MobEffectInstance p_133612_) -
Uses of MobEffectInstance in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionprotected voidServerPlayer.onEffectAdded(MobEffectInstance p_143393_, Entity p_143394_)protected voidServerPlayer.onEffectRemoved(MobEffectInstance p_9184_)protected voidServerPlayer.onEffectUpdated(MobEffectInstance p_143396_, boolean p_143397_, Entity p_143398_) -
Uses of MobEffectInstance in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as MobEffectInstanceMethods in net.minecraft.world.effect that return MobEffectInstanceModifier and TypeMethodDescriptionstatic MobEffectInstanceMobEffectInstance.load(CompoundTag p_19561_)private static MobEffectInstanceMobEffectInstance.loadSpecifiedEffect(MobEffect p_19546_, CompoundTag p_19547_)private static MobEffectInstanceMobEffectInstance.readCurativeItems(MobEffectInstance effect, CompoundTag nbt)Methods in net.minecraft.world.effect with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionintMobEffectInstance.compareTo(MobEffectInstance p_19566_)static StringMobEffectUtil.formatDuration(MobEffectInstance p_19582_, float p_19583_)private static MobEffectInstanceMobEffectInstance.readCurativeItems(MobEffectInstance effect, CompoundTag nbt)(package private) voidMobEffectInstance.setDetailsFrom(MobEffectInstance p_19549_)booleanMobEffectInstance.update(MobEffectInstance p_19559_)Constructors in net.minecraft.world.effect with parameters of type MobEffectInstanceModifierConstructorDescriptionMobEffectInstance(MobEffectInstance p_19543_)MobEffectInstance(MobEffect p_19535_, int p_19536_, int p_19537_, boolean p_19538_, boolean p_19539_, boolean p_19540_, MobEffectInstance p_19541_) -
Uses of MobEffectInstance in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type MobEffectInstanceModifier and TypeFieldDescriptionprivate Map<MobEffect,MobEffectInstance>LivingEntity.activeEffectsprivate List<MobEffectInstance>AreaEffectCloud.effectsMethods in net.minecraft.world.entity that return MobEffectInstanceMethods in net.minecraft.world.entity that return types with arguments of type MobEffectInstanceModifier and TypeMethodDescriptionLivingEntity.getActiveEffects()LivingEntity.getActiveEffectsMap()Methods in net.minecraft.world.entity with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionvoidAreaEffectCloud.addEffect(MobEffectInstance p_19717_)booleanLivingEntity.addEffect(MobEffectInstance p_21165_)booleanLivingEntity.addEffect(MobEffectInstance p_147208_, Entity p_147209_)booleanLivingEntity.canBeAffected(MobEffectInstance p_21197_)voidLivingEntity.forceAddEffect(MobEffectInstance p_147216_, Entity p_147217_)protected voidLivingEntity.onEffectAdded(MobEffectInstance p_147190_, Entity p_147191_)protected voidLivingEntity.onEffectRemoved(MobEffectInstance p_21126_)protected voidLivingEntity.onEffectUpdated(MobEffectInstance p_147192_, boolean p_147193_, Entity p_147194_)Method parameters in net.minecraft.world.entity with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionstatic booleanLivingEntity.areAllEffectsAmbient(Collection<MobEffectInstance> p_21180_) -
Uses of MobEffectInstance in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionbooleanEnderDragon.addEffect(MobEffectInstance p_182394_, Entity p_182395_) -
Uses of MobEffectInstance in net.minecraft.world.entity.boss.wither
Methods in net.minecraft.world.entity.boss.wither with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionbooleanWitherBoss.addEffect(MobEffectInstance p_182397_, Entity p_182398_)booleanWitherBoss.canBeAffected(MobEffectInstance p_31495_) -
Uses of MobEffectInstance in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionbooleanSpider.canBeAffected(MobEffectInstance p_33809_)booleanWitherSkeleton.canBeAffected(MobEffectInstance p_34192_) -
Uses of MobEffectInstance in net.minecraft.world.entity.projectile
Fields in net.minecraft.world.entity.projectile with type parameters of type MobEffectInstanceMethods in net.minecraft.world.entity.projectile with parameters of type MobEffectInstanceMethod parameters in net.minecraft.world.entity.projectile with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionprivate voidThrownPotion.applySplash(List<MobEffectInstance> p_37548_, Entity p_37549_) -
Uses of MobEffectInstance in net.minecraft.world.food
Fields in net.minecraft.world.food with type parameters of type MobEffectInstanceModifier and TypeFieldDescriptionprivate List<com.mojang.datafixers.util.Pair<Supplier<MobEffectInstance>,Float>>FoodProperties.Builder.effectsprivate List<com.mojang.datafixers.util.Pair<Supplier<MobEffectInstance>,Float>>FoodProperties.effectsMethods in net.minecraft.world.food that return types with arguments of type MobEffectInstanceModifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<MobEffectInstance,Float>>FoodProperties.getEffects()Methods in net.minecraft.world.food with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionFoodProperties.Builder.effect(MobEffectInstance p_38763_, float p_38764_)Deprecated.Method parameters in net.minecraft.world.food with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionFoodProperties.Builder.effect(Supplier<MobEffectInstance> effectIn, float probability)Constructor parameters in net.minecraft.world.food with type arguments of type MobEffectInstanceModifierConstructorDescription(package private)FoodProperties(int p_38730_, float p_38731_, boolean p_38732_, boolean p_38733_, boolean p_38734_, List<com.mojang.datafixers.util.Pair<MobEffectInstance,Float>> p_38735_)Deprecated. -
Uses of MobEffectInstance in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy with type parameters of type MobEffectInstanceModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList<MobEffectInstance>Potion.effectsMethods in net.minecraft.world.item.alchemy that return types with arguments of type MobEffectInstanceModifier and TypeMethodDescriptionstatic List<MobEffectInstance>PotionUtils.getAllEffects(CompoundTag p_43567_)static List<MobEffectInstance>PotionUtils.getAllEffects(Potion p_43562_, Collection<MobEffectInstance> p_43563_)static List<MobEffectInstance>PotionUtils.getCustomEffects(CompoundTag p_43574_)static List<MobEffectInstance>PotionUtils.getCustomEffects(ItemStack p_43572_)Potion.getEffects()static List<MobEffectInstance>PotionUtils.getMobEffects(ItemStack p_43548_)Method parameters in net.minecraft.world.item.alchemy with type arguments of type MobEffectInstanceModifier and TypeMethodDescriptionstatic List<MobEffectInstance>PotionUtils.getAllEffects(Potion p_43562_, Collection<MobEffectInstance> p_43563_)static intPotionUtils.getColor(Collection<MobEffectInstance> p_43565_)static voidPotionUtils.getCustomEffects(CompoundTag p_43569_, List<MobEffectInstance> p_43570_)static ItemStackPotionUtils.setCustomEffects(ItemStack p_43553_, Collection<MobEffectInstance> p_43554_)Constructors in net.minecraft.world.item.alchemy with parameters of type MobEffectInstanceModifierConstructorDescriptionPotion(String p_43484_, MobEffectInstance... p_43485_)Potion(MobEffectInstance... p_43487_) -
Uses of MobEffectInstance in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type MobEffectInstanceModifier and TypeMethodDescriptionstatic EffectRendererRenderProperties.getEffectRenderer(MobEffectInstance effectInstance)abstract voidEffectRenderer.renderHUDEffect(MobEffectInstance effect, GuiComponent gui, PoseStack mStack, int x, int y, float z, float alpha)Called to draw the this Potion onto the player's ingame HUD when it's active.abstract voidEffectRenderer.renderInventoryEffect(MobEffectInstance effect, EffectRenderingInventoryScreen<?> gui, PoseStack mStack, int x, int y, float z)Called to draw the this Potion onto the player's inventory when it's active.booleanEffectRenderer.shouldRender(MobEffectInstance effect)If the Potion effect should be displayed in the players inventorystatic booleanForgeHooksClient.shouldRender(MobEffectInstance effectInstance)booleanEffectRenderer.shouldRenderHUD(MobEffectInstance effect)If the Potion effect should be displayed in the player's ingame HUDbooleanEffectRenderer.shouldRenderInvText(MobEffectInstance effect)If the standard PotionEffect text (name and duration) should be drawn when this potion is active. -
Uses of MobEffectInstance in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type MobEffectInstanceModifier and TypeMethodDescriptiondefault intIForgeMobEffect.getGuiSortColor(MobEffectInstance potionEffect)Used for determiningPotionEffectsort order in GUIs. -
Uses of MobEffectInstance in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as MobEffectInstanceModifier and TypeFieldDescriptionprotected MobEffectInstancePotionEvent.effectprivate MobEffectInstancePotionEvent.PotionAddedEvent.oldEffectFields in net.minecraftforge.event.entity.living with type parameters of type MobEffectInstanceModifier and TypeFieldDescriptionprivate Collection<MobEffectInstance>PotionColorCalculationEvent.effectListMethods in net.minecraftforge.event.entity.living that return MobEffectInstanceModifier and TypeMethodDescriptionPotionEvent.PotionAddedEvent.getOldPotionEffect()PotionEvent.getPotionEffect()Retuns the PotionEffect.PotionEvent.PotionAddedEvent.getPotionEffect()PotionEvent.PotionApplicableEvent.getPotionEffect()PotionEvent.PotionRemoveEvent.getPotionEffect()Methods in net.minecraftforge.event.entity.living that return types with arguments of type MobEffectInstanceModifier and TypeMethodDescriptionPotionColorCalculationEvent.getEffects()Note that returned list is unmodifiable.Constructors in net.minecraftforge.event.entity.living with parameters of type MobEffectInstanceModifierConstructorDescriptionPotionAddedEvent(LivingEntity living, MobEffectInstance oldEffect, MobEffectInstance newEffect)Deprecated, for removal: This API element is subject to removal in a future version.PotionAddedEvent(LivingEntity living, MobEffectInstance oldEffect, MobEffectInstance newEffect, Entity source)PotionApplicableEvent(LivingEntity living, MobEffectInstance effect)PotionEvent(LivingEntity living, MobEffectInstance effect)PotionExpiryEvent(LivingEntity living, MobEffectInstance effect)PotionRemoveEvent(LivingEntity living, MobEffectInstance effect)Constructor parameters in net.minecraftforge.event.entity.living with type arguments of type MobEffectInstanceModifierConstructorDescriptionPotionColorCalculationEvent(LivingEntity entity, int color, boolean hideParticle, Collection<MobEffectInstance> effectList)