{"id":28472204,"url":"https://github.com/noimred/lua-minecraft-nbt","last_synced_at":"2025-10-29T10:16:42.301Z","repository":{"id":296832710,"uuid":"994615312","full_name":"noImRed/lua-minecraft-nbt","owner":"noImRed","description":"A Lua module for decoding and encoding Minecraft NBT and decoding SNBT data","archived":false,"fork":false,"pushed_at":"2025-06-02T09:22:09.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-02T20:20:25.634Z","etag":null,"topics":["data-serialization","decoder","encoder","lua","minecraft","nbt","parser","snbt"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noImRed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-02T08:03:00.000Z","updated_at":"2025-06-02T09:22:13.000Z","dependencies_parsed_at":"2025-06-02T20:38:34.915Z","dependency_job_id":null,"html_url":"https://github.com/noImRed/lua-minecraft-nbt","commit_stats":null,"previous_names":["noimred/lua-minecraft-nbt"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/noImRed/lua-minecraft-nbt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noImRed%2Flua-minecraft-nbt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noImRed%2Flua-minecraft-nbt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noImRed%2Flua-minecraft-nbt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noImRed%2Flua-minecraft-nbt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noImRed","download_url":"https://codeload.github.com/noImRed/lua-minecraft-nbt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noImRed%2Flua-minecraft-nbt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263055928,"owners_count":23406796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["data-serialization","decoder","encoder","lua","minecraft","nbt","parser","snbt"],"created_at":"2025-06-07T11:10:31.561Z","updated_at":"2025-10-29T10:16:37.270Z","avatar_url":"https://github.com/noImRed.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-minecraft-nbt\nA Lua module for decoding and encoding Minecraft NBT and decoding SNBT data\n\n## Overview\n\nThis module provides comprehensive functionality to interact with Minecraft's NBT and SNBT formats within Lua environments. It's designed to be simple to use and highly compatible with standard NBT structures.\n\n## Features\n\n*   **Full NBT Binary Support:** Decode and encode all standard NBT tag types:\n    *   `TAG_Byte` (1)\n    *   `TAG_Short` (2)\n    *   `TAG_Int` (3)\n    *   `TAG_Long` (4)\n    *   `TAG_Float` (5)\n    *   `TAG_Double` (6)\n    *   `TAG_Byte_Array` (7)\n    *   `TAG_String` (8)\n    *   `TAG_List` (9)\n    *   `TAG_Compound` (10)\n    *   `TAG_Int_Array` (11)\n    *   `TAG_Long_Array` (12)\n*   **SNBT Decoding:** Robust parser for converting Stringified NBT (SNBT) into Lua tables, handling various SNBT syntaxes including specialized arrays (e.g., `[B; 1b, 2b]`) and different numeric suffixes.\n*   **Minecraft 1.20.2+ Root NBT Handling:** Supports both decoding and encoding NBT structures with or without a root name, aligning with recent Minecraft protocol changes (e.g., in 1.20.2+ packet structures).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoimred%2Flua-minecraft-nbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoimred%2Flua-minecraft-nbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoimred%2Flua-minecraft-nbt/lists"}