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 void
AbstractInventoryScreen. drawStatusEffectBackgrounds(MatrixStack matrices, int int2, int int3, Iterable<StatusEffectInstance> iterable)
private void
AbstractInventoryScreen. drawStatusEffectDescriptions(MatrixStack matrices, int int2, int int3, Iterable<StatusEffectInstance> iterable)
private void
AbstractInventoryScreen. 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 StatusEffectInstance
ClientPlayerEntity. 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. activeStatusEffects
private List<StatusEffectInstance>
AreaEffectCloudEntity. effects
Methods in net.minecraft.entity that return StatusEffectInstance Modifier and Type Method Description @Nullable StatusEffectInstance
LivingEntity. getStatusEffect(StatusEffect effect)
@Nullable StatusEffectInstance
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 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 void
AreaEffectCloudEntity. addEffect(StatusEffectInstance effect)
boolean
LivingEntity. addStatusEffect(StatusEffectInstance effect)
void
LivingEntity. applyStatusEffect(StatusEffectInstance effect)
boolean
LivingEntity. canHaveStatusEffect(StatusEffectInstance effect)
protected void
LivingEntity. onStatusEffectApplied(StatusEffectInstance effect)
protected void
LivingEntity. onStatusEffectRemoved(StatusEffectInstance effect)
protected void
LivingEntity. onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)
Method parameters in net.minecraft.entity with type arguments of type StatusEffectInstance Modifier and Type Method Description static boolean
LivingEntity. 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 boolean
WitherEntity. addStatusEffect(StatusEffectInstance effect)
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 StatusEffectInstance Modifier and Type Method Description boolean
EnderDragonEntity. 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 StatusEffectInstance
StatusEffectInstance. hiddenEffect
The effect hidden when upgrading effects.Methods in net.minecraft.entity.effect that return StatusEffectInstance Modifier and Type Method Description private 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 StatusEffectInstance Modifier and Type Method Description int
StatusEffectInstance. compareTo(StatusEffectInstance statusEffectInstance)
(package private) void
StatusEffectInstance. copyFrom(StatusEffectInstance that)
static String
StatusEffectUtil. durationToString(StatusEffectInstance effect, float multiplier)
boolean
StatusEffectInstance. 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 boolean
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 StatusEffectInstance Modifier and Type Field Description private Set<StatusEffectInstance>
ArrowEntity. effects
Methods in net.minecraft.entity.projectile with parameters of type StatusEffectInstance Modifier and Type Method Description void
ArrowEntity. 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 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 StatusEffectInstance Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<StatusEffectInstance,Float>>
FoodComponent.Builder. statusEffects
private List<com.mojang.datafixers.util.Pair<StatusEffectInstance,Float>>
FoodComponent. statusEffects
Methods 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.Builder
FoodComponent.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. effects
Methods 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 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 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 boolean
EntityEffectPredicate.EffectData. test(@Nullable StatusEffectInstance statusEffectInstance)
Method parameters in net.minecraft.predicate.entity with type arguments of type StatusEffectInstance Modifier and Type Method Description boolean
EntityEffectPredicate. 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 void
ServerPlayerEntity. onStatusEffectApplied(StatusEffectInstance effect)
protected void
ServerPlayerEntity. onStatusEffectRemoved(StatusEffectInstance effect)
protected void
ServerPlayerEntity. onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect)