{"id":18574132,"url":"https://github.com/viaversion/vianbt","last_synced_at":"2026-03-09T03:35:25.094Z","repository":{"id":45292588,"uuid":"347642605","full_name":"ViaVersion/ViaNBT","owner":"ViaVersion","description":"A library for dealing with Minecraft NBT.","archived":false,"fork":false,"pushed_at":"2025-07-13T09:29:58.000Z","size":387,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-13T11:33:58.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"GeyserMC/OpenNBT","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ViaVersion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-14T13:20:47.000Z","updated_at":"2025-07-13T09:30:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"58d5d99e-8b86-4acc-9a31-bafb050ba048","html_url":"https://github.com/ViaVersion/ViaNBT","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ViaVersion/ViaNBT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViaVersion%2FViaNBT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViaVersion%2FViaNBT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViaVersion%2FViaNBT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViaVersion%2FViaNBT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ViaVersion","download_url":"https://codeload.github.com/ViaVersion/ViaNBT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViaVersion%2FViaNBT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30281586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:14:01.406Z","updated_at":"2026-03-09T03:35:25.073Z","avatar_url":"https://github.com/ViaVersion.png","language":"Java","readme":"# ViaNBT\n\nViaNBT is a library for dealing with [NBT](https://minecraft.wiki/w/NBT_format) and SNBT.\n\nThis project is derived from an earlier version of [OpenNBT](https://github.com/GeyserMC/OpenNBT/) and contains various fundamental improvements and changes to it, including:\n\n* Most notably, move the tag name out the of tags themselves\n* `SNBT` for string serialization[^1]\n* Add primitive getter methods to number types\n* Don't wrap values given in Tag#setValue / Tag constructors\n* NumberTag and NumberArrayTag interfaces for easier number handling\n* Don't use reflection when creating tag instances\n* Directly use value in copy(), also replacing clone()\n* Implement tag specific equals() methods\n* Update to Java 8\n* A bunch of other small improvements and fixes\n\n[^1]: Includes code from [adventure](https://github.com/KyoriPowered/adventure) used for SNBT serialization. It works well enough,\nbut if you need more accurate SNBT parsing across different Minecraft versions,\nyou can use [mcstructs](https://github.com/Lenni0451/MCStructs),\nor [Via's version of it using ViaNBT](https://github.com/ViaVersion/mcstructs-viafier).\n\n## Dependency\n\n**Maven:**\n\n```xml\n\u003crepository\u003e\n    \u003cid\u003eviaversion-repo\u003c/id\u003e\n    \u003curl\u003ehttps://repo.viaversion.com\u003c/url\u003e\n\u003c/repository\u003e\n```\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.viaversion\u003c/groupId\u003e\n    \u003cartifactId\u003enbt\u003c/artifactId\u003e\n    \u003cversion\u003e5.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**Gradle:**\n\n```kotlin\nrepositories {\n    maven(\"https://repo.viaversion.com\")\n}\n\ndependencies {\n    implementation(\"com.viaversion:nbt:5.0.0\")\n}\n```\n\n## Building\n\nRun `mvn install` in the source's directory via Maven.\n\n## License\n\nViaNBT is licensed under the **[MIT license](http://www.opensource.org/licenses/mit-license.html)**.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviaversion%2Fvianbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviaversion%2Fvianbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviaversion%2Fvianbt/lists"}