int y = movingobjectposition.blockY;
int z = movingobjectposition.blockZ;
Block block = world.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
DetailInput details = TConstruct.chiselDetailing.getDetailing(block, meta);
if (details != null)
{
world.setBlock(x, y, z, Block.getBlockFromItem(details.output.getItem()), details.outputMeta, 3);
if (!(entityplayer.capabilities.isCreativeMode))
{