creep.setPowered(true);
}
if (type.startsWith("ocelottype:")){
type = type.replaceFirst("ocelottype:", "");
Ocelot oce = (Ocelot) entity;
if (!type.startsWith("wild")){
oce.setTamed(true);
oce.setOwner((AnimalTamer) player);
}
oce.setCatType(ClosestMatches.catType(type).get(0));
}
if (type.startsWith("sheepcolor:")){
type = type.split(":")[1];
Sheep sheep = (Sheep) entity;