Skip to content

Commit

Permalink
Add sounds files for majority of versions. (#839)
Browse files Browse the repository at this point in the history
* Add sounds files for majority of versions.

* Add 1.20.4 sounds file

* Correct IDs for versions that offset the network ID from interal registry id by 1.

* Update docs to reflect information these are network IDs and that you have to check if they need an offset when using the generator.

---------

Co-authored-by: Romain Beaumont <[email protected]>
  • Loading branch information
wgaylord and rom1504 committed Mar 17, 2024
1 parent 03107f8 commit d9f4a06
Show file tree
Hide file tree
Showing 22 changed files with 48,336 additions and 24 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Data provided:
| Legacy | mappings between legacy (1.12) and post-flattening (1.13+) blocks and items ids
| Skin data | (bedrock edition) Skin geometry and texture data for steve skin
| Features | This can be used to check is a specific feature is available in the current Minecraft version. This is usually only required for handling version-specific functionality.
| Sounds | For versions that use a sound id over the network (1.9+) this provides mappings between network sound id and sound name.

See more information about this data in the [documentation](http://prismarinejs.github.io/minecraft-data/)

Expand Down
66 changes: 44 additions & 22 deletions data/dataPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
"foods": "pc/1.9",
"particles": "pc/1.9",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.7"
"mapIcons": "pc/1.7",
"sounds": "pc/1.9.4"
},
"16w20a": {
"attributes": "pc/1.9",
Expand Down Expand Up @@ -255,7 +256,8 @@
"foods": "pc/1.10",
"particles": "pc/1.10",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.7"
"mapIcons": "pc/1.7",
"sounds": "pc/1.10.2"
},
"16w35a": {
"attributes": "pc/1.10",
Expand Down Expand Up @@ -320,7 +322,8 @@
"foods": "pc/1.11",
"particles": "pc/1.11",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.11"
"mapIcons": "pc/1.11",
"sounds": "pc/1.11.2"
},
"17w15a": {
"attributes": "pc/1.11",
Expand Down Expand Up @@ -446,7 +449,8 @@
"foods": "pc/1.12",
"particles": "pc/1.12",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.11"
"mapIcons": "pc/1.11",
"sounds": "pc/1.12.2"
},
"17w50a": {
"attributes": "pc/1.12",
Expand Down Expand Up @@ -575,7 +579,8 @@
"particles": "pc/1.13",
"commands": "pc/1.13.2",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.13"
"mapIcons": "pc/1.13",
"sounds": "pc/1.13.2"
},
"1.14": {
"attributes": "pc/1.14",
Expand All @@ -599,7 +604,8 @@
"entityLoot": "pc/1.14.4",
"commands": "pc/1.14",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.13"
"mapIcons": "pc/1.13",
"sounds": "pc/1.14"
},
"1.14.1": {
"attributes": "pc/1.14",
Expand Down Expand Up @@ -671,7 +677,8 @@
"entityLoot": "pc/1.14.4",
"commands": "pc/1.14.4",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.13"
"mapIcons": "pc/1.13",
"sounds": "pc/1.14.4"
},
"1.15": {
"attributes": "pc/1.15",
Expand All @@ -695,7 +702,8 @@
"entityLoot": "pc/1.15.2",
"commands": "pc/1.15",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.13"
"mapIcons": "pc/1.13",
"sounds": "pc/1.15"
},
"1.15.1": {
"attributes": "pc/1.15",
Expand Down Expand Up @@ -743,7 +751,8 @@
"entityLoot": "pc/1.15.2",
"commands": "pc/1.15.2",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.13"
"mapIcons": "pc/1.13",
"sounds": "pc/1.15.2"
},
"20w13b": {
"attributes": "pc/1.16",
Expand Down Expand Up @@ -837,7 +846,8 @@
"commands": "pc/1.16",
"loginPacket": "pc/1.16",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.16"
},
"1.16.1": {
"attributes": "pc/1.16",
Expand Down Expand Up @@ -959,7 +969,8 @@
"entityLoot": "pc/1.16.2",
"loginPacket": "pc/1.16.2",
"tints": "pc/1.16.2",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.16"
},
"21w07a": {
"attributes": "pc/1.16",
Expand Down Expand Up @@ -1007,7 +1018,8 @@
"entityLoot": "pc/1.17",
"loginPacket": "pc/1.17",
"tints": "pc/1.17",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.17"
},
"1.17.1": {
"attributes": "pc/1.17",
Expand All @@ -1031,7 +1043,8 @@
"entityLoot": "pc/1.17",
"loginPacket": "pc/1.17",
"tints": "pc/1.17",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.17"
},
"1.18": {
"attributes": "pc/1.17",
Expand All @@ -1055,7 +1068,8 @@
"entityLoot": "pc/1.18",
"loginPacket": "pc/1.18",
"tints": "pc/1.17",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.18"
},
"1.18.1": {
"attributes": "pc/1.17",
Expand Down Expand Up @@ -1103,7 +1117,8 @@
"entityLoot": "pc/1.18",
"loginPacket": "pc/1.18.2",
"tints": "pc/1.17",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.18"
},
"1.19": {
"attributes": "pc/1.17",
Expand All @@ -1127,7 +1142,8 @@
"entityLoot": "pc/1.19",
"loginPacket": "pc/1.19",
"tints": "pc/1.19",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.19"
},
"1.19.2": {
"attributes": "pc/1.17",
Expand All @@ -1151,7 +1167,8 @@
"entityLoot": "pc/1.19",
"loginPacket": "pc/1.19.2",
"tints": "pc/1.19.2",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.19.2"
},
"1.19.3": {
"attributes": "pc/1.17",
Expand Down Expand Up @@ -1199,7 +1216,8 @@
"entityLoot": "pc/1.19",
"loginPacket": "pc/1.19.2",
"tints": "pc/1.19.4",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.19.2"
},
"1.20": {
"attributes": "pc/1.17",
Expand All @@ -1223,7 +1241,8 @@
"entityLoot": "pc/1.20",
"loginPacket": "pc/1.20",
"tints": "pc/1.20",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.20.1"
},
"1.20.1": {
"attributes": "pc/1.17",
Expand All @@ -1247,7 +1266,8 @@
"entityLoot": "pc/1.20",
"loginPacket": "pc/1.20",
"tints": "pc/1.20",
"mapIcons": "pc/1.16"
"mapIcons": "pc/1.16",
"sounds": "pc/1.20.1"
},
"1.20.2": {
"attributes": "pc/1.17",
Expand All @@ -1272,7 +1292,8 @@
"loginPacket": "pc/1.20.2",
"tints": "pc/1.20.2",
"mapIcons": "pc/1.20.2",
"commands": "pc/1.20.2"
"commands": "pc/1.20.2",
"sounds": "pc/1.20.2"
},
"1.20.3": {
"attributes": "pc/1.17",
Expand Down Expand Up @@ -1322,7 +1343,8 @@
"loginPacket": "pc/1.19.2",
"tints": "pc/1.20.2",
"mapIcons": "pc/1.20.2",
"commands": "pc/1.20.3"
"commands": "pc/1.20.3",
"sounds": "pc/1.20.4"
}
},
"bedrock": {
Expand Down
Loading

0 comments on commit d9f4a06

Please sign in to comment.