{"id":19605738,"url":"https://github.com/grakepch/accurateclockcrafter","last_synced_at":"2025-10-08T07:06:43.562Z","repository":{"id":224291435,"uuid":"762925178","full_name":"GrakePch/AccurateClockCrafter","owner":"GrakePch","description":"An automation to make Minecraft resourcepacks of minute-level-accurate clock","archived":false,"fork":false,"pushed_at":"2024-03-18T07:14:06.000Z","size":19003,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T16:39:23.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/GrakePch.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}},"created_at":"2024-02-25T04:27:34.000Z","updated_at":"2024-08-17T00:44:11.000Z","dependencies_parsed_at":"2024-02-25T05:24:55.319Z","dependency_job_id":"37665271-7461-463d-b280-42608acf2de6","html_url":"https://github.com/GrakePch/AccurateClockCrafter","commit_stats":null,"previous_names":["grakepch/accurateclockcrafter"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/GrakePch/AccurateClockCrafter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrakePch%2FAccurateClockCrafter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrakePch%2FAccurateClockCrafter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrakePch%2FAccurateClockCrafter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrakePch%2FAccurateClockCrafter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrakePch","download_url":"https://codeload.github.com/GrakePch/AccurateClockCrafter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrakePch%2FAccurateClockCrafter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903046,"owners_count":26065789,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-11T09:46:06.180Z","updated_at":"2025-10-08T07:06:43.547Z","avatar_url":"https://github.com/GrakePch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accurate Clock Crafter 精准时钟合成器\n\nAn automation to make Minecraft resourcepacks of minute-level-accurate clock.  \n[[简体中文]](https://github.com/GrakePch/AccurateClockCrafter/blob/master/README_CN.md)\n![demo](https://raw.githubusercontent.com/GrakePch/AccurateClockCrafter/master/images/styles_1.1.png)\n\n## Usage \u0026 Requirements\n\nOnly tested on Python 3.11+  \n\nLibrary needed: **Pillow**  \nTo install, run ```pip install pillow``` in the terminal.  \n\nBefore running the script: \n- Put the pack.mcmeta file in **inputs/[your_pack_name]/**.\n- Put the texture file of clock face in **inputs/[your_pack_name]/** and rename it to **bg.png**.\n- Put the texture files of hour in **inputs/[your_pack_name]/h/** and rename them to **0.png** to **23.png** (corresponding to 00:MM to 23:MM).\n- If making a digital clock:\n    - Put the texture files of tens-digit of minute in **inputs/[your_pack_name]/m1/** and rename them to **0.png** to **5.png** (corresponding to HH:0M to HH:5M).\n    - Put the texture files of ones-digit of minute in **inputs/[your_pack_name]/m2/** and rename them to **0.png** to **9.png** (corresponding to HH:M0 to HH:M9).\n- If making an analog clock:\n    - In the pack.mcmeta, add following code structure in the root `{}`:\n    ```json\n    \"acc_config\": {\n        \"mode\": \"a\",\n        \"is_hour_higher\": true\n    }\n    ```\n    - Put the texture files of the minute hand in **inputs/[your_pack_name]/m/** and rename them to the minute they represents respectively. (e.g. a minute hand pointing to HH:05 should be named as 05.png or 5.png)\n\n\nThen, change the directory of the terminal to the root of this project (the same directory of file ACC.py) and run  \n```\npython .\\ACC.py\n```\nWait until the program completes, the generated files can be found in **outputs/**  \n\n### Customizable Configurations in pack.mcmeta\nThe configuration code `\"acc_config\": {...}` will not appear in the generated pack.mcmeta.\n```json\n{\n  \"pack\": {\n    \"pack_format\": \"[pack format]\",\n    \"description\": \"[your description]\"\n  },\n  \"acc_config\": {\n    \"mode\": \"d\",\n    \"is_hour_higher\": false,\n    \"pack_icon_time\": [9, 30]\n  }\n}\n\n```\n- `\"mode\":`\n    - `\"d\"`: Digital (default)\n    - `\"a\"`: Analog\n- `\"is_hour_higher\":`\n    - `false`: hour layer is lower than minute layer (default)\n    - `true`: hour layer is higher than minute layer\n- `\"pack_icon_time\": [HH, MM]`\n    - Use the texture of HHMM as pack.png (default is [9, 30])\n## Templates\n\nThere are several templates of inputs in **inputs_templates/**. Copy one of the folder under **inputs_templates/** to **inputs/** and run the script to get a usable resourcepack as references.\n\n## TODOs\n\n- [x] Support of making analog clock.\n- [x] Support of making OptiFine emissive textures.\n- [ ] Support of making PBR textures.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrakepch%2Faccurateclockcrafter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrakepch%2Faccurateclockcrafter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrakepch%2Faccurateclockcrafter/lists"}