Compare commits

...

5 Commits

Author SHA1 Message Date
07efa19854 feat: Localize resource/sounds.json
Some checks failed
🖥️ Compress Json Schemas / 🖥️ Compress Schemas (push) Has been cancelled
PR / 🛠️ Build & 🔍 Lint Check (push) Has been cancelled
PR / 📋 Unit Test macOS-latest (push) Has been cancelled
PR / 📋 Unit Test ubuntu-latest (push) Has been cancelled
PR / 📋 Unit Test windows-latest (push) Has been cancelled
2025-11-16 16:51:47 +08:00
6e8e00d662 chore: Update README.md
Some checks failed
PR / 🛠️ Build & 🔍 Lint Check (push) Has been cancelled
PR / 📋 Unit Test macOS-latest (push) Has been cancelled
PR / 📋 Unit Test ubuntu-latest (push) Has been cancelled
PR / 📋 Unit Test windows-latest (push) Has been cancelled
2025-11-16 03:52:57 +08:00
6e280896c6 perf: Compress resource/blocks.json file
Some checks failed
PR / 🛠️ Build & 🔍 Lint Check (push) Has been cancelled
PR / 📋 Unit Test macOS-latest (push) Has been cancelled
PR / 📋 Unit Test ubuntu-latest (push) Has been cancelled
PR / 📋 Unit Test windows-latest (push) Has been cancelled
🖥️ Compress Json Schemas / 🖥️ Compress Schemas (push) Has been cancelled
2025-11-16 03:34:41 +08:00
26c205d506 feat: Localize resource/blocks.json and add NetEase compatibility
Some checks failed
🖥️ Compress Json Schemas / 🖥️ Compress Schemas (push) Has been cancelled
PR / 🛠️ Build & 🔍 Lint Check (push) Has been cancelled
PR / 📋 Unit Test macOS-latest (push) Has been cancelled
PR / 📋 Unit Test ubuntu-latest (push) Has been cancelled
PR / 📋 Unit Test windows-latest (push) Has been cancelled
2025-11-16 03:32:00 +08:00
4587036757 chore: Update .gitignore 2025-11-16 03:30:03 +08:00
4 changed files with 8 additions and 3 deletions

4
.gitignore vendored
View File

@@ -10,4 +10,6 @@ client/server
lib
lib/
reports
coverage
coverage
.claude/
CLAUDE.md

View File

@@ -1,5 +1,8 @@
# Minecraft-bedrock-json-schemas
这是一个由社区维护的汉化镜像,并非官方版本。原始项目由 [Blockception](https://github.com/Blockception) 创建并维护
This is a community-maintained localization mirror, not an official version. The original project was created and is maintained by [Blockception](https://github.com/Blockception)
[![Compress Json Schemas](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/compress-json-schemas.yml/badge.svg?branch=main&event=push)](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/compress-json-schemas.yml)
[![Format json files](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/format-json-files.yml/badge.svg?branch=main&event=push)](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/format-json-files.yml)
[![Unit Test](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/pull-request.yml/badge.svg)](https://github.com/Blockception/Minecraft-bedrock-json-schemas/actions/workflows/pull-request.yml)

2
resource/blocks.json generated
View File

@@ -1 +1 @@
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.block.json","type":"object","title":"Blocks","description":"The minecraft block definition file.","definitions":{"texture":{"oneOf":[{"type":"string"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"string","pattern":"^[\\w_\\-]+$"},"up":{"type":"string","pattern":"^[\\w_\\-]+$"},"side":{"type":"string","pattern":"^[\\w_\\-]+$"},"south":{"type":"string","pattern":"^[\\w_\\-]+$"},"north":{"type":"string","pattern":"^[\\w_\\-]+$"},"west":{"type":"string","pattern":"^[\\w_\\-]+$"},"east":{"type":"string","pattern":"^[\\w_\\-]+$"}}}]},"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]}},"propertyNames":{"pattern":"^[\\w_\\-:\\.]+$"},"properties":{"format_version":{"oneOf":[{"$ref":"#/definitions/A"},{"title":"Format Version","description":"A version that tells Minecraft what type of data format can be expected when reading this file.","type":"array","default":[1,1,0],"examples":[[1,1,0]],"items":{"type":"integer"},"minItems":3,"maxItems":3,"uniqueItems":false,"defaultSnippets":[{"label":"New Format version","body":[1,1,0]}]}]}},"additionalProperties":{"additionalProperties":false,"title":"Block","description":"Block texture definition.","type":"object","properties":{"brightness_gamma":{"type":"number","title":"Brightness Gamma","description":"Specifies the gamma brightness level to apply to the block texture."},"carried_textures":{"$ref":"#/definitions/texture","title":"Carried Textures","description":"Carried Textures."},"isotropic":{"title":"Isotropic","description":"Marks if this block is isotropic or not, or which side are.","oneOf":[{"type":"boolean"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"boolean"},"up":{"type":"boolean"},"side":{"type":"boolean"},"south":{"type":"boolean"},"north":{"type":"boolean"},"west":{"type":"boolean"},"east":{"type":"boolean"}}}]},"sound":{"type":"string","title":"Sound","description":"The sound definition of this block."},"textures":{"$ref":"#/definitions/texture","title":"Textures","description":"Textures."}}}}
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.block.json","type":"object","title":"方块","description":"我的世界方块定义文件。","definitions":{"texture":{"oneOf":[{"type":"string"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"string","pattern":"^[\\w_\\-]+$"},"up":{"type":"string","pattern":"^[\\w_\\-]+$"},"side":{"type":"string","pattern":"^[\\w_\\-]+$"},"south":{"type":"string","pattern":"^[\\w_\\-]+$"},"north":{"type":"string","pattern":"^[\\w_\\-]+$"},"west":{"type":"string","pattern":"^[\\w_\\-]+$"},"east":{"type":"string","pattern":"^[\\w_\\-]+$"}}}]},"A":{"title":"格式版本","description":"一个版本号,用于告诉我的世界在读取此文件时应该期望什么类型的数据格式。","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","default":"1.21.60","examples":["1.21.50","1.20.80","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]}},"propertyNames":{"pattern":"^[\\w_\\-:\\.]+$"},"properties":{"format_version":{"oneOf":[{"$ref":"#/definitions/A"},{"title":"格式版本","description":"一个版本号,用于告诉我的世界在读取此文件时应该期望什么类型的数据格式。","type":"array","default":[1,1,0],"examples":[[1,1,0]],"items":{"type":"integer"},"minItems":3,"maxItems":3,"uniqueItems":false,"defaultSnippets":[{"label":"New Format version","body":[1,1,0]}]}]}},"additionalProperties":{"additionalProperties":false,"title":"方块","description":"方块纹理定义。","type":"object","properties":{"brightness_gamma":{"type":"number","title":"亮度伽马值","description":"指定要应用于方块纹理的伽马亮度级别。"},"carried_textures":{"$ref":"#/definitions/texture","title":"手持纹理","description":"手持时显示的纹理。"},"isotropic":{"title":"各向同性","description":"标记此方块是否为各向同性,或标记哪些面是各向同性。","oneOf":[{"type":"boolean"},{"additionalProperties":false,"type":"object","properties":{"down":{"type":"boolean"},"up":{"type":"boolean"},"side":{"type":"boolean"},"south":{"type":"boolean"},"north":{"type":"boolean"},"west":{"type":"boolean"},"east":{"type":"boolean"}}}]},"sound":{"type":"string","title":"声音","description":"此方块的声音定义。"},"textures":{"$ref":"#/definitions/texture","title":"纹理","description":"方块的纹理定义。"},"client_entity":{"title":"实体模型配置","description":"用于定义当前方块的实体模型与贴图等信息。","type":"object","additionalProperties":false,"properties":{"identifier":{"type":"string","title":"标识符","description":"实体模型的标识符, 对应 resourcepack/entity/ 中文件相应 identifier."},"hand_model_use_client_entity":{"type":"boolean","title":"特殊模型状态","description":"手持或掉落时是否渲染为实体模型."},"block_icon":{"type":"string","title":"方块图标","description":"实体方块显示的物品 icon 图标."},"destroyed_textures":{"type":"string","title":"破坏贴图","description":"方块被破坏时渲染的粒子效果贴图."}}}}}}

2
resource/sounds.json generated

File diff suppressed because one or more lines are too long