First of, to return an array of Objects, you should do it like so:
return new Object[] {1,2,3};
With the accolades.
Also, you're using World.getBlockId() wrong. 'World' is a class, but you need an instance of the class. You're probably using this in an extended class of TileEntity, so you could get the world Object like so:
World world = this.worldObj;
The x,y and z coordinates are also stored in the TileEntity class, so what you want would be:
public Object[] callMethod(IComputerAccess computer, int method, Object[] arguments) throws Exception {
switch( method ) {
case 0:
World world = this.worldObj;
return new Object[] {world.getBlockId(this.xCoord, this.yCoord, this.zCoord) };
break;
default:
break;
}
return new Object[] {}; // if the method wasn't 0, return an empty array to avoid null values.
}
In the switch statement, it's best to break after the specific case and have a default statement to catch everything that isn't any of the cases.