@jsprismarine/bedrock-data 1.16.210-c → 1.17.34

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.
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ declare module '@jsprismarine/bedrock-data';
package/index.js CHANGED
@@ -12,7 +12,6 @@ const biome_definitions = fs.readFileSync(__dirname + '/resources/biome_definiti
12
12
  const entity_identifiers = fs.readFileSync(__dirname + '/resources/entity_identifiers.nbt');
13
13
  const canonical_block_states = fs.readFileSync(__dirname + '/resources/canonical_block_states.nbt');
14
14
  const r12_to_current_block_map = fs.readFileSync(__dirname + '/resources/r12_to_current_block_map.bin');
15
- const block_states = fs.readFileSync(__dirname + '/block_states.dat');
16
15
 
17
16
  module.exports = {
18
17
  banner_patterns,
@@ -24,6 +23,5 @@ module.exports = {
24
23
  item_id_map,
25
24
  r12_to_current_block_map,
26
25
  recipes,
27
- canonical_block_states,
28
- block_states
26
+ canonical_block_states
29
27
  };
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@jsprismarine/bedrock-data",
3
- "version": "1.16.210c",
3
+ "types": "./index.d.ts",
4
+ "version": "1.17.34",
4
5
  "main": "index.js",
5
6
  "repository": "https://github.com/filfat/bedrock-data",
6
7
  "author": "Filiph Sandström <filiph.sandstrom@filfatstudios.com>",
package/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
@@ -48,5 +48,8 @@ This file contains an ordered list of items which appear in the vanilla creative
48
48
  ## biome_definitions.nbt
49
49
  This file contains a network-format NBT blob containing biome definitions obtained from `BiomeDefinitionListPacket`.
50
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
+
51
54
  ## entity_identifiers.nbt
52
55
  This file contains a network-format NBT blob containing entity identifier mappings obtained from `AvailableActorIdentifiersPacket`.
Binary file
@@ -0,0 +1,85 @@
1
+ {
2
+ "bamboo_jungle": 48,
3
+ "bamboo_jungle_hills": 49,
4
+ "basalt_deltas": 181,
5
+ "beach": 16,
6
+ "birch_forest": 27,
7
+ "birch_forest_hills": 28,
8
+ "birch_forest_hills_mutated": 156,
9
+ "birch_forest_mutated": 155,
10
+ "cold_beach": 26,
11
+ "cold_ocean": 44,
12
+ "cold_taiga": 30,
13
+ "cold_taiga_hills": 31,
14
+ "cold_taiga_mutated": 158,
15
+ "crimson_forest": 179,
16
+ "deep_cold_ocean": 45,
17
+ "deep_frozen_ocean": 47,
18
+ "deep_lukewarm_ocean": 43,
19
+ "deep_ocean": 24,
20
+ "deep_warm_ocean": 41,
21
+ "desert": 2,
22
+ "desert_hills": 17,
23
+ "desert_mutated": 130,
24
+ "dripstone_caves": 188,
25
+ "extreme_hills": 3,
26
+ "extreme_hills_edge": 20,
27
+ "extreme_hills_mutated": 131,
28
+ "extreme_hills_plus_trees": 34,
29
+ "extreme_hills_plus_trees_mutated": 162,
30
+ "flower_forest": 132,
31
+ "forest": 4,
32
+ "forest_hills": 18,
33
+ "frozen_ocean": 46,
34
+ "frozen_river": 11,
35
+ "hell": 8,
36
+ "ice_mountains": 13,
37
+ "ice_plains": 12,
38
+ "ice_plains_spikes": 140,
39
+ "jungle": 21,
40
+ "jungle_edge": 23,
41
+ "jungle_edge_mutated": 151,
42
+ "jungle_hills": 22,
43
+ "jungle_mutated": 149,
44
+ "legacy_frozen_ocean": 10,
45
+ "lofty_peaks": 182,
46
+ "lukewarm_ocean": 42,
47
+ "lush_caves": 187,
48
+ "mega_taiga": 32,
49
+ "mega_taiga_hills": 33,
50
+ "mesa": 37,
51
+ "mesa_bryce": 165,
52
+ "mesa_plateau": 39,
53
+ "mesa_plateau_mutated": 167,
54
+ "mesa_plateau_stone": 38,
55
+ "mesa_plateau_stone_mutated": 166,
56
+ "mountain_grove": 185,
57
+ "mountain_meadow": 186,
58
+ "mushroom_island": 14,
59
+ "mushroom_island_shore": 15,
60
+ "ocean": 0,
61
+ "plains": 1,
62
+ "redwood_taiga_hills_mutated": 161,
63
+ "redwood_taiga_mutated": 160,
64
+ "river": 7,
65
+ "roofed_forest": 29,
66
+ "roofed_forest_mutated": 157,
67
+ "savanna": 35,
68
+ "savanna_mutated": 163,
69
+ "savanna_plateau": 36,
70
+ "savanna_plateau_mutated": 164,
71
+ "snow_capped_peaks": 183,
72
+ "snowy_slopes": 184,
73
+ "soulsand_valley": 178,
74
+ "stone_beach": 25,
75
+ "stony_peaks": 189,
76
+ "sunflower_plains": 129,
77
+ "swampland": 6,
78
+ "swampland_mutated": 134,
79
+ "taiga": 5,
80
+ "taiga_hills": 19,
81
+ "taiga_mutated": 133,
82
+ "the_end": 9,
83
+ "warm_ocean": 40,
84
+ "warped_forest": 180
85
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "pocketmine/bedrock-data",
3
+ "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP",
4
+ "type": "library",
5
+ "license": "LGPL-3.0",
6
+ "require": {}
7
+ }
@@ -109,5 +109,8 @@
109
109
  "minecraft:strider": 125,
110
110
  "minecraft:zoglin": 126,
111
111
  "minecraft:piglin_brute": 127,
112
+ "minecraft:goat": 128,
113
+ "minecraft:glow_squid": 129,
114
+ "minecraft:axolotl": 130,
112
115
  "minecraft:player": 257
113
116
  }
Binary file
@@ -20,6 +20,8 @@
20
20
  "minecraft:bucket": {
21
21
  "1": "minecraft:milk_bucket",
22
22
  "10": "minecraft:lava_bucket",
23
+ "11": "minecraft:powder_snow_bucket",
24
+ "12": "minecraft:axolotl_bucket",
23
25
  "2": "minecraft:cod_bucket",
24
26
  "3": "minecraft:salmon_bucket",
25
27
  "4": "minecraft:tropical_fish_bucket",
@@ -76,7 +78,9 @@
76
78
  "126": "minecraft:zoglin_spawn_egg",
77
79
  "127": "minecraft:piglin_brute_spawn_egg",
78
80
  "128": "minecraft:goat_spawn_egg",
81
+ "129": "minecraft:glow_squid_spawn_egg",
79
82
  "13": "minecraft:sheep_spawn_egg",
83
+ "130": "minecraft:axolotl_spawn_egg",
80
84
  "14": "minecraft:wolf_spawn_egg",
81
85
  "15": "minecraft:villager_spawn_egg",
82
86
  "16": "minecraft:mooshroom_spawn_egg",