EntityFinder

public class EntityFinder

Functions

Link copied to clipboard
public static LivingEntity filterRangedDamagers(Entity entity)
Link copied to clipboard
public static Player findPlayer(EntityDamageByEntityEvent event)
public static Player findPlayer(EntityTargetLivingEntityEvent event)
Link copied to clipboard
public static LivingEntity getRealDamager(EntityDamageByEntityEvent event)
public static LivingEntity getRealDamager(EntityTargetLivingEntityEvent event)