public static boolean canEntityTrespassPvp(Class<? extends Entity> entity) { for (Protection protection : Protections.instance.getProtectionList()) { if (protection.canEntityTrespassPvp(entity)) return true; } return false; }