Uses of Class
net.minecraft.entity.effect.StatusEffectInstance
-
Uses of StatusEffectInstance in net.minecraft.client.gui.screen.ingame
Method parameters in net.minecraft.client.gui.screen.ingame with type arguments of type StatusEffectInstance Modifier and Type Method Description private voidAbstractInventoryScreen. drawStatusEffectBackgrounds(MatrixStack matrices, int int2, int int3, Iterable<StatusEffectInstance> iterable)private voidAbstractInventoryScreen. drawStatusEffectDescriptions(MatrixStack matrices, int int2, int int3, Iterable<StatusEffectInstance> iterable)private voidAbstractInventoryScreen. drawStatusEffectSprites(MatrixStack matrices, int int2, int int3, Iterable<StatusEffectInstance> iterable) -
Uses of StatusEffectInstance in net.minecraft.client.network
Methods in net.minecraft.client.network that return StatusEffectInstance Modifier and Type Method Description @Nullable StatusEffectInstanceClientPlayerEntity. removeStatusEffectInternal(@Nullable StatusEffect type)Removes a status effect from this entity without calling any listener. -
Uses of StatusEffectInstance in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type StatusEffectInstance Modifier and Type Field Description private Map<StatusEffect,StatusEffectInstance>LivingEntity. activeStatusEffectsprivate List<StatusEffectInstance>AreaEffectCloudEntity. effectsMethods in net.minecraft.entity that return StatusEffectInstance Modifier and Type Method Description @Nullable StatusEffectInstanceLivingEntity. getStatusEffect(StatusEffect effect)@Nullable StatusEffectInstanceLivingEntity. 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 StatusEffectInstance Modifier and Type Method Description Map<StatusEffect,StatusEffectInstance>LivingEntity. getActiveStatusEffects()Collection<StatusEffectInstance>LivingEntity. getStatusEffects()Methods in net.minecraft.entity with parameters of type StatusEffectInstance Modifier and Type Method Description voidAreaEffectCloudEntity. addEffect(StatusEffectInstance effect)booleanLivingEntity. addStatusEffect(StatusEffectInstance effect)voidLivingEntity. applyStatusEffect(StatusEffectInstance effect)booleanLivingEntity. canHaveStatusEffect(StatusEffectInstance effect)protected voidLivingEntity. onStatusEffectApplied(StatusEffectInstance effect)protected voidLivingEntity. onStatusEffectRemoved(StatusEffectInstance effect)protected voidLivingEntity. onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)Method parameters in net.minecraft.entity with type arguments of type StatusEffectInstance Modifier and Type Method Description static booleanLivingEntity. containsOnlyAmbientEffects(Collection<StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type StatusEffectInstance Modifier and Type Method Description booleanWitherEntity. addStatusEffect(StatusEffectInstance effect)booleanWitherEntity. canHaveStatusEffect(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon with parameters of type StatusEffectInstance Modifier and Type Method Description booleanEnderDragonEntity. addStatusEffect(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as StatusEffectInstance Modifier and Type Field Description private @Nullable StatusEffectInstanceStatusEffectInstance. hiddenEffectThe effect hidden when upgrading effects.Methods in net.minecraft.entity.effect that return StatusEffectInstance Modifier and Type Method Description private static StatusEffectInstanceStatusEffectInstance. fromNbt(StatusEffect type, NbtCompound nbt)static @Nullable StatusEffectInstanceStatusEffectInstance. fromNbt(NbtCompound nbt)Methods in net.minecraft.entity.effect with parameters of type StatusEffectInstance Modifier and Type Method Description intStatusEffectInstance. compareTo(StatusEffectInstance statusEffectInstance)(package private) voidStatusEffectInstance. copyFrom(StatusEffectInstance that)static StringStatusEffectUtil. durationToString(StatusEffectInstance effect, float multiplier)booleanStatusEffectInstance. upgrade(StatusEffectInstance that)Constructors in net.minecraft.entity.effect with parameters of type StatusEffectInstance Constructor Description StatusEffectInstance(StatusEffectInstance that)StatusEffectInstance(StatusEffect type, 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 StatusEffectInstance Modifier and Type Method Description booleanSpiderEntity. canHaveStatusEffect(StatusEffectInstance effect)booleanWitherSkeletonEntity. canHaveStatusEffect(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile with type parameters of type StatusEffectInstance Modifier and Type Field Description private Set<StatusEffectInstance>ArrowEntity. effectsMethods in net.minecraft.entity.projectile with parameters of type StatusEffectInstance Modifier and Type Method Description voidArrowEntity. addEffect(StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.entity.projectile.thrown
Method parameters in net.minecraft.entity.projectile.thrown with type arguments of type StatusEffectInstance Modifier and Type Method Description private voidPotionEntity. applySplashPotion(List<StatusEffectInstance> statusEffects, @Nullable Entity entity) -
Uses of StatusEffectInstance in net.minecraft.item
Fields in net.minecraft.item with type parameters of type StatusEffectInstance Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<StatusEffectInstance,Float>>FoodComponent.Builder. statusEffectsprivate List<com.mojang.datafixers.util.Pair<StatusEffectInstance,Float>>FoodComponent. statusEffectsMethods in net.minecraft.item that return types with arguments of type StatusEffectInstance Modifier and Type Method Description List<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 StatusEffectInstance Modifier and Type Method Description FoodComponent.BuilderFoodComponent.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 StatusEffectInstance Constructor Description 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 StatusEffectInstance Constructor Description EntityStatusEffectS2CPacket(int entityId, StatusEffectInstance effect) -
Uses of StatusEffectInstance in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type StatusEffectInstance Modifier and Type Field Description private ImmutableList<StatusEffectInstance>Potion. effectsMethods in net.minecraft.potion that return types with arguments of type StatusEffectInstance Modifier and Type Method Description static List<StatusEffectInstance>PotionUtil. getCustomPotionEffects(@Nullable NbtCompound nbt)static List<StatusEffectInstance>PotionUtil. getCustomPotionEffects(ItemStack stack)List<StatusEffectInstance>Potion. getEffects()static List<StatusEffectInstance>PotionUtil. getPotionEffects(@Nullable NbtCompound nbt)static List<StatusEffectInstance>PotionUtil. getPotionEffects(ItemStack stack)static List<StatusEffectInstance>PotionUtil. getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)Method parameters in net.minecraft.potion with type arguments of type StatusEffectInstance Modifier and Type Method Description static intPotionUtil. getColor(Collection<StatusEffectInstance> effects)static voidPotionUtil. getCustomPotionEffects(@Nullable NbtCompound nbt, List<StatusEffectInstance> list)static List<StatusEffectInstance>PotionUtil. getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)static ItemStackPotionUtil. setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects)Constructors in net.minecraft.potion with parameters of type StatusEffectInstance Constructor Description Potion(@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 StatusEffectInstance Modifier and Type Method Description booleanEntityEffectPredicate.EffectData. test(@Nullable StatusEffectInstance statusEffectInstance)Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectInstance Modifier and Type Method Description booleanEntityEffectPredicate. test(Map<StatusEffect,StatusEffectInstance> effects) -
Uses of StatusEffectInstance in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type StatusEffectInstance Modifier and Type Method Description protected voidServerPlayerEntity. onStatusEffectApplied(StatusEffectInstance effect)protected voidServerPlayerEntity. onStatusEffectRemoved(StatusEffectInstance effect)protected voidServerPlayerEntity. onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)