I think I implemented the getDescriptionPacket and onDataPacket but nothing happened the same thing is still happening.
@Override
public Packet getDescriptionPacket(){
NBTTagCompound data = new NBTTagCompound();
writeToNBT(data);
return new SPacketUpdateTileEntity(this.pos, 1, data);
}
@Override
public void onDataPacket(NetworkManager net, SPacketUpdateTileEntity pkt){
readFromNBT(pkt.getNbtCompound());
worldObj.markBlockRangeForRenderUpdate(this.pos, this.pos);
}