// Use cauldron to remove color from dyable items
if (rightClick && (block == Blocks.cauldron)) {
int metadata = world.getBlockMetadata(x, y, z);
if (metadata > 0) {
IDyeableItem dyeable = (((holding != null) && (holding.getItem() instanceof IDyeableItem))
? (IDyeableItem)holding.getItem() : null);
if ((dyeable != null) && (dyeable.canDye(holding))) {
StackUtils.remove(holding, "display", "color");
world.setBlockMetadataWithNotify(x, y, z, metadata - 1, 2);
world.func_147453_f(x, y, z, block);
event.useBlock = Result.DENY;