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 TypeMethodDescriptionEyeblossomBlock.getContactEffect()FlowerBlock.getContactEffect()WitherRoseBlock.getContactEffect() -
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 TextStatusEffectsDisplay.getStatusEffectDescription(StatusEffectInstance statusEffect) Method parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate voidStatusEffectsDisplay.drawStatusEffectBackgrounds(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) private voidStatusEffectsDisplay.drawStatusEffectDescriptions(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects) private voidStatusEffectsDisplay.drawStatusEffectSprites(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) -
Uses of StatusEffectInstance in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionfloatBackgroundRenderer.DarknessFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float defaultModifier, float tickProgress) default floatBackgroundRenderer.StatusEffectFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float defaultModifier, float tickProgress) voidBackgroundRenderer.BlindnessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickProgress) voidBackgroundRenderer.DarknessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickProgress) voidBackgroundRenderer.StatusEffectFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickProgress) -
Uses of StatusEffectInstance in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final List<StatusEffectInstance> PotionContentsComponent.customEffectsThe field for thecustomEffectsrecord component.Methods in net.minecraft.component.type that return StatusEffectInstanceModifier and TypeMethodDescriptionSuspiciousStewEffectsComponent.StewEffect.createStatusEffectInstance()Methods in net.minecraft.component.type that return types with arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionPotionContentsComponent.customEffects()Returns the value of thecustomEffectsrecord component.PotionContentsComponent.getEffects()Methods in net.minecraft.component.type with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionPotionContentsComponent.with(StatusEffectInstance customEffect) Method parameters in net.minecraft.component.type with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionstatic voidPotionContentsComponent.buildTooltip(Iterable<StatusEffectInstance> effects, Consumer<Text> textConsumer, float durationMultiplier, float tickRate) voidPotionContentsComponent.forEachEffect(Consumer<StatusEffectInstance> effectConsumer, float durationMultiplier) static OptionalIntPotionContentsComponent.mixColors(Iterable<StatusEffectInstance> effects) Constructor parameters in net.minecraft.component.type with type arguments of type StatusEffectInstanceModifierConstructorDescriptionPotionContentsComponent(Optional<RegistryEntry<Potion>> optional, Optional<Integer> optional2, List<StatusEffectInstance> list, Optional<String> optional3) -
Uses of StatusEffectInstance in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final Map<RegistryEntry<StatusEffect>, StatusEffectInstance> LivingEntity.activeStatusEffectsMethods in net.minecraft.entity that return StatusEffectInstanceModifier and TypeMethodDescriptionLivingEntity.getStatusEffect(RegistryEntry<StatusEffect> effect) LivingEntity.removeStatusEffectInternal(RegistryEntry<StatusEffect> effect) 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 TypeMethodDescriptionvoidAreaEffectCloudEntity.addEffect(StatusEffectInstance effect) final booleanLivingEntity.addStatusEffect(StatusEffectInstance effect) Adds a status effect to this entity without specifying a source entity.booleanLivingEntity.addStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.booleanLivingEntity.canHaveStatusEffect(StatusEffectInstance effect) protected voidLivingEntity.onStatusEffectApplied(StatusEffectInstance effect, @Nullable Entity source) protected voidLivingEntity.onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) voidLivingEntity.sendEffectToControllingPlayer(StatusEffectInstance effect) voidLivingEntity.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 booleanLivingEntity.containsOnlyAmbientEffects(Collection<StatusEffectInstance> effects) protected voidLivingEntity.onStatusEffectsRemoved(Collection<StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionbooleanWitherEntity.addStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.booleanWitherEntity.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 TypeMethodDescriptionbooleanEnderDragonEntity.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 StatusEffectInstanceStatusEffectInstance.hiddenEffectThe effect hidden when upgrading effects.Fields in net.minecraft.entity.effect with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StatusEffectInstance> StatusEffectInstance.CODECstatic final PacketCodec<RegistryByteBuf, StatusEffectInstance> StatusEffectInstance.PACKET_CODECprivate final Function<StatusEffectInstance, ParticleEffect> StatusEffect.particleFactoryMethods in net.minecraft.entity.effect that return StatusEffectInstanceModifier and TypeMethodDescriptionStatusEffectInstance.withScaledDuration(float durationMultiplier) 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) intStatusEffectInstance.compareTo(StatusEffectInstance statusEffectInstance) voidStatusEffectInstance.copyFadingFrom(StatusEffectInstance effect) (package private) voidStatusEffectInstance.copyFrom(StatusEffectInstance that) StatusEffect.createParticle(StatusEffectInstance effect) static TextStatusEffectUtil.getDurationText(StatusEffectInstance effect, float multiplier, float tickRate) private booleanStatusEffectInstance.lastsShorterThan(StatusEffectInstance effect) private static booleanStatusEffectInstance.Fading.shouldFadeIn(StatusEffectInstance effect) voidStatusEffectInstance.Fading.skipFading(StatusEffectInstance effect) Skips fade-in or fade-out currently in progress, instantly setting it to the final state (factor1.0for0.0f, depending on the effect's duration).voidStatusEffectInstance.Fading.update(StatusEffectInstance effect) booleanStatusEffectInstance.upgrade(StatusEffectInstance that) Constructors in net.minecraft.entity.effect with parameters of type StatusEffectInstanceModifierConstructorDescriptionStatusEffectInstance(StatusEffectInstance instance) StatusEffectInstance(RegistryEntry<StatusEffect> effect, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, @Nullable StatusEffectInstance hiddenEffect) -
Uses of StatusEffectInstance in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionbooleanSpiderEntity.canHaveStatusEffect(StatusEffectInstance effect) booleanWitherSkeletonEntity.canHaveStatusEffect(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type StatusEffectInstance -
Uses of StatusEffectInstance in net.minecraft.item.consume
Fields in net.minecraft.item.consume with type parameters of type StatusEffectInstanceModifier and TypeFieldDescriptionprivate final List<StatusEffectInstance> ApplyEffectsConsumeEffect.effectsThe field for theeffectsrecord component.Methods in net.minecraft.item.consume that return types with arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionApplyEffectsConsumeEffect.effects()Returns the value of theeffectsrecord component.Constructors in net.minecraft.item.consume with parameters of type StatusEffectInstanceModifierConstructorDescriptionApplyEffectsConsumeEffect(StatusEffectInstance effect, float probability) Constructor parameters in net.minecraft.item.consume with type arguments of type StatusEffectInstanceModifierConstructorDescriptionApplyEffectsConsumeEffect(List<StatusEffectInstance> list, float float2) -
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, boolean keepFading) -
Uses of StatusEffectInstance in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type StatusEffectInstanceMethods in net.minecraft.potion that return types with arguments of type StatusEffectInstanceConstructors in net.minecraft.potion with parameters of type StatusEffectInstance -
Uses of StatusEffectInstance in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionbooleanEntityEffectPredicate.EffectData.test(@Nullable StatusEffectInstance statusEffectInstance) Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionbooleanEntityEffectPredicate.test(Map<RegistryEntry<StatusEffect>, StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type StatusEffectInstanceModifier and TypeMethodDescriptionprotected voidServerPlayerEntity.onStatusEffectApplied(StatusEffectInstance effect, @Nullable Entity source) protected voidServerPlayerEntity.onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) Method parameters in net.minecraft.server.network with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprotected voidServerPlayerEntity.onStatusEffectsRemoved(Collection<StatusEffectInstance> effects)