mcapibridge 0.2.0__tar.gz → 0.2.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcapibridge
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Python libary for MCAPIBridge
5
5
  Author: TaotianZhufang
6
6
  License: MIT License
@@ -39,6 +39,8 @@ MCAPIBridge is a mod for Minecraft loaded with Fabric.This libary offers some wa
39
39
  ### Install
40
40
  Ensure your mod loaded.
41
41
 
42
+ **Please ensure you are using the latest libary.Now version is 0.2.1.**
43
+
42
44
  Use pip to install this.
43
45
  ```
44
46
  pip install mcapibridge
@@ -7,6 +7,8 @@ MCAPIBridge is a mod for Minecraft loaded with Fabric.This libary offers some wa
7
7
  ### Install
8
8
  Ensure your mod loaded.
9
9
 
10
+ **Please ensure you are using the latest libary.Now version is 0.2.1.**
11
+
10
12
  Use pip to install this.
11
13
  ```
12
14
  pip install mcapibridge
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mcapibridge"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description ="Python libary for MCAPIBridge"
9
9
  requires-python = ">=3.7"
10
10
  license = { file = "LICENSE" }
@@ -452,20 +452,4 @@ class Minecraft:
452
452
  cmd = f"block.setNbt({int(x)},{int(y)},{int(z)},{nbt_string})"
453
453
  if dimension: cmd += f",{dimension}"
454
454
  self._send(cmd)
455
-
456
- def drawHandMap(self, pixels, target=None):
457
- """
458
- 绘制指定玩家手中的地图
459
- """
460
- CHUNK_SIZE = 1024
461
- for i in range(0, len(pixels), CHUNK_SIZE):
462
- chunk = pixels[i : i + CHUNK_SIZE]
463
- data_str = ",".join(map(str, chunk))
464
-
465
- cmd = f"map.drawHand({i},{data_str})"
466
- if target:
467
- cmd += f",{target}"
468
-
469
- self._send(cmd)
470
- time.sleep(0.01)
471
455
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcapibridge
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Python libary for MCAPIBridge
5
5
  Author: TaotianZhufang
6
6
  License: MIT License
@@ -39,6 +39,8 @@ MCAPIBridge is a mod for Minecraft loaded with Fabric.This libary offers some wa
39
39
  ### Install
40
40
  Ensure your mod loaded.
41
41
 
42
+ **Please ensure you are using the latest libary.Now version is 0.2.1.**
43
+
42
44
  Use pip to install this.
43
45
  ```
44
46
  pip install mcapibridge
File without changes
File without changes