Wolf wolf = (Wolf) entity1;
wolf.setAngry(true);
}
if (toSpawn == EntityType.PIG_ZOMBIE){
PigZombie pigzombie = (PigZombie) entity1;
pigzombie.setAngry(true);
}
} else if (type.equalsIgnoreCase("charged")){
Creeper creep = (Creeper) entity1;
creep.setPowered(true);
} else if (toSpawn == EntityType.ENDERMAN && ClosestMatches.material(type).size() > 0){