Class StatusEffectHelper

java.lang.Object
meteordevelopment.meteorclient.utils.entity.StatusEffectHelper

public class StatusEffectHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Map<net.minecraft.entity.effect.StatusEffect,net.minecraft.entity.effect.StatusEffectInstance>
    getActiveStatusEffects(net.minecraft.entity.LivingEntity entity)
     
    static @Nullable net.minecraft.entity.effect.StatusEffectInstance
    getStatusEffect(net.minecraft.entity.LivingEntity entity, net.minecraft.entity.effect.StatusEffect effect)
     
    static Collection<net.minecraft.entity.effect.StatusEffectInstance>
    getStatusEffects(net.minecraft.entity.LivingEntity entity)
     
    static boolean
    hasStatusEffect(net.minecraft.entity.LivingEntity entity, net.minecraft.entity.effect.StatusEffect effect)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StatusEffectHelper

      public StatusEffectHelper()
  • Method Details

    • getStatusEffect

      @Nullable public static @Nullable net.minecraft.entity.effect.StatusEffectInstance getStatusEffect(net.minecraft.entity.LivingEntity entity, net.minecraft.entity.effect.StatusEffect effect)
    • hasStatusEffect

      public static boolean hasStatusEffect(net.minecraft.entity.LivingEntity entity, net.minecraft.entity.effect.StatusEffect effect)
    • getStatusEffects

      public static Collection<net.minecraft.entity.effect.StatusEffectInstance> getStatusEffects(net.minecraft.entity.LivingEntity entity)
    • getActiveStatusEffects

      public static Map<net.minecraft.entity.effect.StatusEffect,net.minecraft.entity.effect.StatusEffectInstance> getActiveStatusEffects(net.minecraft.entity.LivingEntity entity)