py2hackCraft2 1.0.28__tar.gz → 1.0.29__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.
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/PKG-INFO +1 -1
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft/modules.py +6 -2
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft2.egg-info/PKG-INFO +1 -1
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/setup.py +1 -1
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/README.md +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft/__init__.py +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft/material.py +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft2.egg-info/SOURCES.txt +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/py2hackCraft2.egg-info/top_level.txt +0 -0
- {py2hackcraft2-1.0.28 → py2hackcraft2-1.0.29}/setup.cfg +0 -0
|
@@ -894,8 +894,12 @@ class Entity:
|
|
|
894
894
|
Block: 調べたブロックの情報
|
|
895
895
|
"""
|
|
896
896
|
self.client.sendCall(self.uuid, "findNearbyBlockX", [x, y, z, cord, block, maxDepth])
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
result = json.loads(self.client.result)
|
|
898
|
+
|
|
899
|
+
if not result: # resultが空の辞書であれば
|
|
900
|
+
return None
|
|
901
|
+
|
|
902
|
+
block = Block(**result)
|
|
899
903
|
return block
|
|
900
904
|
|
|
901
905
|
def inspectX(self, x: int, y: int, z: int, cord: Coordinates = Coordinates.local) -> Block :
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|