I am trying to implement Full-Data Sync as described in http://www.minecraftforge.net/wiki/Tile_Entity_Synchronization
I replaced
public Packet getDescriptionPacket()
with
public SPacketUpdateTileEntity getUpdatePacket()
I also tried
public NBTTagCompound getUpdateTag()
However neither is ever called. I also do have onDataPacket overridden, but it is also never called
I replaced
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
markDirty();
with
worldObj.scheduleBlockUpdate(pos,this.getBlockType(),0,0);
this.markDirty();
Which is only getting called server side (world.isRemote == true). I suspect that scheduleBlockUpdate is not the direct replacement for markBlockForUpdate
I also tried to use
worldObj.addBlockEvent(pos, this.getBlockType(),1,myVar);
server side, however
public boolean receiveClientEvent(int id, int type)
never gets called.