Fix `getModifiedMetadataFor` on 1.19.3 (#2417)* Initial Fix* Initialize list to packet's list size* Naming fixes* Cleanup debug output* Cleanup imports* Re-add try/catch* Comment the meaning of dataValue IDs (commit: 63a1a5e)