added world.isRemote checks in block methods