Class LivingEntityMixin

java.lang.Object
ml.pluto7073.pdapi.mixin.EntityMixin
ml.pluto7073.pdapi.mixin.LivingEntityMixin
Direct Known Subclasses:
PassiveEntityMixin, PlayerEntityMixin

public abstract class LivingEntityMixin extends EntityMixin
  • Field Summary

    Fields inherited from class ml.pluto7073.pdapi.mixin.EntityMixin

    entityData
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
    addEffect(net.minecraft.world.effect.MobEffectInstance effect)
     
    abstract boolean
    addEffect(net.minecraft.world.effect.MobEffectInstance effect, @Nullable net.minecraft.world.entity.Entity source)
     
    abstract boolean
    hasEffect(net.minecraft.core.Holder<net.minecraft.world.effect.MobEffect> effect)
     

    Methods inherited from class ml.pluto7073.pdapi.mixin.EntityMixin

    level

    Methods inherited from class java.lang.Object

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

    • LivingEntityMixin

      public LivingEntityMixin()
  • Method Details

    • hasEffect

      public abstract boolean hasEffect(net.minecraft.core.Holder<net.minecraft.world.effect.MobEffect> effect)
    • addEffect

      public abstract boolean addEffect(net.minecraft.world.effect.MobEffectInstance effect, @Nullable @Nullable net.minecraft.world.entity.Entity source)
    • addEffect

      public abstract boolean addEffect(net.minecraft.world.effect.MobEffectInstance effect)