{"id":18675908,"url":"https://github.com/foopis23/ts-datapacks","last_synced_at":"2025-11-07T05:30:49.824Z","repository":{"id":255664742,"uuid":"853011860","full_name":"foopis23/ts-datapacks","owner":"foopis23","description":"A TypeScript library for creating Minecraft datapacks","archived":false,"fork":false,"pushed_at":"2024-09-09T18:34:30.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T20:38:14.261Z","etag":null,"topics":["datapack","framework","minecraft"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foopis23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-09-05T20:27:52.000Z","updated_at":"2024-09-09T18:34:33.000Z","dependencies_parsed_at":"2024-11-07T09:31:59.937Z","dependency_job_id":"48f18881-b6a0-48cf-a704-19eee9531a68","html_url":"https://github.com/foopis23/ts-datapacks","commit_stats":null,"previous_names":["foopis23/ts-datapacks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foopis23%2Fts-datapacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foopis23%2Fts-datapacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foopis23%2Fts-datapacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foopis23%2Fts-datapacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foopis23","download_url":"https://codeload.github.com/foopis23/ts-datapacks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239520393,"owners_count":19652679,"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":["datapack","framework","minecraft"],"created_at":"2024-11-07T09:26:53.095Z","updated_at":"2025-11-07T05:30:49.792Z","avatar_url":"https://github.com/foopis23.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-datapacks\n\nts-datapacks is a TypeScript library for creating Minecraft datapack. It started out as just some cobbled together scripts for a data pack I was making, but I decided I wanted to make it into a library to use on future projects.\n\n## Benefits\n\n- Type safe interface for creating Minecraft data packs\n- No need to learn a new language or syntax\n\n## Supports\n- Pack Version 48+ (1.21+)\n\n## Features\n\n- [x] mcfunction generation (for doing macro like operations in mcfunction files)\n- [x] Static directory for non-generated files and/or unsupported features\n- [x] Project initialization\n- [ ] Syntax highlighting for embedded mcfunction strings\n- [x] Type safe recipe definitions\n- [ ] Type safe dimension definitions\n- [ ] Type safe loot table definitions\n- [ ] Type safe advancement definitions\n- [ ] Type safe structure definitions\n- [ ] Type safe tag definitions\n- [ ] Older pack version support\n\n## Getting Started\n\n### Requirements\n\n- bun (https://bun.sh/docs/installation)\n\n### Create New Project\n\n```bash\nbun add -g https://github.com/foopis23/ts-datapacks\nbux tsmc init \u003cproject-name\u003e # this will create a new directory named ./\u003cproject-name\u003e and create the initial project in there\n```\n\n### Compile Data Pack\n\n```bash\nbun run build\n```\n\n## Example Projects\n\n- [Example](./example/)\n- [Cool Points](https://github.com/foopis23/cool-points)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoopis23%2Fts-datapacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoopis23%2Fts-datapacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoopis23%2Fts-datapacks/lists"}