@jsprismarine/bedrock-data 1.20.15-b → 1.20.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.gitmodules +3 -3
  2. package/.prettierrc +10 -10
  3. package/LICENSE +8 -8
  4. package/README.md +2 -2
  5. package/index.d.ts +1 -1
  6. package/index.js +27 -27
  7. package/package.json +10 -10
  8. package/renovate.json +5 -5
  9. package/resources/.gitattributes +30 -30
  10. package/resources/LICENSE +121 -121
  11. package/resources/README.md +40 -63
  12. package/resources/biome_definitions.nbt +0 -0
  13. package/resources/biome_definitions_full.nbt +0 -0
  14. package/resources/biome_id_map.json +1 -0
  15. package/resources/block_id_to_item_id_map.json +241 -26
  16. package/resources/block_state_meta_map.json +2678 -1019
  17. package/resources/canonical_block_states.nbt +0 -0
  18. package/resources/command_arg_types.json +59 -39
  19. package/resources/creativeitems.json +3252 -2125
  20. package/resources/entity_id_map.json +2 -0
  21. package/resources/entity_identifiers.nbt +0 -0
  22. package/resources/item_tags.json +546 -206
  23. package/resources/level_sound_id_map.json +28 -0
  24. package/resources/particle_id_map.json +2 -0
  25. package/resources/r12_to_current_block_map.bin +0 -0
  26. package/resources/r16_to_current_item_map.json +200 -2
  27. package/resources/recipes/potion_container_change.json +16 -0
  28. package/resources/recipes/potion_type.json +2387 -0
  29. package/resources/recipes/shaped_chemistry.json +3539 -0
  30. package/resources/recipes/shaped_crafting.json +22463 -0
  31. package/resources/recipes/shapeless_chemistry.json +1126 -0
  32. package/resources/recipes/shapeless_crafting.json +20220 -0
  33. package/resources/recipes/shapeless_shulker_box.json +5762 -0
  34. package/resources/recipes/smelting.json +2013 -0
  35. package/resources/recipes/smithing.json +164 -0
  36. package/resources/recipes/smithing_trim.json +14 -0
  37. package/resources/recipes/special_hardcoded.json +16 -0
  38. package/resources/required_item_list.json +1678 -486
  39. package/resources/block_id_map.json +0 -555
  40. package/resources/item_id_map.json +0 -809
  41. package/resources/r12_block_states.json +0 -4235
  42. package/resources/recipes.json +0 -49988
package/.gitmodules CHANGED
@@ -1,3 +1,3 @@
1
- [submodule "resources"]
2
- path = resources
3
- url = https://github.com/pmmp/BedrockData
1
+ [submodule "resources"]
2
+ path = resources
3
+ url = https://github.com/pmmp/BedrockData
package/.prettierrc CHANGED
@@ -1,10 +1,10 @@
1
- {
2
- "semi": true,
3
- "trailingComma": "none",
4
- "singleQuote": true,
5
- "printWidth": 120,
6
- "tabWidth": 4,
7
- "bracketSpacing": true,
8
- "arrowParens": "always",
9
- "endOfLine": "lf"
10
- }
1
+ {
2
+ "semi": true,
3
+ "trailingComma": "none",
4
+ "singleQuote": true,
5
+ "printWidth": 120,
6
+ "tabWidth": 4,
7
+ "bracketSpacing": true,
8
+ "arrowParens": "always",
9
+ "endOfLine": "lf"
10
+ }
package/LICENSE CHANGED
@@ -1,8 +1,8 @@
1
- Copyright 2020 Filiph Sandström
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
-
1
+ Copyright 2020 Filiph Sandström
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
+
package/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # bedrock-data
2
- BedrockData from PMMP exported in a nodejs friendly way.
1
+ # bedrock-data
2
+ BedrockData from PMMP exported in a nodejs friendly way.
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- declare module '@jsprismarine/bedrock-data';
1
+ declare module '@jsprismarine/bedrock-data';
package/index.js CHANGED
@@ -1,27 +1,27 @@
1
- 'use strict';
2
- const fs = require('fs');
3
-
4
- const banner_patterns = require('./resources/banner_patterns.json');
5
- const block_id_map = require('./resources/block_id_map.json');
6
- const creativeitems = require('./resources/creativeitems.json');
7
- const entity_id_map = require('./resources/entity_id_map.json');
8
- const item_id_map = require('./resources/item_id_map.json');
9
- const recipes = require('./resources/recipes.json');
10
-
11
- const biome_definitions = fs.readFileSync(__dirname + '/resources/biome_definitions.nbt');
12
- const entity_identifiers = fs.readFileSync(__dirname + '/resources/entity_identifiers.nbt');
13
- const canonical_block_states = fs.readFileSync(__dirname + '/canonical_block_states.nbt');
14
- const r12_to_current_block_map = fs.readFileSync(__dirname + '/resources/r12_to_current_block_map.bin');
15
-
16
- module.exports = {
17
- banner_patterns,
18
- biome_definitions,
19
- block_id_map,
20
- creativeitems,
21
- entity_id_map,
22
- entity_identifiers,
23
- item_id_map,
24
- r12_to_current_block_map,
25
- recipes,
26
- canonical_block_states
27
- };
1
+ 'use strict';
2
+ const fs = require('fs');
3
+
4
+ const banner_patterns = require('./resources/banner_patterns.json');
5
+ const block_id_map = require('./resources/block_id_map.json');
6
+ const creativeitems = require('./resources/creativeitems.json');
7
+ const entity_id_map = require('./resources/entity_id_map.json');
8
+ const item_id_map = require('./resources/item_id_map.json');
9
+ const recipes = require('./resources/recipes.json');
10
+
11
+ const biome_definitions = fs.readFileSync(__dirname + '/resources/biome_definitions.nbt');
12
+ const entity_identifiers = fs.readFileSync(__dirname + '/resources/entity_identifiers.nbt');
13
+ const canonical_block_states = fs.readFileSync(__dirname + '/canonical_block_states.nbt');
14
+ const r12_to_current_block_map = fs.readFileSync(__dirname + '/resources/r12_to_current_block_map.bin');
15
+
16
+ module.exports = {
17
+ banner_patterns,
18
+ biome_definitions,
19
+ block_id_map,
20
+ creativeitems,
21
+ entity_id_map,
22
+ entity_identifiers,
23
+ item_id_map,
24
+ r12_to_current_block_map,
25
+ recipes,
26
+ canonical_block_states
27
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
- {
2
- "name": "@jsprismarine/bedrock-data",
3
- "types": "./index.d.ts",
4
- "version": "1.20.15b",
5
- "main": "index.js",
6
- "repository": "https://github.com/filfat/bedrock-data",
7
- "author": "Filiph Sandström <filiph.sandstrom@filfatstudios.com>",
8
- "license": "MIT",
9
- "private": false
10
- }
1
+ {
2
+ "name": "@jsprismarine/bedrock-data",
3
+ "types": "./index.d.ts",
4
+ "version": "1.20.50",
5
+ "main": "index.js",
6
+ "repository": "https://github.com/filfat/bedrock-data",
7
+ "author": "Filiph Sandström <filiph.sandstrom@filfatstudios.com>",
8
+ "license": "MIT",
9
+ "private": false
10
+ }
package/renovate.json CHANGED
@@ -1,5 +1,5 @@
1
- {
2
- "extends": [
3
- "config:base"
4
- ]
5
- }
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
@@ -1,30 +1,30 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
3
- *.php text eol=lf
4
- *.sh text eol=lf
5
- *.txt text eol=lf
6
- *.properties text eol=lf
7
- *.json text eol=lf
8
- *.bat text eol=crlf
9
- *.cmd text eol=crlf
10
- *.ps1 text eol=crlf
11
-
12
- # Custom for Visual Studio
13
- *.cs diff=csharp
14
- *.sln merge=union
15
- *.csproj merge=union
16
- *.vbproj merge=union
17
- *.fsproj merge=union
18
- *.dbproj merge=union
19
-
20
- # Standard to msysgit
21
- *.doc diff=astextplain
22
- *.DOC diff=astextplain
23
- *.docx diff=astextplain
24
- *.DOCX diff=astextplain
25
- *.dot diff=astextplain
26
- *.DOT diff=astextplain
27
- *.pdf diff=astextplain
28
- *.PDF diff=astextplain
29
- *.rtf diff=astextplain
30
- *.RTF diff=astextplain
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
3
+ *.php text eol=lf
4
+ *.sh text eol=lf
5
+ *.txt text eol=lf
6
+ *.properties text eol=lf
7
+ *.json text eol=lf
8
+ *.bat text eol=crlf
9
+ *.cmd text eol=crlf
10
+ *.ps1 text eol=crlf
11
+
12
+ # Custom for Visual Studio
13
+ *.cs diff=csharp
14
+ *.sln merge=union
15
+ *.csproj merge=union
16
+ *.vbproj merge=union
17
+ *.fsproj merge=union
18
+ *.dbproj merge=union
19
+
20
+ # Standard to msysgit
21
+ *.doc diff=astextplain
22
+ *.DOC diff=astextplain
23
+ *.docx diff=astextplain
24
+ *.DOCX diff=astextplain
25
+ *.dot diff=astextplain
26
+ *.DOT diff=astextplain
27
+ *.pdf diff=astextplain
28
+ *.PDF diff=astextplain
29
+ *.rtf diff=astextplain
30
+ *.RTF diff=astextplain
package/resources/LICENSE CHANGED
@@ -1,121 +1,121 @@
1
- Creative Commons Legal Code
2
-
3
- CC0 1.0 Universal
4
-
5
- CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
- LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
- ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
- INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
- REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
- PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
- THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
- HEREUNDER.
13
-
14
- Statement of Purpose
15
-
16
- The laws of most jurisdictions throughout the world automatically confer
17
- exclusive Copyright and Related Rights (defined below) upon the creator
18
- and subsequent owner(s) (each and all, an "owner") of an original work of
19
- authorship and/or a database (each, a "Work").
20
-
21
- Certain owners wish to permanently relinquish those rights to a Work for
22
- the purpose of contributing to a commons of creative, cultural and
23
- scientific works ("Commons") that the public can reliably and without fear
24
- of later claims of infringement build upon, modify, incorporate in other
25
- works, reuse and redistribute as freely as possible in any form whatsoever
26
- and for any purposes, including without limitation commercial purposes.
27
- These owners may contribute to the Commons to promote the ideal of a free
28
- culture and the further production of creative, cultural and scientific
29
- works, or to gain reputation or greater distribution for their Work in
30
- part through the use and efforts of others.
31
-
32
- For these and/or other purposes and motivations, and without any
33
- expectation of additional consideration or compensation, the person
34
- associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
- is an owner of Copyright and Related Rights in the Work, voluntarily
36
- elects to apply CC0 to the Work and publicly distribute the Work under its
37
- terms, with knowledge of his or her Copyright and Related Rights in the
38
- Work and the meaning and intended legal effect of CC0 on those rights.
39
-
40
- 1. Copyright and Related Rights. A Work made available under CC0 may be
41
- protected by copyright and related or neighboring rights ("Copyright and
42
- Related Rights"). Copyright and Related Rights include, but are not
43
- limited to, the following:
44
-
45
- i. the right to reproduce, adapt, distribute, perform, display,
46
- communicate, and translate a Work;
47
- ii. moral rights retained by the original author(s) and/or performer(s);
48
- iii. publicity and privacy rights pertaining to a person's image or
49
- likeness depicted in a Work;
50
- iv. rights protecting against unfair competition in regards to a Work,
51
- subject to the limitations in paragraph 4(a), below;
52
- v. rights protecting the extraction, dissemination, use and reuse of data
53
- in a Work;
54
- vi. database rights (such as those arising under Directive 96/9/EC of the
55
- European Parliament and of the Council of 11 March 1996 on the legal
56
- protection of databases, and under any national implementation
57
- thereof, including any amended or successor version of such
58
- directive); and
59
- vii. other similar, equivalent or corresponding rights throughout the
60
- world based on applicable law or treaty, and any national
61
- implementations thereof.
62
-
63
- 2. Waiver. To the greatest extent permitted by, but not in contravention
64
- of, applicable law, Affirmer hereby overtly, fully, permanently,
65
- irrevocably and unconditionally waives, abandons, and surrenders all of
66
- Affirmer's Copyright and Related Rights and associated claims and causes
67
- of action, whether now known or unknown (including existing as well as
68
- future claims and causes of action), in the Work (i) in all territories
69
- worldwide, (ii) for the maximum duration provided by applicable law or
70
- treaty (including future time extensions), (iii) in any current or future
71
- medium and for any number of copies, and (iv) for any purpose whatsoever,
72
- including without limitation commercial, advertising or promotional
73
- purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
- member of the public at large and to the detriment of Affirmer's heirs and
75
- successors, fully intending that such Waiver shall not be subject to
76
- revocation, rescission, cancellation, termination, or any other legal or
77
- equitable action to disrupt the quiet enjoyment of the Work by the public
78
- as contemplated by Affirmer's express Statement of Purpose.
79
-
80
- 3. Public License Fallback. Should any part of the Waiver for any reason
81
- be judged legally invalid or ineffective under applicable law, then the
82
- Waiver shall be preserved to the maximum extent permitted taking into
83
- account Affirmer's express Statement of Purpose. In addition, to the
84
- extent the Waiver is so judged Affirmer hereby grants to each affected
85
- person a royalty-free, non transferable, non sublicensable, non exclusive,
86
- irrevocable and unconditional license to exercise Affirmer's Copyright and
87
- Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
- maximum duration provided by applicable law or treaty (including future
89
- time extensions), (iii) in any current or future medium and for any number
90
- of copies, and (iv) for any purpose whatsoever, including without
91
- limitation commercial, advertising or promotional purposes (the
92
- "License"). The License shall be deemed effective as of the date CC0 was
93
- applied by Affirmer to the Work. Should any part of the License for any
94
- reason be judged legally invalid or ineffective under applicable law, such
95
- partial invalidity or ineffectiveness shall not invalidate the remainder
96
- of the License, and in such case Affirmer hereby affirms that he or she
97
- will not (i) exercise any of his or her remaining Copyright and Related
98
- Rights in the Work or (ii) assert any associated claims and causes of
99
- action with respect to the Work, in either case contrary to Affirmer's
100
- express Statement of Purpose.
101
-
102
- 4. Limitations and Disclaimers.
103
-
104
- a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
- surrendered, licensed or otherwise affected by this document.
106
- b. Affirmer offers the Work as-is and makes no representations or
107
- warranties of any kind concerning the Work, express, implied,
108
- statutory or otherwise, including without limitation warranties of
109
- title, merchantability, fitness for a particular purpose, non
110
- infringement, or the absence of latent or other defects, accuracy, or
111
- the present or absence of errors, whether or not discoverable, all to
112
- the greatest extent permissible under applicable law.
113
- c. Affirmer disclaims responsibility for clearing rights of other persons
114
- that may apply to the Work or any use thereof, including without
115
- limitation any person's Copyright and Related Rights in the Work.
116
- Further, Affirmer disclaims responsibility for obtaining any necessary
117
- consents, permissions or other rights required for any use of the
118
- Work.
119
- d. Affirmer understands and acknowledges that Creative Commons is not a
120
- party to this document and has no duty or obligation with respect to
121
- this CC0 or use of the Work.
1
+ Creative Commons Legal Code
2
+
3
+ CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12
+ HEREUNDER.
13
+
14
+ Statement of Purpose
15
+
16
+ The laws of most jurisdictions throughout the world automatically confer
17
+ exclusive Copyright and Related Rights (defined below) upon the creator
18
+ and subsequent owner(s) (each and all, an "owner") of an original work of
19
+ authorship and/or a database (each, a "Work").
20
+
21
+ Certain owners wish to permanently relinquish those rights to a Work for
22
+ the purpose of contributing to a commons of creative, cultural and
23
+ scientific works ("Commons") that the public can reliably and without fear
24
+ of later claims of infringement build upon, modify, incorporate in other
25
+ works, reuse and redistribute as freely as possible in any form whatsoever
26
+ and for any purposes, including without limitation commercial purposes.
27
+ These owners may contribute to the Commons to promote the ideal of a free
28
+ culture and the further production of creative, cultural and scientific
29
+ works, or to gain reputation or greater distribution for their Work in
30
+ part through the use and efforts of others.
31
+
32
+ For these and/or other purposes and motivations, and without any
33
+ expectation of additional consideration or compensation, the person
34
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
35
+ is an owner of Copyright and Related Rights in the Work, voluntarily
36
+ elects to apply CC0 to the Work and publicly distribute the Work under its
37
+ terms, with knowledge of his or her Copyright and Related Rights in the
38
+ Work and the meaning and intended legal effect of CC0 on those rights.
39
+
40
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
41
+ protected by copyright and related or neighboring rights ("Copyright and
42
+ Related Rights"). Copyright and Related Rights include, but are not
43
+ limited to, the following:
44
+
45
+ i. the right to reproduce, adapt, distribute, perform, display,
46
+ communicate, and translate a Work;
47
+ ii. moral rights retained by the original author(s) and/or performer(s);
48
+ iii. publicity and privacy rights pertaining to a person's image or
49
+ likeness depicted in a Work;
50
+ iv. rights protecting against unfair competition in regards to a Work,
51
+ subject to the limitations in paragraph 4(a), below;
52
+ v. rights protecting the extraction, dissemination, use and reuse of data
53
+ in a Work;
54
+ vi. database rights (such as those arising under Directive 96/9/EC of the
55
+ European Parliament and of the Council of 11 March 1996 on the legal
56
+ protection of databases, and under any national implementation
57
+ thereof, including any amended or successor version of such
58
+ directive); and
59
+ vii. other similar, equivalent or corresponding rights throughout the
60
+ world based on applicable law or treaty, and any national
61
+ implementations thereof.
62
+
63
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
64
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
65
+ irrevocably and unconditionally waives, abandons, and surrenders all of
66
+ Affirmer's Copyright and Related Rights and associated claims and causes
67
+ of action, whether now known or unknown (including existing as well as
68
+ future claims and causes of action), in the Work (i) in all territories
69
+ worldwide, (ii) for the maximum duration provided by applicable law or
70
+ treaty (including future time extensions), (iii) in any current or future
71
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
72
+ including without limitation commercial, advertising or promotional
73
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
74
+ member of the public at large and to the detriment of Affirmer's heirs and
75
+ successors, fully intending that such Waiver shall not be subject to
76
+ revocation, rescission, cancellation, termination, or any other legal or
77
+ equitable action to disrupt the quiet enjoyment of the Work by the public
78
+ as contemplated by Affirmer's express Statement of Purpose.
79
+
80
+ 3. Public License Fallback. Should any part of the Waiver for any reason
81
+ be judged legally invalid or ineffective under applicable law, then the
82
+ Waiver shall be preserved to the maximum extent permitted taking into
83
+ account Affirmer's express Statement of Purpose. In addition, to the
84
+ extent the Waiver is so judged Affirmer hereby grants to each affected
85
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
86
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
87
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
88
+ maximum duration provided by applicable law or treaty (including future
89
+ time extensions), (iii) in any current or future medium and for any number
90
+ of copies, and (iv) for any purpose whatsoever, including without
91
+ limitation commercial, advertising or promotional purposes (the
92
+ "License"). The License shall be deemed effective as of the date CC0 was
93
+ applied by Affirmer to the Work. Should any part of the License for any
94
+ reason be judged legally invalid or ineffective under applicable law, such
95
+ partial invalidity or ineffectiveness shall not invalidate the remainder
96
+ of the License, and in such case Affirmer hereby affirms that he or she
97
+ will not (i) exercise any of his or her remaining Copyright and Related
98
+ Rights in the Work or (ii) assert any associated claims and causes of
99
+ action with respect to the Work, in either case contrary to Affirmer's
100
+ express Statement of Purpose.
101
+
102
+ 4. Limitations and Disclaimers.
103
+
104
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
105
+ surrendered, licensed or otherwise affected by this document.
106
+ b. Affirmer offers the Work as-is and makes no representations or
107
+ warranties of any kind concerning the Work, express, implied,
108
+ statutory or otherwise, including without limitation warranties of
109
+ title, merchantability, fitness for a particular purpose, non
110
+ infringement, or the absence of latent or other defects, accuracy, or
111
+ the present or absence of errors, whether or not discoverable, all to
112
+ the greatest extent permissible under applicable law.
113
+ c. Affirmer disclaims responsibility for clearing rights of other persons
114
+ that may apply to the Work or any use thereof, including without
115
+ limitation any person's Copyright and Related Rights in the Work.
116
+ Further, Affirmer disclaims responsibility for obtaining any necessary
117
+ consents, permissions or other rights required for any use of the
118
+ Work.
119
+ d. Affirmer understands and acknowledges that Creative Commons is not a
120
+ party to this document and has no duty or obligation with respect to
121
+ this CC0 or use of the Work.
@@ -1,63 +1,40 @@
1
- # BedrockData
2
- Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP
3
-
4
- ## canonical_block_states.nbt
5
- This file contains an ordered list of `TAG_Compound`s (in varint NBT format) representing the pre-agreed blockstates in MCPE.
6
- The runtime ID of a state is the offset in the list that the state appears.
7
- The contents of this file are extracted from the vanilla BDS using [`pmmp/mapping`](https://github.com/pmmp/mapping).
8
-
9
- ## block_id_map.json
10
- This file contains a mapping of all block stringy IDs to legacy numeric IDs (which are still used internally, and still needed by third party developers for conversion and for items).
11
-
12
- #### Note
13
- Where a block's legacy ID is > 255, its item ID is `255 - legacyBlockId`. This means prismarine stairs = -2 and so on.
14
-
15
- ## r12_to_current_block_map.bin
16
- This file contains a list of mappings from legacy pre-1.13 blockstates to states of the current version.
17
- This data is obtained by plugging the legacy states into `BlockPalette` in the vanilla BDS using [`pmmp/mapping`](https://github.com/pmmp/mapping), and writing the resulting NBT state obtained.
18
-
19
- #### Schema
20
- The following structure is repeated until EOF. There is **no** length prefix, so you have to read to EOF to read all the mappings.
21
- | type | description |
22
- |------|-------------|
23
- | unsigned varint32 | r12 block string ID length |
24
- | byte[] | r12 block string ID |
25
- | little-endian int16 | r12 block metadata |
26
- | TAG_Compound (varint format) | current version NBT blockstate corresponding to the given r12 block |
27
-
28
- An example of how to read this file using the PocketMine-MP core library can be seen on the [stable branch](https://github.com/pmmp/PocketMine-MP/blob/41f7c07703bf3f7ef2d9504bbdbdf74257e75d12/src/pocketmine/network/mcpe/convert/RuntimeBlockMapping.php#L71-L86) or on the [master branch](https://github.com/pmmp/PocketMine-MP/blob/73592349cd29d91b03c2703107db859115a92e2d/src/network/mcpe/convert/RuntimeBlockMapping.php#L70-L80).
29
-
30
- ## r16_to_current_item_map.json
31
- This file contains mappings to translate pre-1.16.100 item IDs into post-1.16.100 item IDs.
32
- It contains two structures:
33
- - `simple`: these are 1:1 replacement IDs (e.g. `carrotonastick` was renamed to `carrot_on_a_stick`)
34
- - `complex`: these are items that were previously metadata values on other items (e.g. `dye:4` is now represented by `lapis_lazuli`).
35
-
36
- ## item_id_map.json
37
- This file contains a mapping of all item stringy IDs to legacy numeric IDs.
38
-
39
- ## banner_patterns.json
40
- This file defines all the known banner pattern types and their crafting requirements.
41
-
42
- ## recipes.json
43
- This file defines all crafting-table, furnace and chemistry recipes. This includes recipes for the smoker, cartography table etc.
44
-
45
- ## creativeitems.json
46
- This file contains an ordered list of items which appear in the vanilla creative inventory with Education Edition and Experimental Gameplay enabled.
47
-
48
- ## biome_definitions.nbt
49
- This file contains a network-format NBT blob containing biome definitions obtained from `BiomeDefinitionListPacket`.
50
-
51
- ## biome_id_map.json
52
- This file contains a mapping of Minecraft string biome IDs to their legacy integer ID counterparts. While biome IDs aren't dynamic yet, it's expected they will become dynamic in the future.
53
-
54
- ## entity_identifiers.nbt
55
- This file contains a network-format NBT blob containing entity identifier mappings obtained from `AvailableActorIdentifiersPacket`.
56
-
57
- ## level_sound_id_map.json
58
- This file contains a mapping of string sound names to LevelSoundEvent IDs used by LevelSoundEventPacket.
59
-
60
- Note that this file may be missing some IDs (it is generated from vanilla using [pmmp/mapping](https://github.com/pmmp/mapping), and vanilla itself is missing some mappings).
61
-
62
- ## particle_id_map.json
63
- This file contains a mapping of string particle names to their legacy particle IDs (used for LevelEventPacket). Generated by [pmmp/mapping](https://github.com/pmmp/mapping).
1
+ # BedrockData
2
+ Blobs of data generated from Minecraft: Bedrock Edition used by PocketMine-MP
3
+
4
+ ## canonical_block_states.nbt
5
+ This file contains an ordered list of `TAG_Compound`s (in varint NBT format) representing the pre-agreed blockstates in MCPE.
6
+ The runtime ID of a state is the offset in the list that the state appears.
7
+ The contents of this file are extracted from the vanilla BDS using [`pmmp/mapping`](https://github.com/pmmp/mapping).
8
+
9
+ ## block_state_meta_map.json
10
+ This file contains a mapping of all blockstate IDs (as per `canonical_block_states.nbt`) to their associated internal meta values.
11
+ The position in the list is the blockstate ID, and the value is the blockstate's associated meta value.
12
+ This information is used for interpreting and serializing crafting recipes on the network in PM5.
13
+
14
+ Note: While the values may **appear** to be contiguous, they are not - in some cases there are holes. This means that you can't always get away with just assigning an increasing integer to each blockstate as its meta value.
15
+
16
+ ## banner_patterns.json
17
+ This file defines all the known banner pattern types and their crafting requirements.
18
+
19
+ ## recipes.json
20
+ This file defines all crafting-table, furnace and chemistry recipes. This includes recipes for the smoker, cartography table etc.
21
+
22
+ ## creativeitems.json
23
+ This file contains an ordered list of items which appear in the vanilla creative inventory with Education Edition and Experimental Gameplay enabled.
24
+
25
+ ## biome_definitions.nbt
26
+ This file contains a network-format NBT blob containing biome definitions obtained from `BiomeDefinitionListPacket`.
27
+
28
+ ## biome_id_map.json
29
+ This file contains a mapping of Minecraft string biome IDs to their legacy integer ID counterparts. While biome IDs aren't dynamic yet, it's expected they will become dynamic in the future.
30
+
31
+ ## entity_identifiers.nbt
32
+ This file contains a network-format NBT blob containing entity identifier mappings obtained from `AvailableActorIdentifiersPacket`.
33
+
34
+ ## level_sound_id_map.json
35
+ This file contains a mapping of string sound names to LevelSoundEvent IDs used by LevelSoundEventPacket.
36
+
37
+ Note that this file may be missing some IDs (it is generated from vanilla using [pmmp/mapping](https://github.com/pmmp/mapping), and vanilla itself is missing some mappings).
38
+
39
+ ## particle_id_map.json
40
+ This file contains a mapping of string particle names to their legacy particle IDs (used for LevelEventPacket). Generated by [pmmp/mapping](https://github.com/pmmp/mapping).
Binary file
@@ -7,6 +7,7 @@
7
7
  "birch_forest_hills": 28,
8
8
  "birch_forest_hills_mutated": 156,
9
9
  "birch_forest_mutated": 155,
10
+ "cherry_grove": 192,
10
11
  "cold_beach": 26,
11
12
  "cold_ocean": 44,
12
13
  "cold_taiga": 30,