Package com.binaris.wizardry.core
Class AllyDesignation
java.lang.Object
com.binaris.wizardry.core.AllyDesignation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAllied(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Entity possibleAlly) static booleanisMinionAlly(net.minecraft.world.entity.LivingEntity allyOf, net.minecraft.world.entity.Mob possibleAlly) static booleanisOwnerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.OwnableEntity ownable) static booleanisPlayerAlly(net.minecraft.world.entity.player.Player allyOf, UUID possibleAlly) static booleanisPlayerAlly(net.minecraft.world.entity.player.Player allyOf, net.minecraft.world.entity.player.Player possibleAlly) static booleanisValidTarget(@Nullable net.minecraft.world.entity.Entity attacker, @Nullable net.minecraft.world.entity.Entity target) static voidonLivingHurt(EBLivingHurtEvent event)
-
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
-
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)
-