Skip to content

Commit ae21be9

Browse files
authored
Fix dataPaths
1 parent 53ba02a commit ae21be9

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

.github/copilot-instructions.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,10 @@ for (const version of pcVersionsOrdered) {
8484
// globSync, fs.readFileSync...fs.writeFileSync ; avoid async
8585
}
8686
```
87+
88+
When updating, apply minimum required changes when possible.
89+
90+
1. Do not rename fields or packets unless their value has changed, even if they may have 'officially' changed. If their values *have* significantly changed (varint -> i32 maybe insignificant from primitive standpoint, string to number is), it maybe a good idea to rename the field or packet.
91+
2. Do not rename existing enums or other data, even if they were renamed in the game. You may add or remove data as is needed as this does not unnecessarily affect existing code relying on old names.
92+
3. Always read the information in doc/protocol.md to understand our YAML format.
93+
4. Try to inline types as much as possible--this includes mappers and switch statements. Don't create extra types unless they are actually re-used in multiple places, or very large to warrant seperation.

data/dataPaths.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,12 +2595,12 @@
25952595
"language": "bedrock/1.21.70"
25962596
},
25972597
"1.21.111": {
2598-
"blocks": "bedrock/1.21.90",
2599-
"blockStates": "bedrock/1.21.80",
2600-
"blockCollisionShapes": "bedrock/1.21.90",
2598+
"blocks": "bedrock/1.21.100",
2599+
"blockStates": "bedrock/1.21.100",
2600+
"blockCollisionShapes": "bedrock/1.21.100",
26012601
"biomes": "bedrock/1.21.60",
26022602
"entities": "bedrock/1.21.80",
2603-
"items": "bedrock/1.21.90",
2603+
"items": "bedrock/1.21.100",
26042604
"recipes": "bedrock/1.19.10",
26052605
"instruments": "bedrock/1.17.0",
26062606
"materials": "pc/1.17",
@@ -2609,20 +2609,20 @@
26092609
"protocol": "bedrock/1.21.111",
26102610
"windows": "bedrock/1.16.201",
26112611
"steve": "bedrock/1.21.70",
2612-
"blocksB2J": "bedrock/1.21.80",
2613-
"blocksJ2B": "bedrock/1.21.80",
2612+
"blocksB2J": "bedrock/1.21.100",
2613+
"blocksJ2B": "bedrock/1.21.100",
26142614
"proto": "bedrock/1.21.111",
26152615
"types": "bedrock/latest",
26162616
"version": "bedrock/1.21.111",
26172617
"language": "bedrock/1.21.70"
26182618
},
26192619
"1.21.120": {
2620-
"blocks": "bedrock/1.21.90",
2621-
"blockStates": "bedrock/1.21.80",
2622-
"blockCollisionShapes": "bedrock/1.21.90",
2620+
"blocks": "bedrock/1.21.100",
2621+
"blockStates": "bedrock/1.21.100",
2622+
"blockCollisionShapes": "bedrock/1.21.100",
26232623
"biomes": "bedrock/1.21.60",
26242624
"entities": "bedrock/1.21.80",
2625-
"items": "bedrock/1.21.90",
2625+
"items": "bedrock/1.21.100",
26262626
"recipes": "bedrock/1.19.10",
26272627
"instruments": "bedrock/1.17.0",
26282628
"materials": "pc/1.17",
@@ -2631,8 +2631,8 @@
26312631
"protocol": "bedrock/1.21.120",
26322632
"windows": "bedrock/1.16.201",
26332633
"steve": "bedrock/1.21.70",
2634-
"blocksB2J": "bedrock/1.21.80",
2635-
"blocksJ2B": "bedrock/1.21.80",
2634+
"blocksB2J": "bedrock/1.21.100",
2635+
"blocksJ2B": "bedrock/1.21.100",
26362636
"proto": "bedrock/latest",
26372637
"types": "bedrock/latest",
26382638
"version": "bedrock/1.21.120",

0 commit comments

Comments
 (0)