Uses of Class
net.minecraft.entity.effect.StatusEffectInstance
Packages that use StatusEffectInstance
Package
Description
-
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 TextAbstractInventoryScreen.getStatusEffectDescription(StatusEffectInstance statusEffect) Method parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate voidAbstractInventoryScreen.drawStatusEffectBackgrounds(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects, boolean wide) private voidAbstractInventoryScreen.drawStatusEffectDescriptions(DrawContext context, int x, int height, Iterable<StatusEffectInstance> statusEffects) private voidAbstractInventoryScreen.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(RegistryEntry<StatusEffect> effect) 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 TypeMethodDescriptionfloatBackgroundRenderer.DarknessFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) default floatBackgroundRenderer.StatusEffectFogModifier.applyColorModifier(LivingEntity entity, StatusEffectInstance effect, float float2, float tickDelta) voidBackgroundRenderer.BlindnessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) voidBackgroundRenderer.DarknessFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) voidBackgroundRenderer.StatusEffectFogModifier.applyStartEndModifier(BackgroundRenderer.FogData fogData, LivingEntity entity, StatusEffectInstance effect, float viewDistance, float tickDelta) -
Uses of StatusEffectInstance in net.minecraft.component.type
Fields in net.minecraft.component.type declared as StatusEffectInstanceModifier and TypeFieldDescriptionprivate final StatusEffectInstanceFoodComponent.StatusEffectEntry.effectThe field for theeffectrecord component.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()FoodComponent.StatusEffectEntry.effect()Returns the value of theeffectrecord component.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 TypeMethodDescriptionFoodComponent.Builder.statusEffect(StatusEffectInstance effect, float chance) Specifies a status effect to apply to an entity when a food item is consumed.PotionContentsComponent.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) static intPotionContentsComponent.getColor(Iterable<StatusEffectInstance> effects) static OptionalIntPotionContentsComponent.mixColors(Iterable<StatusEffectInstance> effects) Constructors in net.minecraft.component.type with parameters of type StatusEffectInstanceModifierConstructorDescriptionStatusEffectEntry(StatusEffectInstance statusEffectInstance, float float2) Constructor parameters in net.minecraft.component.type with type arguments of type StatusEffectInstanceModifierConstructorDescriptionPotionContentsComponent(Optional<RegistryEntry<Potion>> optional, Optional<Integer> optional2, List<StatusEffectInstance> list) -
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.onStatusEffectRemoved(StatusEffectInstance effect) 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) -
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 TypeMethodDescriptionstatic @Nullable StatusEffectInstanceStatusEffectInstance.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) 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 static intStatusEffectInstance.Fading.getFadeTicks(StatusEffectInstance effect) private static floatStatusEffectInstance.Fading.getTarget(StatusEffectInstance effect) private booleanStatusEffectInstance.lastsShorterThan(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.entity.projectile.thrown
Method parameters in net.minecraft.entity.projectile.thrown with type arguments of type StatusEffectInstanceModifier and TypeMethodDescriptionprivate voidPotionEntity.applySplashPotion(Iterable<StatusEffectInstance> effects, @Nullable Entity entity) -
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 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 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.onStatusEffectRemoved(StatusEffectInstance effect) protected voidServerPlayerEntity.onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source)