public boolean isMobAllowed(final EntityType type) {
        return type == EntityType.SPIDER || type == EntityType.CAVE_SPIDER || type == EntityType.SKELETON || type == EntityType.CREEPER || type == EntityType.PIG_ZOMBIE || type == EntityType.ZOMBIE;
    }