Skip to content

Commit dd078f6

Browse files
authored
Merge pull request #12 from box3lab/dev
docs(contributing): 更新贡献指南和修复链接
2 parents f79d456 + 1f63ce2 commit dd078f6

443 files changed

Lines changed: 915 additions & 857 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#### 方式一:可视化编辑(推荐)
3333

34-
- 使用在线配方编辑器:https://crafting.thedungeone7i0n.ca/
34+
- 使用在线配方编辑器:https://crafting.thedestruc7i0n.ca/
3535
- **配置选项**:在编辑器中设置 `Minecraft Version``Java 1.21.11`
3636
- 在编辑器中拖拽设计配方,导出 JSON。
3737
- **重要**:导出的 JSON 使用原版方块 ID,你需要手动替换为神岛方块 ID(带 `box3:` 前缀)。
@@ -50,6 +50,20 @@
5050
box3formula/data/box3/recipe/grass.json
5151
```
5252

53+
#### 同一方块的多个合成配方
54+
55+
- 如果一个方块只有 **一个** 合成配方:
56+
- 文件名为去掉命名空间后的方块名,例如:`grass.json``special_grass_14.json`
57+
- 如果一个方块有 **多个** 合成配方:
58+
- 在方块名后追加下划线和自定义标识,例如:
59+
-`grass`方块为例,`grass_fast.json``grass_slow.json`
60+
-`special_grass_14`方块为例,`special_grass_14_mode1.json``special_grass_14_mode2.json`
61+
- 约定形式为:`<方块名>_<自定义后缀>.json`,例如:`special_grass_14_xxx.json`
62+
- **group 字段要求**
63+
- 所有属于**同一个方块**的产出配方,其 JSON 中的 `group` 字段必须与方块名完全一致(去掉命名空间)。
64+
- 例如:方块 ID 为 `box3:special_grass_14`,则所有该方块的配方文件(如 `special_grass_14.json``special_grass_14_mode1.json`)中:
65+
- `group` 字段都应为:`"special_grass_14"`
66+
5367
### 3. 创建战利品表(方块破坏掉落)
5468

5569
-`box3formula/data/box3/loot_table/blocks/` 目录下新建 JSON 文件。

block_id.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,32 @@
1717
"31": "box3:seven",
1818
"33": "box3:eight",
1919
"35": "box3:nine",
20-
"37": "box3:A",
21-
"39": "box3:B",
22-
"41": "box3:C",
23-
"43": "box3:D",
24-
"45": "box3:E",
25-
"47": "box3:F",
26-
"49": "box3:G",
27-
"51": "box3:H",
28-
"53": "box3:I",
29-
"55": "box3:J",
30-
"57": "box3:K",
31-
"59": "box3:L",
32-
"61": "box3:M",
33-
"63": "box3:N",
34-
"65": "box3:O",
35-
"67": "box3:P",
36-
"69": "box3:Q",
37-
"71": "box3:R",
38-
"73": "box3:S",
39-
"75": "box3:T",
40-
"77": "box3:U",
41-
"79": "box3:V",
42-
"81": "box3:W",
43-
"83": "box3:X",
44-
"85": "box3:Y",
45-
"87": "box3:Z",
20+
"37": "box3:a",
21+
"39": "box3:b",
22+
"41": "box3:c",
23+
"43": "box3:d",
24+
"45": "box3:e",
25+
"47": "box3:f",
26+
"49": "box3:g",
27+
"51": "box3:h",
28+
"53": "box3:i",
29+
"55": "box3:j",
30+
"57": "box3:k",
31+
"59": "box3:l",
32+
"61": "box3:m",
33+
"63": "box3:n",
34+
"65": "box3:o",
35+
"67": "box3:p",
36+
"69": "box3:q",
37+
"71": "box3:r",
38+
"73": "box3:s",
39+
"75": "box3:t",
40+
"77": "box3:u",
41+
"79": "box3:v",
42+
"81": "box3:w",
43+
"83": "box3:x",
44+
"85": "box3:y",
45+
"87": "box3:z",
4646
"89": "box3:cadet_blue",
4747
"91": "box3:sky_blue",
4848
"93": "box3:powder_blue",

box3formula/data/box3/loot_table/blocks/A.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:A"
9+
"name": "box3:a"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/B.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:B"
9+
"name": "box3:b"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/C.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:C"
9+
"name": "box3:c"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/D.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:D"
9+
"name": "box3:d"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/E.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:E"
9+
"name": "box3:e"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/F.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:F"
9+
"name": "box3:f"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/G.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:G"
9+
"name": "box3:g"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

box3formula/data/box3/loot_table/blocks/H.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"entries": [
77
{
88
"type": "minecraft:item",
9-
"name": "box3:H"
9+
"name": "box3:h"
1010
}
1111
],
1212
"conditions": [
@@ -16,4 +16,4 @@
1616
]
1717
}
1818
]
19-
}
19+
}

0 commit comments

Comments
 (0)