Class AllyDesignation

java.lang.Object
com.binaris.wizardry.core.AllyDesignation

public final class AllyDesignation extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isAllied(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Entity possibleAlly)
     
    static boolean
    isMinionAlly(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Mob possibleAlly)
     
    static boolean
    isOwnerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.OwnableEntity ownable)
     
    static boolean
    isPlayerAlly(net.minecraft.world.entity.player.Player allyOf, UUID possibleAlly)
     
    static boolean
    isPlayerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.player.Player possibleAlly)
     
    static boolean
    isValidTarget(@Nullable net.minecraft.world.entity.Entity attacker, @Nullable net.minecraft.world.entity.Entity target)
     
    static void
     

    Methods inherited from class java.lang.Object

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

    • isAllied

      public static boolean isAllied(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Entity possibleAlly)
    • isMinionAlly

      public static boolean isMinionAlly(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Mob possibleAlly)
    • isValidTarget

      public static boolean isValidTarget(@Nullable @Nullable net.minecraft.world.entity.Entity attacker, @Nullable @Nullable net.minecraft.world.entity.Entity target)
    • onLivingHurt

      public static void onLivingHurt(EBLivingHurtEvent event)
    • isPlayerAlly

      public static boolean isPlayerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.player.Player possibleAlly)
    • isPlayerAlly

      public static boolean isPlayerAlly(net.minecraft.world.entity.player.Player allyOf, UUID possibleAlly)
    • isOwnerAlly

      public static boolean isOwnerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.OwnableEntity ownable)