Refactor PacketTileEntityData to accept params on update writing