Uses of Class
net.minecraft.entity.effect.StatusEffectInstance
Packages that use StatusEffectInstance
Package
Description
-
Uses of StatusEffectInstance in net.minecraft.block
Methods in net.minecraft.block that return StatusEffectInstanceModifier and TypeMethodDescriptionSuspiciousStewIngredient.StewEffect.createStatusEffectInstance()
-
Uses of StatusEffectInstance in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate Text
AbstractInventoryScreen.getStatusEffectDescription
(StatusEffectInstance statusEffect) Method parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate void
AbstractInventoryScreen.drawStatusEffectBackgrounds
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) private void
AbstractInventoryScreen.drawStatusEffectDescriptions
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects) private void
AbstractInventoryScreen.drawStatusEffectSprites
(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) -
Uses of StatusEffectInstance in net.minecraft.client.network
Methods in net.minecraft.client.network that return StatusEffectInstanceModifier and TypeMethodDescriptionClientPlayerEntity.removeStatusEffectInternal
(@Nullable StatusEffect type) Removes a status effect from this entity without calling any listener. -
Uses of StatusEffectInstance in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionfloat
BackgroundRenderer.DarknessFogModifier.applyColorModifier
(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) default float
BackgroundRenderer.StatusEffectFogModifier.applyColorModifier
(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) void
BackgroundRenderer.BlindnessFogModifier.applyStartEndModifier
(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) void
BackgroundRenderer.DarknessFogModifier.applyStartEndModifier
(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) void
BackgroundRenderer.StatusEffectFogModifier.applyStartEndModifier
(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) -
Uses of StatusEffectInstance in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final Map<StatusEffect,
StatusEffectInstance> LivingEntity.activeStatusEffects
private final List<StatusEffectInstance>
AreaEffectCloudEntity.effects
Methods in net.minecraft.entity that return StatusEffectInstanceModifier and TypeMethodDescriptionLivingEntity.getStatusEffect
(StatusEffect effect) LivingEntity.removeStatusEffectInternal
(@Nullable StatusEffect type) Removes a status effect from this entity without calling any listener.Methods in net.minecraft.entity that return types with arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionLivingEntity.getActiveStatusEffects()
LivingEntity.getStatusEffects()
Methods in net.minecraft.entity with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionvoid
AreaEffectCloudEntity.addEffect
(StatusEffectInstance effect) final boolean
LivingEntity.addStatusEffect
(StatusEffectInstance effect) Adds a status effect to this entity without specifying a source entity.boolean
LivingEntity.addStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.boolean
LivingEntity.canHaveStatusEffect
(StatusEffectInstance effect) protected void
LivingEntity.onStatusEffectApplied
(StatusEffectInstance effect, @Nullable Entity source) protected void
LivingEntity.onStatusEffectRemoved
(StatusEffectInstance effect) protected void
LivingEntity.onStatusEffectUpgraded
(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) void
LivingEntity.sendEffectToControllingPlayer
(StatusEffectInstance effect) void
LivingEntity.setStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Sets a status effect in this entity.Method parameters in net.minecraft.entity with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionstatic boolean
LivingEntity.containsOnlyAmbientEffects
(Collection<StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionboolean
WitherEntity.addStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.boolean
WitherEntity.canHaveStatusEffect
(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionboolean
EnderDragonEntity.addStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity. -
Uses of StatusEffectInstance in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as StatusEffectInstanceModifier and TypeFieldDescriptionprivate @Nullable StatusEffectInstance
StatusEffectInstance.hiddenEffect
The effect hidden when upgrading effects.Methods in net.minecraft.entity.effect that return StatusEffectInstanceModifier and TypeMethodDescriptionprivate static StatusEffectInstance
StatusEffectInstance.fromNbt
(StatusEffect type, NbtCompound nbt) static @Nullable StatusEffectInstance
StatusEffectInstance.fromNbt
(NbtCompound nbt) Methods in net.minecraft.entity.effect with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionstatic List<ServerPlayerEntity>
StatusEffectUtil.addEffectToPlayersWithinDistance
(ServerWorld world, @Nullable Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration) int
StatusEffectInstance.compareTo
(StatusEffectInstance statusEffectInstance) (package private) void
StatusEffectInstance.copyFrom
(StatusEffectInstance that) static Text
StatusEffectUtil.getDurationText
(StatusEffectInstance effect, float multiplier, float tickRate) private boolean
StatusEffectInstance.lastsShorterThan
(StatusEffectInstance effect) void
StatusEffectInstance.FactorCalculationData.update
(StatusEffectInstance effect) boolean
StatusEffectInstance.upgrade
(StatusEffectInstance that) Constructors in net.minecraft.entity.effect with parameters of type StatusEffectInstanceModifierConstructorDescriptionStatusEffectInstance
(StatusEffectInstance instance) StatusEffectInstance
(StatusEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect, Optional<StatusEffectInstance.FactorCalculationData> factorCalculationData) -
Uses of StatusEffectInstance in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionboolean
SpiderEntity.canHaveStatusEffect
(StatusEffectInstance effect) boolean
WitherSkeletonEntity.canHaveStatusEffect
(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile with type parameters of type StatusEffectInstanceMethods in net.minecraft.entity.projectile with parameters of type StatusEffectInstance -
Uses of StatusEffectInstance in net.minecraft.entity.projectile.thrown
Method parameters in net.minecraft.entity.projectile.thrown with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate void
PotionEntity.applySplashPotion
(List<StatusEffectInstance> statusEffects, @Nullable Entity entity) -
Uses of StatusEffectInstance in net.minecraft.item
Fields in net.minecraft.item with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final List<com.mojang.datafixers.util.Pair<StatusEffectInstance,
Float>> FoodComponent.Builder.statusEffects
private final List<com.mojang.datafixers.util.Pair<StatusEffectInstance,
Float>> FoodComponent.statusEffects
Methods in net.minecraft.item that return types with arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<StatusEffectInstance,
Float>> FoodComponent.getStatusEffects()
Gets a list of all status effect instances that may be applied when a food item is consumed.Methods in net.minecraft.item with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionFoodComponent.Builder.statusEffect
(StatusEffectInstance effect, float chance) Specifies a status effect to apply to an entity when a food item is consumed.Constructor parameters in net.minecraft.item with type arguments of type StatusEffectInstanceModifierConstructorDescription(package private)
FoodComponent
(int hunger, float saturationModifier, boolean meat, boolean alwaysEdible, boolean snack, List<com.mojang.datafixers.util.Pair<StatusEffectInstance, Float>> statusEffects) -
Uses of StatusEffectInstance in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type StatusEffectInstanceModifierConstructorDescriptionEntityStatusEffectS2CPacket
(int entityId, StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final ImmutableList<StatusEffectInstance>
Potion.effects
Methods in net.minecraft.potion that return types with arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionstatic List<StatusEffectInstance>
PotionUtil.getCustomPotionEffects
(ItemStack stack) static List<StatusEffectInstance>
PotionUtil.getCustomPotionEffects
(@Nullable NbtCompound nbt) Potion.getEffects()
static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(ItemStack stack) static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(@Nullable NbtCompound nbt) static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(Potion potion, Collection<StatusEffectInstance> custom) Method parameters in net.minecraft.potion with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionstatic void
PotionUtil.buildTooltip
(List<StatusEffectInstance> statusEffects, List<Text> list, float durationMultiplier, float tickRate) static int
PotionUtil.getColor
(Collection<StatusEffectInstance> effects) static void
PotionUtil.getCustomPotionEffects
(@Nullable NbtCompound nbt, List<StatusEffectInstance> list) static List<StatusEffectInstance>
PotionUtil.getPotionEffects
(Potion potion, Collection<StatusEffectInstance> custom) static ItemStack
PotionUtil.setCustomPotionEffects
(ItemStack stack, Collection<StatusEffectInstance> effects) Constructors in net.minecraft.potion with parameters of type StatusEffectInstanceModifierConstructorDescriptionPotion
(@Nullable String baseName, StatusEffectInstance[] effects) Potion
(StatusEffectInstance[] effects) -
Uses of StatusEffectInstance in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionboolean
EntityEffectPredicate.EffectData.test
(@Nullable StatusEffectInstance statusEffectInstance) Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionboolean
EntityEffectPredicate.test
(Map<StatusEffect, StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionprotected void
ServerPlayerEntity.onStatusEffectApplied
(StatusEffectInstance effect, @Nullable Entity source) protected void
ServerPlayerEntity.onStatusEffectRemoved
(StatusEffectInstance effect) protected void
ServerPlayerEntity.onStatusEffectUpgraded
(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source)