@jsprismarine/bedrock-data 1.20.70 → 1.20.71-alpha.0

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 (46) hide show
  1. package/LICENSE +8 -8
  2. package/README.md +15 -2
  3. package/{resources/biome_definitions.nbt → dist/biome_definitions-4bbc294108860f0d.nbt} +0 -0
  4. package/{resources/entity_identifiers.nbt → dist/entity_identifiers-0f1f67be198c6d13.nbt} +0 -0
  5. package/dist/index.js +7917 -0
  6. package/dist/r12_to_current_block_map-6aedb4171e4f37e6.bin +0 -0
  7. package/package.json +64 -25
  8. package/.gitmodules +0 -3
  9. package/.prettierrc +0 -10
  10. package/index.d.ts +0 -1
  11. package/index.js +0 -27
  12. package/jsp/block_id_map.json +0 -555
  13. package/jsp/item_id_map.json +0 -809
  14. package/renovate.json +0 -8
  15. package/resources/.gitattributes +0 -30
  16. package/resources/.minify_json.php +0 -32
  17. package/resources/LICENSE +0 -121
  18. package/resources/README.md +0 -40
  19. package/resources/banner_patterns.json +0 -320
  20. package/resources/biome_definitions_full.nbt +0 -0
  21. package/resources/biome_id_map.json +0 -88
  22. package/resources/block_id_to_item_id_map.json +0 -977
  23. package/resources/block_state_meta_map.json +0 -14129
  24. package/resources/canonical_block_states.nbt +0 -0
  25. package/resources/command_arg_types.json +0 -306
  26. package/resources/composer.json +0 -7
  27. package/resources/creativeitems.json +0 -6025
  28. package/resources/entity_id_map.json +0 -124
  29. package/resources/item_tags.json +0 -761
  30. package/resources/level_sound_id_map.json +0 -445
  31. package/resources/particle_id_map.json +0 -83
  32. package/resources/r12_to_current_block_map.bin +0 -0
  33. package/resources/r16_to_current_item_map.json +0 -426
  34. package/resources/recipes/potion_container_change.json +0 -16
  35. package/resources/recipes/potion_type.json +0 -2387
  36. package/resources/recipes/shaped_chemistry.json +0 -3539
  37. package/resources/recipes/shaped_crafting.json +0 -22463
  38. package/resources/recipes/shapeless_chemistry.json +0 -1126
  39. package/resources/recipes/shapeless_crafting.json +0 -20220
  40. package/resources/recipes/shapeless_shulker_box.json +0 -5762
  41. package/resources/recipes/smelting.json +0 -2013
  42. package/resources/recipes/smithing.json +0 -164
  43. package/resources/recipes/smithing_trim.json +0 -14
  44. package/resources/recipes/special_hardcoded.json +0 -16
  45. package/resources/required_item_list.json +0 -5846
  46. /package/{jsp/runtime_block_states.dat → dist/runtime_block_states-9230f3440ccad35e.dat} +0 -0
package/package.json CHANGED
@@ -1,25 +1,64 @@
1
- {
2
- "name": "@jsprismarine/bedrock-data",
3
- "types": "./index.d.ts",
4
- "version": "1.20.70",
5
- "main": "index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/JSPrismarine/BedrockData.git"
9
- },
10
- "author": "JSPrismarine",
11
- "contributors": [
12
- {
13
- "name": "Filiph Siitam Sandström",
14
- "email": "filiph@nordcom.io",
15
- "url": "https://nordcom.io/"
16
- },
17
- {
18
- "name": "Enrico Angelon",
19
- "email": "enricoangelon.ea@gmail.com",
20
- "url": "https://enricoangelon.it/"
21
- }
22
- ],
23
- "license": "MIT",
24
- "private": false
25
- }
1
+ {
2
+ "name": "@jsprismarine/bedrock-data",
3
+ "prettier": "@nordcom/prettier",
4
+ "sideEffects": false,
5
+ "type": "module",
6
+ "version": "1.20.71-alpha.0",
7
+ "files": [
8
+ "dist",
9
+ "README.md"
10
+ ],
11
+ "main": "./dist/index.cjs.cjs",
12
+ "module": "./dist/index.es.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": [
17
+ "./src/index.ts",
18
+ "./dist/index.es.js"
19
+ ],
20
+ "module": "./dist/index.es.js",
21
+ "require": "./dist/index.cjs.cjs",
22
+ "types": "./dist/index.d.ts"
23
+ },
24
+ "./*": {
25
+ "import": "./dist/*.es.js",
26
+ "module": "./dist/*.es.js",
27
+ "require": "./dist/*.cjs.cjs",
28
+ "types": "./dist/*.d.ts"
29
+ },
30
+ "./package.json": "./package.json"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/JSPrismarine/BedrockData.git"
38
+ },
39
+ "author": "JSPrismarine",
40
+ "contributors": [
41
+ {
42
+ "name": "Filiph Siitam Sandström",
43
+ "email": "filiph@nordcom.io",
44
+ "url": "https://nordcom.io/"
45
+ },
46
+ {
47
+ "name": "Enrico Angelon",
48
+ "email": "enricoangelon.ea@gmail.com",
49
+ "url": "https://enricoangelon.it/"
50
+ }
51
+ ],
52
+ "license": "MIT",
53
+ "private": false,
54
+ "devDependencies": {
55
+ "@nordcom/prettier": "0.1.1",
56
+ "@types/node": "20.12.5",
57
+ "typescript": "5.4.4"
58
+ },
59
+ "dependencies": {},
60
+ "scripts": {
61
+ "build": "bun build src/index.ts --outdir=dist --target=node",
62
+ "typecheck": "tsc -noEmit"
63
+ }
64
+ }
package/.gitmodules DELETED
@@ -1,3 +0,0 @@
1
- [submodule "resources"]
2
- path = resources
3
- url = https://github.com/pmmp/BedrockData
package/.prettierrc DELETED
@@ -1,10 +0,0 @@
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/index.d.ts DELETED
@@ -1 +0,0 @@
1
- declare module '@jsprismarine/bedrock-data';
package/index.js DELETED
@@ -1,27 +0,0 @@
1
- 'use strict';
2
- const fs = require('fs');
3
-
4
- const banner_patterns = require('./resources/banner_patterns.json');
5
- const block_id_map = require('./jsp/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('./jsp/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 + '/jsp/runtime_block_states.dat');
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
- };