minecraft-data 2.106.0 → 2.110.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.
package/data.js CHANGED
@@ -1056,6 +1056,29 @@ module.exports =
1056
1056
  get loginPacket () { return require("./minecraft-data/data/pc/1.18/loginPacket.json") },
1057
1057
  get tints () { return require("./minecraft-data/data/pc/1.17/tints.json") },
1058
1058
  get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
1059
+ },
1060
+ '1.18.1': {
1061
+ get blocks () { return require("./minecraft-data/data/pc/1.18/blocks.json") },
1062
+ get blockCollisionShapes () { return require("./minecraft-data/data/pc/1.17/blockCollisionShapes.json") },
1063
+ get biomes () { return require("./minecraft-data/data/pc/1.18/biomes.json") },
1064
+ get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
1065
+ get items () { return require("./minecraft-data/data/pc/1.18/items.json") },
1066
+ get enchantments () { return require("./minecraft-data/data/pc/1.17/enchantments.json") },
1067
+ get recipes () { return require("./minecraft-data/data/pc/1.18/recipes.json") },
1068
+ get instruments () { return require("./minecraft-data/data/pc/1.16.1/instruments.json") },
1069
+ get materials () { return require("./minecraft-data/data/pc/1.18/materials.json") },
1070
+ get language () { return require("./minecraft-data/data/pc/1.18/language.json") },
1071
+ get entities () { return require("./minecraft-data/data/pc/1.18/entities.json") },
1072
+ get protocol () { return require("./minecraft-data/data/pc/1.18/protocol.json") },
1073
+ get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
1074
+ get version () { return require("./minecraft-data/data/pc/1.18.1/version.json") },
1075
+ get foods () { return require("./minecraft-data/data/pc/1.17/foods.json") },
1076
+ get particles () { return require("./minecraft-data/data/pc/1.18/particles.json") },
1077
+ get blockLoot () { return require("./minecraft-data/data/pc/1.18/blockLoot.json") },
1078
+ get entityLoot () { return require("./minecraft-data/data/pc/1.18/entityLoot.json") },
1079
+ get loginPacket () { return require("./minecraft-data/data/pc/1.18/loginPacket.json") },
1080
+ get tints () { return require("./minecraft-data/data/pc/1.17/tints.json") },
1081
+ get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
1059
1082
  }
1060
1083
  },
1061
1084
  'bedrock': {
package/doc/history.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 2.110.0
2
+ * update mcdata
3
+
4
+ ## 2.109.0
5
+ * update mcdata
6
+
7
+ ## 2.108.0
8
+ * update mcdata
9
+
10
+ ## 2.107.0
11
+ * update mcdata
12
+
1
13
  ## 2.106.0
2
14
  * update mcdata
3
15
 
package/index.d.ts CHANGED
@@ -815,15 +815,15 @@ declare namespace MinecraftData {
815
815
  // This will interface will merge with the generated one
816
816
  export interface Version {
817
817
  // Returns true if the current version is greater than or equal to the `other` version's dataVersion
818
- ['>='](other)
818
+ ['>='](other: string): boolean
819
819
  // Returns true if the current version is greater than the `other` version's dataVersion
820
- ['>'](other)
820
+ ['>'](other: string): boolean
821
821
  // Returns true if the current version is less than the `other` version's dataVersion
822
- ['<'](other)
822
+ ['<'](other: string): boolean
823
823
  // Returns true if the current version is less than than or equal to the `other` version's dataVersion
824
- ['<='](other)
824
+ ['<='](other: string): boolean
825
825
  // Returns true if the current version is equal to the `other` version's dataVersion
826
- ['=='](other)
826
+ ['=='](other: string): boolean
827
827
  type: 'pc' | 'bedrock'
828
828
  }
829
829
 
@@ -9,7 +9,7 @@ Language independent module providing minecraft data for minecraft clients, serv
9
9
 
10
10
  Supports
11
11
  * Minecraft PC version 0.30c (classic), 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
12
- 1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18
12
+ 1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18 and 1.18.1)
13
13
  * Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0
14
14
 
15
15
  ## Wrappers
@@ -1055,6 +1055,29 @@
1055
1055
  "loginPacket": "pc/1.18",
1056
1056
  "tints": "pc/1.17",
1057
1057
  "mapIcons": "pc/1.16"
1058
+ },
1059
+ "1.18.1": {
1060
+ "blocks": "pc/1.18",
1061
+ "blockCollisionShapes": "pc/1.17",
1062
+ "biomes": "pc/1.18",
1063
+ "effects": "pc/1.17",
1064
+ "items": "pc/1.18",
1065
+ "enchantments": "pc/1.17",
1066
+ "recipes": "pc/1.18",
1067
+ "instruments": "pc/1.16.1",
1068
+ "materials": "pc/1.18",
1069
+ "language": "pc/1.18",
1070
+ "entities": "pc/1.18",
1071
+ "protocol": "pc/1.18",
1072
+ "windows": "pc/1.16.1",
1073
+ "version": "pc/1.18.1",
1074
+ "foods": "pc/1.17",
1075
+ "particles": "pc/1.18",
1076
+ "blockLoot": "pc/1.18",
1077
+ "entityLoot": "pc/1.18",
1078
+ "loginPacket": "pc/1.18",
1079
+ "tints": "pc/1.17",
1080
+ "mapIcons": "pc/1.16"
1058
1081
  }
1059
1082
  },
1060
1083
  "bedrock": {
@@ -9580,6 +9580,23 @@
9580
9580
  508
9581
9581
  ]
9582
9582
  ],
9583
+ "outShape": [
9584
+ [
9585
+ 537,
9586
+ 537,
9587
+ 537
9588
+ ],
9589
+ [
9590
+ null,
9591
+ null,
9592
+ null
9593
+ ],
9594
+ [
9595
+ null,
9596
+ null,
9597
+ null
9598
+ ]
9599
+ ],
9583
9600
  "result": {
9584
9601
  "count": 1,
9585
9602
  "id": 590
@@ -12741,4 +12758,4 @@
12741
12758
  }
12742
12759
  }
12743
12760
  ]
12744
- }
12761
+ }
@@ -9616,6 +9616,23 @@
9616
9616
  513
9617
9617
  ]
9618
9618
  ],
9619
+ "outShape": [
9620
+ [
9621
+ 542,
9622
+ 542,
9623
+ 542
9624
+ ],
9625
+ [
9626
+ null,
9627
+ null,
9628
+ null
9629
+ ],
9630
+ [
9631
+ null,
9632
+ null,
9633
+ null
9634
+ ]
9635
+ ],
9619
9636
  "result": {
9620
9637
  "count": 1,
9621
9638
  "id": 595
@@ -12777,4 +12794,4 @@
12777
12794
  }
12778
12795
  }
12779
12796
  ]
12780
- }
12797
+ }
@@ -11975,6 +11975,23 @@
11975
11975
  561
11976
11976
  ]
11977
11977
  ],
11978
+ "outShape": [
11979
+ [
11980
+ 595,
11981
+ 595,
11982
+ 595
11983
+ ],
11984
+ [
11985
+ null,
11986
+ null,
11987
+ null
11988
+ ],
11989
+ [
11990
+ null,
11991
+ null,
11992
+ null
11993
+ ]
11994
+ ],
11978
11995
  "result": {
11979
11996
  "count": 1,
11980
11997
  "id": 653
@@ -18480,4 +18497,4 @@
18480
18497
  }
18481
18498
  }
18482
18499
  ]
18483
- }
18500
+ }
@@ -11975,6 +11975,23 @@
11975
11975
  561
11976
11976
  ]
11977
11977
  ],
11978
+ "outShape": [
11979
+ [
11980
+ 595,
11981
+ 595,
11982
+ 595
11983
+ ],
11984
+ [
11985
+ null,
11986
+ null,
11987
+ null
11988
+ ],
11989
+ [
11990
+ null,
11991
+ null,
11992
+ null
11993
+ ]
11994
+ ],
11978
11995
  "result": {
11979
11996
  "count": 1,
11980
11997
  "id": 653
@@ -18480,4 +18497,4 @@
18480
18497
  }
18481
18498
  }
18482
18499
  ]
18483
- }
18500
+ }
@@ -11402,6 +11402,23 @@
11402
11402
  561
11403
11403
  ]
11404
11404
  ],
11405
+ "outShape": [
11406
+ [
11407
+ 595,
11408
+ 595,
11409
+ 595
11410
+ ],
11411
+ [
11412
+ null,
11413
+ null,
11414
+ null
11415
+ ],
11416
+ [
11417
+ null,
11418
+ null,
11419
+ null
11420
+ ]
11421
+ ],
11405
11422
  "result": {
11406
11423
  "count": 1,
11407
11424
  "id": 653
@@ -18098,4 +18115,4 @@
18098
18115
  }
18099
18116
  }
18100
18117
  ]
18101
- }
18118
+ }
@@ -12727,6 +12727,23 @@
12727
12727
  620
12728
12728
  ]
12729
12729
  ],
12730
+ "outShape": [
12731
+ [
12732
+ 660,
12733
+ 660,
12734
+ 660
12735
+ ],
12736
+ [
12737
+ null,
12738
+ null,
12739
+ null
12740
+ ],
12741
+ [
12742
+ null,
12743
+ null,
12744
+ null
12745
+ ]
12746
+ ],
12730
12747
  "result": {
12731
12748
  "count": 1,
12732
12749
  "id": 715
@@ -23496,4 +23513,4 @@
23496
23513
  }
23497
23514
  }
23498
23515
  ]
23499
- }
23516
+ }
@@ -12727,6 +12727,23 @@
12727
12727
  620
12728
12728
  ]
12729
12729
  ],
12730
+ "outShape": [
12731
+ [
12732
+ 660,
12733
+ 660,
12734
+ 660
12735
+ ],
12736
+ [
12737
+ null,
12738
+ null,
12739
+ null
12740
+ ],
12741
+ [
12742
+ null,
12743
+ null,
12744
+ null
12745
+ ]
12746
+ ],
12730
12747
  "result": {
12731
12748
  "count": 1,
12732
12749
  "id": 715
@@ -23514,4 +23531,4 @@
23514
23531
  }
23515
23532
  }
23516
23533
  ]
23517
- }
23534
+ }
@@ -14520,6 +14520,23 @@
14520
14520
  736
14521
14521
  ]
14522
14522
  ],
14523
+ "outShape": [
14524
+ [
14525
+ 776,
14526
+ 776,
14527
+ 776
14528
+ ],
14529
+ [
14530
+ null,
14531
+ null,
14532
+ null
14533
+ ],
14534
+ [
14535
+ null,
14536
+ null,
14537
+ null
14538
+ ]
14539
+ ],
14523
14540
  "result": {
14524
14541
  "count": 1,
14525
14542
  "id": 829
@@ -25124,4 +25141,4 @@
25124
25141
  }
25125
25142
  }
25126
25143
  ]
25127
- }
25144
+ }
@@ -1940,7 +1940,7 @@
1940
1940
  {
1941
1941
  "name": "y",
1942
1942
  "size": 20,
1943
- "signed": false
1943
+ "signed": true
1944
1944
  }
1945
1945
  ]
1946
1946
  ]
@@ -14520,6 +14520,23 @@
14520
14520
  736
14521
14521
  ]
14522
14522
  ],
14523
+ "outShape": [
14524
+ [
14525
+ 776,
14526
+ 776,
14527
+ 776
14528
+ ],
14529
+ [
14530
+ null,
14531
+ null,
14532
+ null
14533
+ ],
14534
+ [
14535
+ null,
14536
+ null,
14537
+ null
14538
+ ]
14539
+ ],
14523
14540
  "result": {
14524
14541
  "count": 1,
14525
14542
  "id": 829
@@ -25124,4 +25141,4 @@
25124
25141
  }
25125
25142
  }
25126
25143
  ]
25127
- }
25144
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "minecraftVersion": "1.18.1",
3
+ "version": 757,
4
+ "majorVersion": "1.18"
5
+ }
@@ -1,4 +1,11 @@
1
1
  [
2
+ {
3
+ "minecraftVersion": "22w03a",
4
+ "version": 1073741889,
5
+ "dataVersion": 2966,
6
+ "usesNetty": true,
7
+ "majorVersion": "1.18"
8
+ },
2
9
  {
3
10
  "minecraftVersion": "1.18.1",
4
11
  "version": 757,
@@ -45,5 +45,6 @@
45
45
  "21w07a",
46
46
  "1.17",
47
47
  "1.17.1",
48
- "1.18"
48
+ "1.18",
49
+ "1.18.1"
49
50
  ]
@@ -1,3 +1,15 @@
1
+ ## 2.110.0
2
+ * pc: add cake outshapes (@nickelpro, @SaubereSache)
3
+
4
+ ## 2.109.0
5
+ * pc: fix version for 1.18.1
6
+
7
+ ## 2.108.0
8
+ * pc: support 1.18.1
9
+
10
+ ## 2.107.0
11
+ * pc: y is signed in 1.18 packet_multi_block_change
12
+
1
13
  ## 2.106.0
2
14
  * pc: add materials 1.18
3
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "2.106.0",
3
+ "version": "2.110.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",
@@ -1,15 +1,15 @@
1
1
  // This will interface will merge with the generated one
2
2
  export interface Version {
3
3
  // Returns true if the current version is greater than or equal to the `other` version's dataVersion
4
- ['>='](other)
4
+ ['>='](other: string): boolean
5
5
  // Returns true if the current version is greater than the `other` version's dataVersion
6
- ['>'](other)
6
+ ['>'](other: string): boolean
7
7
  // Returns true if the current version is less than the `other` version's dataVersion
8
- ['<'](other)
8
+ ['<'](other: string): boolean
9
9
  // Returns true if the current version is less than than or equal to the `other` version's dataVersion
10
- ['<='](other)
10
+ ['<='](other: string): boolean
11
11
  // Returns true if the current version is equal to the `other` version's dataVersion
12
- ['=='](other)
12
+ ['=='](other: string): boolean
13
13
  type: 'pc' | 'bedrock'
14
14
  }
15
15