Class EntityHelper

java.lang.Object
team.lodestar.lodestone.helpers.EntityHelper

public class EntityHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    amplifyEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedAmplifier)
     
    static void
    amplifyEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedAmplifier, int cap)
     
    static void
    extendEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedDuration)
     
    static void
    extendEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedDuration, int cap)
     
    static net.minecraft.world.phys.HitResult
    filterHitResult(net.minecraft.world.phys.HitResult hitResult, net.minecraft.world.phys.Vec3 pos, double blockInteractionRange)
     
    static net.minecraft.world.phys.HitResult
    pick(net.minecraft.world.entity.Entity entity, double blockInteractionRange, double entityInteractionRange)
     
    static net.minecraft.world.phys.HitResult
    pick(net.minecraft.world.entity.LivingEntity entity)
     
    static void
    shortenEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int removedDuration)
     
    static void
    syncEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target)
     

    Methods inherited from class java.lang.Object

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

    • EntityHelper

      public EntityHelper()
  • Method Details

    • pick

      public static net.minecraft.world.phys.HitResult pick(net.minecraft.world.entity.LivingEntity entity)
    • pick

      public static net.minecraft.world.phys.HitResult pick(net.minecraft.world.entity.Entity entity, double blockInteractionRange, double entityInteractionRange)
    • filterHitResult

      public static net.minecraft.world.phys.HitResult filterHitResult(net.minecraft.world.phys.HitResult hitResult, net.minecraft.world.phys.Vec3 pos, double blockInteractionRange)
    • amplifyEffect

      public static void amplifyEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedAmplifier, int cap)
    • amplifyEffect

      public static void amplifyEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedAmplifier)
    • extendEffect

      public static void extendEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedDuration, int cap)
    • extendEffect

      public static void extendEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int addedDuration)
    • shortenEffect

      public static void shortenEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target, int removedDuration)
    • syncEffect

      public static void syncEffect(net.minecraft.world.effect.MobEffectInstance instance, net.minecraft.world.entity.LivingEntity target)