}
} else if (type.equalsIgnoreCase("charged")){
Creeper creep = (Creeper) entity1;
creep.setPowered(true);
} else if (type.equalsIgnoreCase("saddle")){
Pig pig = (Pig) entity1;
pig.setSaddle(true);
} else if (toSpawn == EntityType.ENDERMAN && ClosestMatches.material(type).size() > 0){
Enderman enderman = (Enderman) entity1;
enderman.setCarriedMaterial(new MaterialData(ClosestMatches.material(type).get(0)));
} else if (toSpawn == EntityType.VILLAGER && ClosestMatches.villagerProfessions(type).size() > 0){
Villager villager = (Villager) entity1;