Uses of Class
net.minecraft.potion.EffectInstance
-
-
Uses of EffectInstance in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type EffectInstance Modifier and Type Method Description boolean
MobEffectsPredicate.InstancePredicate. matches(EffectInstance p_193463_1_)
Method parameters in net.minecraft.advancements.criterion with type arguments of type EffectInstance Modifier and Type Method Description boolean
MobEffectsPredicate. matches(java.util.Map<Effect,EffectInstance> p_193470_1_)
-
Uses of EffectInstance in net.minecraft.client.entity.player
Methods in net.minecraft.client.entity.player that return EffectInstance Modifier and Type Method Description EffectInstance
ClientPlayerEntity. removeEffectNoUpdate(Effect p_184596_1_)
-
Uses of EffectInstance in net.minecraft.client.gui
Method parameters in net.minecraft.client.gui with type arguments of type EffectInstance Modifier and Type Method Description private void
DisplayEffectsScreen. renderBackgrounds(MatrixStack p_238810_1_, int p_238810_2_, int p_238810_3_, java.lang.Iterable<EffectInstance> p_238810_4_)
private void
DisplayEffectsScreen. renderIcons(MatrixStack p_238812_1_, int p_238812_2_, int p_238812_3_, java.lang.Iterable<EffectInstance> p_238812_4_)
private void
DisplayEffectsScreen. renderLabels(MatrixStack p_238813_1_, int p_238813_2_, int p_238813_3_, java.lang.Iterable<EffectInstance> p_238813_4_)
-
Uses of EffectInstance in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type EffectInstance Modifier and Type Field Description private java.util.Map<Effect,EffectInstance>
LivingEntity. activeEffects
private java.util.List<EffectInstance>
AreaEffectCloudEntity. effects
Methods in net.minecraft.entity that return EffectInstance Modifier and Type Method Description EffectInstance
LivingEntity. getEffect(Effect p_70660_1_)
EffectInstance
LivingEntity. removeEffectNoUpdate(Effect p_184596_1_)
Methods in net.minecraft.entity that return types with arguments of type EffectInstance Modifier and Type Method Description java.util.Collection<EffectInstance>
LivingEntity. getActiveEffects()
java.util.Map<Effect,EffectInstance>
LivingEntity. getActiveEffectsMap()
Methods in net.minecraft.entity with parameters of type EffectInstance Modifier and Type Method Description void
AreaEffectCloudEntity. addEffect(EffectInstance p_184496_1_)
boolean
LivingEntity. addEffect(EffectInstance p_195064_1_)
boolean
LivingEntity. canBeAffected(EffectInstance p_70687_1_)
void
LivingEntity. forceAddEffect(EffectInstance p_233646_1_)
protected void
LivingEntity. onEffectAdded(EffectInstance p_70670_1_)
protected void
LivingEntity. onEffectRemoved(EffectInstance p_70688_1_)
protected void
LivingEntity. onEffectUpdated(EffectInstance p_70695_1_, boolean p_70695_2_)
Method parameters in net.minecraft.entity with type arguments of type EffectInstance Modifier and Type Method Description static boolean
LivingEntity. areAllEffectsAmbient(java.util.Collection<EffectInstance> p_184593_0_)
-
Uses of EffectInstance in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type EffectInstance Modifier and Type Method Description boolean
WitherEntity. addEffect(EffectInstance p_195064_1_)
boolean
WitherEntity. canBeAffected(EffectInstance p_70687_1_)
-
Uses of EffectInstance in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon with parameters of type EffectInstance Modifier and Type Method Description boolean
EnderDragonEntity. addEffect(EffectInstance p_195064_1_)
-
Uses of EffectInstance in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type EffectInstance Modifier and Type Method Description boolean
SpiderEntity. canBeAffected(EffectInstance p_70687_1_)
boolean
WitherSkeletonEntity. canBeAffected(EffectInstance p_70687_1_)
-
Uses of EffectInstance in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type EffectInstance Modifier and Type Method Description protected void
ServerPlayerEntity. onEffectAdded(EffectInstance p_70670_1_)
protected void
ServerPlayerEntity. onEffectRemoved(EffectInstance p_70688_1_)
protected void
ServerPlayerEntity. onEffectUpdated(EffectInstance p_70695_1_, boolean p_70695_2_)
-
Uses of EffectInstance in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile with type parameters of type EffectInstance Modifier and Type Field Description private java.util.Set<EffectInstance>
ArrowEntity. effects
Methods in net.minecraft.entity.projectile with parameters of type EffectInstance Modifier and Type Method Description void
ArrowEntity. addEffect(EffectInstance p_184558_1_)
Method parameters in net.minecraft.entity.projectile with type arguments of type EffectInstance Modifier and Type Method Description private void
PotionEntity. applySplash(java.util.List<EffectInstance> p_213888_1_, Entity p_213888_2_)
-
Uses of EffectInstance in net.minecraft.item
Fields in net.minecraft.item with type parameters of type EffectInstance Modifier and Type Field Description private java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<EffectInstance>,java.lang.Float>>
Food.Builder. effects
private java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<EffectInstance>,java.lang.Float>>
Food. effects
Methods in net.minecraft.item that return types with arguments of type EffectInstance Modifier and Type Method Description java.util.List<com.mojang.datafixers.util.Pair<EffectInstance,java.lang.Float>>
Food. getEffects()
Methods in net.minecraft.item with parameters of type EffectInstance Modifier and Type Method Description Food.Builder
Food.Builder. effect(EffectInstance p_221452_1_, float p_221452_2_)
Deprecated.Method parameters in net.minecraft.item with type arguments of type EffectInstance Modifier and Type Method Description Food.Builder
Food.Builder. effect(java.util.function.Supplier<EffectInstance> effectIn, float probability)
Constructor parameters in net.minecraft.item with type arguments of type EffectInstance Constructor Description Food(int p_i50106_1_, float p_i50106_2_, boolean p_i50106_3_, boolean p_i50106_4_, boolean p_i50106_5_, java.util.List<com.mojang.datafixers.util.Pair<EffectInstance,java.lang.Float>> p_i50106_6_)
Deprecated. -
Uses of EffectInstance in net.minecraft.network.play.server
Constructors in net.minecraft.network.play.server with parameters of type EffectInstance Constructor Description SPlayEntityEffectPacket(int p_i46891_1_, EffectInstance p_i46891_2_)
-
Uses of EffectInstance in net.minecraft.potion
Fields in net.minecraft.potion declared as EffectInstance Modifier and Type Field Description private EffectInstance
EffectInstance. hiddenEffect
Fields in net.minecraft.potion with type parameters of type EffectInstance Modifier and Type Field Description private com.google.common.collect.ImmutableList<EffectInstance>
Potion. effects
Methods in net.minecraft.potion that return EffectInstance Modifier and Type Method Description static EffectInstance
EffectInstance. load(CompoundNBT p_82722_0_)
private static EffectInstance
EffectInstance. loadSpecifiedEffect(Effect p_230116_0_, CompoundNBT p_230116_1_)
private static EffectInstance
EffectInstance. readCurativeItems(EffectInstance effect, CompoundNBT nbt)
Methods in net.minecraft.potion that return types with arguments of type EffectInstance Modifier and Type Method Description static java.util.List<EffectInstance>
PotionUtils. getAllEffects(CompoundNBT p_185185_0_)
static java.util.List<EffectInstance>
PotionUtils. getAllEffects(Potion p_185186_0_, java.util.Collection<EffectInstance> p_185186_1_)
static java.util.List<EffectInstance>
PotionUtils. getCustomEffects(ItemStack p_185190_0_)
static java.util.List<EffectInstance>
PotionUtils. getCustomEffects(CompoundNBT p_185192_0_)
java.util.List<EffectInstance>
Potion. getEffects()
static java.util.List<EffectInstance>
PotionUtils. getMobEffects(ItemStack p_185189_0_)
Methods in net.minecraft.potion with parameters of type EffectInstance Modifier and Type Method Description int
EffectInstance. compareTo(EffectInstance p_compareTo_1_)
static java.lang.String
EffectUtils. formatDuration(EffectInstance p_188410_0_, float p_188410_1_)
private static EffectInstance
EffectInstance. readCurativeItems(EffectInstance effect, CompoundNBT nbt)
(package private) void
EffectInstance. setDetailsFrom(EffectInstance p_230117_1_)
boolean
EffectInstance. update(EffectInstance p_199308_1_)
Method parameters in net.minecraft.potion with type arguments of type EffectInstance Modifier and Type Method Description static java.util.List<EffectInstance>
PotionUtils. getAllEffects(Potion p_185186_0_, java.util.Collection<EffectInstance> p_185186_1_)
static int
PotionUtils. getColor(java.util.Collection<EffectInstance> p_185181_0_)
static void
PotionUtils. getCustomEffects(CompoundNBT p_185193_0_, java.util.List<EffectInstance> p_185193_1_)
static ItemStack
PotionUtils. setCustomEffects(ItemStack p_185184_0_, java.util.Collection<EffectInstance> p_185184_1_)
Constructors in net.minecraft.potion with parameters of type EffectInstance Constructor Description EffectInstance(EffectInstance p_i1577_1_)
EffectInstance(Effect p_i230050_1_, int p_i230050_2_, int p_i230050_3_, boolean p_i230050_4_, boolean p_i230050_5_, boolean p_i230050_6_, EffectInstance p_i230050_7_)
Potion(java.lang.String p_i46740_1_, EffectInstance... p_i46740_2_)
Potion(EffectInstance... p_i46739_1_)
-
Uses of EffectInstance in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return EffectInstance Modifier and Type Method Description default EffectInstance
IForgeEffectInstance. getEffectInstance()
Methods in net.minecraftforge.common.extensions with parameters of type EffectInstance Modifier and Type Method Description default int
IForgeEffect. getGuiSortColor(EffectInstance potionEffect)
Used for determiningPotionEffect
sort order in GUIs.default void
IForgeEffect. renderHUDEffect(EffectInstance effect, AbstractGui gui, MatrixStack 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.default void
IForgeEffect. renderInventoryEffect(EffectInstance effect, DisplayEffectsScreen<?> gui, MatrixStack mStack, int x, int y, float z)
Called to draw the this Potion onto the player's inventory when it's active.default boolean
IForgeEffect. shouldRender(EffectInstance effect)
If the Potion effect should be displayed in the players inventorydefault boolean
IForgeEffect. shouldRenderHUD(EffectInstance effect)
If the Potion effect should be displayed in the player's ingame HUDdefault boolean
IForgeEffect. shouldRenderInvText(EffectInstance effect)
If the standard PotionEffect text (name and duration) should be drawn when this potion is active. -
Uses of EffectInstance in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as EffectInstance Modifier and Type Field Description protected EffectInstance
PotionEvent. effect
private EffectInstance
PotionEvent.PotionAddedEvent. oldEffect
Fields in net.minecraftforge.event.entity.living with type parameters of type EffectInstance Modifier and Type Field Description private java.util.Collection<EffectInstance>
PotionColorCalculationEvent. effectList
Methods in net.minecraftforge.event.entity.living that return EffectInstance Modifier and Type Method Description EffectInstance
PotionEvent.PotionAddedEvent. getOldPotionEffect()
EffectInstance
PotionEvent. getPotionEffect()
Retuns the PotionEffect.EffectInstance
PotionEvent.PotionAddedEvent. getPotionEffect()
EffectInstance
PotionEvent.PotionApplicableEvent. getPotionEffect()
EffectInstance
PotionEvent.PotionRemoveEvent. getPotionEffect()
Methods in net.minecraftforge.event.entity.living that return types with arguments of type EffectInstance Modifier and Type Method Description java.util.Collection<EffectInstance>
PotionColorCalculationEvent. getEffects()
Note that returned list is unmodifiable.Constructors in net.minecraftforge.event.entity.living with parameters of type EffectInstance Constructor Description PotionAddedEvent(LivingEntity living, EffectInstance oldEffect, EffectInstance newEffect)
PotionApplicableEvent(LivingEntity living, EffectInstance effect)
PotionEvent(LivingEntity living, EffectInstance effect)
PotionExpiryEvent(LivingEntity living, EffectInstance effect)
PotionRemoveEvent(LivingEntity living, EffectInstance effect)
Constructor parameters in net.minecraftforge.event.entity.living with type arguments of type EffectInstance Constructor Description PotionColorCalculationEvent(LivingEntity entity, int color, boolean hideParticle, java.util.Collection<EffectInstance> effectList)
-