py2hackCraft2 1.0.18__tar.gz → 1.0.19__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.18 → py2hackcraft2-1.0.19}/PKG-INFO +1 -1
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/README.md +4 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft/modules.py +28 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft2.egg-info/PKG-INFO +1 -1
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/setup.py +1 -1
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft/__init__.py +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft/material.py +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft2.egg-info/SOURCES.txt +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/py2hackCraft2.egg-info/top_level.txt +0 -0
- {py2hackcraft2-1.0.18 → py2hackcraft2-1.0.19}/setup.cfg +0 -0
|
@@ -937,6 +937,34 @@ class Entity:
|
|
|
937
937
|
self.client.sendCall(self.uuid, "isBlockedDown")
|
|
938
938
|
return str_to_bool(self.client.result)
|
|
939
939
|
|
|
940
|
+
|
|
941
|
+
def canDig(self) -> bool :
|
|
942
|
+
"""
|
|
943
|
+
自分の前方のブロックが壊せるかどうか調べる。
|
|
944
|
+
Returns:
|
|
945
|
+
bool: 調べた結果。
|
|
946
|
+
"""
|
|
947
|
+
self.client.sendCall(self.uuid, "isCanDigFront")
|
|
948
|
+
return str_to_bool(self.client.result)
|
|
949
|
+
|
|
950
|
+
def canDigUp(self) -> bool :
|
|
951
|
+
"""
|
|
952
|
+
自分の上のブロックが壊せるかどうか調べる。
|
|
953
|
+
Returns:
|
|
954
|
+
bool: 調べた結果。
|
|
955
|
+
"""
|
|
956
|
+
self.client.sendCall(self.uuid, "isCanDigUp")
|
|
957
|
+
return str_to_bool(self.client.result)
|
|
958
|
+
|
|
959
|
+
def canDigDown(self) -> bool :
|
|
960
|
+
"""
|
|
961
|
+
自分の下のブロックが壊せるかどうか調べる。
|
|
962
|
+
Returns:
|
|
963
|
+
bool: 調べた結果。
|
|
964
|
+
"""
|
|
965
|
+
self.client.sendCall(self.uuid, "isCanDigDown")
|
|
966
|
+
return str_to_bool(self.client.result)
|
|
967
|
+
|
|
940
968
|
def lookAtTarget(self, uuid) -> bool:
|
|
941
969
|
"""
|
|
942
970
|
指定されたエンティティを見る。
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|