{"id":19083107,"url":"https://github.com/yancey2023/chelper-core","last_synced_at":"2025-09-11T13:14:40.989Z","repository":{"id":210278742,"uuid":"726175890","full_name":"Yancey2023/CHelper-Core","owner":"Yancey2023","description":"Minecraft Command Helper for Minecraft Bedrock Edition. ","archived":false,"fork":false,"pushed_at":"2025-09-03T03:28:51.000Z","size":5050,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-03T05:26:52.224Z","etag":null,"topics":["bedrock-edition","minecraft","minecraft-command"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yancey2023.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-01T17:40:08.000Z","updated_at":"2025-09-03T03:28:40.000Z","dependencies_parsed_at":"2024-02-20T23:31:52.660Z","dependency_job_id":"465e92ba-788d-4a40-9bd1-f9853d44245e","html_url":"https://github.com/Yancey2023/CHelper-Core","commit_stats":null,"previous_names":["yancey2023/chelper-core"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yancey2023/CHelper-Core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yancey2023%2FCHelper-Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yancey2023%2FCHelper-Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yancey2023%2FCHelper-Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yancey2023%2FCHelper-Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yancey2023","download_url":"https://codeload.github.com/Yancey2023/CHelper-Core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yancey2023%2FCHelper-Core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274640942,"owners_count":25322846,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bedrock-edition","minecraft","minecraft-command"],"created_at":"2024-11-09T02:46:04.715Z","updated_at":"2025-09-11T13:14:40.977Z","avatar_url":"https://github.com/Yancey2023.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CHelper\n\nI want to make a command helper for Minecraft Bedrock Edition, so here is CHelper, which means Command Helper.\n\n## Clone Project\n\n```bash\ngit clone --recursive https://github.com/Yancey2023/CHelper-Core\n# if you clone it without --recursive, you should run the following:\ncd CHelper-Core\ngit submodule update --init --recursive --progress\n```\n\n## Multi-platform\n\n|                             project                              |                                                       description                                                        |\n| :--------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------: |\n|    [CHelper-Core](https://github.com/Yancey2023/CHelper-Core)    |                                   CHelper-Core is the core of CHelper, written in c++                                    |\n| [CHelper-Android](https://github.com/Yancey2023/CHelper-Android) | CHelper-Android is the Android version of the app, depends on [CHelper-Core](https://github.com/Yancey2023/CHelper-Core) |\n|     [CHelper-Web](https://github.com/Yancey2023/chelper_web)     |     CHelper-Web is the web version of the app, depends on [CHelper-Core](https://github.com/Yancey2023/CHelper-Core)     |\n|                    [CHelper-Qt](./CHelper-Qt)                    |       maintain in [CHelper-Core](https://github.com/Yancey2023/CHelper-Core) for development and debugging purpose       |\n\n## Usage\n\n### Help in editing command\n\nWhen you are editing command, the app will show you command structure, param hint, command structure, and auto suggestions. It also supports syntax highlight.\n\n### Help in converting old version command to new version command\n\nDur to the Minecraft updates, some command has been changed.\n\nIt supports convert block data value to block state, and so on.\n\nold command example:\n\n```mcfunction\nexecute @a ~ ~-1 ~ detect ~ ~-1 ~ stone 2 setblock ~ ~ ~ command_block 2\n```\n\nnew command example:\n\n```mcfunction\nexecute as @a at @s positioned ~ ~-1 ~ if block ~ ~-1 ~ stone[\"stone_type\"=\"granite_smooth\"] run setblock ~ ~ ~ command_block[\"facing_direction\"=2,\"conditional_bit\"=false]\n```\n\n## Try it\n\n\u003e Note: This app is mainly aimed at Chinese users, so the language is Chinese. You can help me support more languages.\n\nCHelper-Web: \u003chttps://yancey2023.github.io/chelper_web\u003e\n\nCHelper-Web lacks some function. To experience more complete functions, please use [CHelper-Android](https://github.com/Yancey2023/CHelper-Android).\n\n## Plan\n\nThe desired function has been completed, and the new function to be developed is yet to be determined.\n\n- [x] **CPack** - a resource pack containing IDs and commands\n- [x] **Lexer** - transforms command strings into a token list\n- [x] **Parser** - builds an Abstract Syntax Tree (AST) and find structural errors\n- [x] **Linter** - finds errors based on the AST\n- [x] **Description** - get the description of the currently written command param based on the AST\n- [x] **Auto Suggestion** - get auto completion suggestions based on the AST\n- [x] **Command Structure** - get command structure string based on the AST\n- [x] **Old 2 New** - convert old command to new command\n- [x] **Syntax Highlight** - get the syntax tokens for syntax highlight\n\n## Document\n\nsee: \u003chttps://yancey2023.github.io/CHelper-Doc/\u003e\n\n## Third-party\n\n### CHelper-Core\n\n|                      project                      |                   description                   |                                   license                                   |\n| :-----------------------------------------------: | :---------------------------------------------: | :-------------------------------------------------------------------------: |\n|       [fmt](https://github.com/fmtlib/fmt)        |               formatting library                |      [MIT license](https://github.com/fmtlib/fmt/blob/master/LICENSE)       |\n|    [spdlog](https://github.com/gabime/spdlog)     |            Fast C++ logging library             |      [MIT license](https://github.com/gabime/spdlog/blob/v1.x/LICENSE)      |\n| [rapidjson](https://github.com/Tencent/rapidjson) |       a JSON parser and generator for C++       | [MIT license](https://github.com/Tencent/rapidjson/blob/master/license.txt) |\n|    [utfcpp](https://github.com/nemtrif/utfcpp)    |        UTF-8 with C++ in a Portable Way         |  [BSL-1.0 license](https://github.com/nemtrif/utfcpp/blob/master/LICENSE)   |\n|   [xxHash](https://github.com/Cyan4973/xxHash)    | Extremely fast non-cryptographic hash algorithm |    [BSD-2-Clause ](https://github.com/Cyan4973/xxHash/blob/dev/LICENSE)     |\n\n### CHelper-Qt\n\n|         project          |          description          |                     license                      |\n| :----------------------: | :---------------------------: | :----------------------------------------------: |\n| [Qt](https://www.qt.io/) | desktop application framework | [LGPL license](https://doc.qt.io/qt-6/lgpl.html) |\n\n### CHelper-Android\n\n|                 project                  |          description           |                           license                            |\n| :--------------------------------------: | :----------------------------: | :----------------------------------------------------------: |\n| [NDK](https://developer.android.com/ndk) | android native development kit | [Apache License](http://www.apache.org/licenses/LICENSE-2.0) |\n\n### CHelper-Web\n\n|               project                |                description                 |                                                                  license                                                                   |\n| :----------------------------------: | :----------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------: |\n| [Emscripten](https://emscripten.org) | complete compiler toolchain to WebAssembly | [the MIT license and the University of Illinois/NCSA Open Source License](https://github.com/emscripten-core/emscripten/blob/main/LICENSE) |\n\n### CHelper-Test\n\n|                      project                       |         description         |                                              license                                              |\n| :------------------------------------------------: | :-------------------------: | :-----------------------------------------------------------------------------------------------: |\n| [GoogleTest](https://github.com/google/googletest) | Google's C++ test framework | [BSD 3-Clause \"New\" or \"Revised\" License](https://github.com/google/googletest/blob/main/LICENSE) |\n\n## Special Thanks\n\n|                       project                       |                        description                         |                                   license                                    |\n| :-------------------------------------------------: | :--------------------------------------------------------: | :--------------------------------------------------------------------------: |\n|  [caidlist](https://github.com/XeroAlpha/caidlist)  | provide IDs and descriptions for Minecraft Bedrock Edition | [GPL-3.0 license](https://github.com/XeroAlpha/caidlist/blob/master/LICENSE) |\n| [chinese minecraft wiki](https://zh.minecraft.wiki) |              provide information in Minecraft              |     [CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0)     |\n\n- JetBrains License for Open Source Development\n\n  ![JetBrains Logo (Main) logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyancey2023%2Fchelper-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyancey2023%2Fchelper-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyancey2023%2Fchelper-core/lists"}