metadata = 4;
par1World.setBlockMetadataWithNotify(x, y, z, metadata, 3);
}
}
BlockVec3 baseBlock;
switch (metadata)
{
case 1:
baseBlock = new BlockVec3(x - 1, y, z);
break;
case 2:
baseBlock = new BlockVec3(x + 1, y, z);
break;
case 3:
baseBlock = new BlockVec3(x, y, z - 1);
break;
case 4:
baseBlock = new BlockVec3(x, y, z + 1);
break;
default:
this.dropTorchIfCantStay(par1World, x, y, z);
return;
}