* sheep.
*/
@Override
public boolean itemInteractionForEntity(ItemStack itemStack, EntityPlayer player, EntityLivingBase target) {
if (target instanceof EntitySheep) {
final EntitySheep sheep = (EntitySheep) target;
final int damage = itemStack.getItemDamage();
final Color color = Color.values()[damage];
final int i = BlockColored.func_150031_c(color.mcDamage);
LogHelper.info("Dying sheep " + damage + "/" + color + " = " + i);
if (!sheep.getSheared() && sheep.getFleeceColor() != i) {
sheep.setFleeceColor(i);
--itemStack.stackSize;
}
return true;
} else {