py2hackCraft2 1.0.13__tar.gz → 1.0.14__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.13 → py2hackCraft2-1.0.14}/PKG-INFO +1 -1
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft/modules.py +28 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft2.egg-info/PKG-INFO +1 -1
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/setup.py +1 -1
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/README.md +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft/__init__.py +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft/material.py +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft2.egg-info/SOURCES.txt +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/py2hackCraft2.egg-info/top_level.txt +0 -0
- {py2hackCraft2-1.0.13 → py2hackCraft2-1.0.14}/setup.cfg +0 -0
|
@@ -620,6 +620,13 @@ class Entity:
|
|
|
620
620
|
self.client.sendCall(self.uuid, "digX", [0, 0, 0])
|
|
621
621
|
return str_to_bool(self.client.result)
|
|
622
622
|
|
|
623
|
+
def attack(self) -> bool :
|
|
624
|
+
"""
|
|
625
|
+
自分の前方を攻撃する。
|
|
626
|
+
"""
|
|
627
|
+
self.client.sendCall(self.uuid, "attack")
|
|
628
|
+
return str_to_bool(self.client.result)
|
|
629
|
+
|
|
623
630
|
def dig(self) -> bool :
|
|
624
631
|
"""
|
|
625
632
|
自分の前方のブロックを壊す。
|
|
@@ -648,6 +655,27 @@ class Entity:
|
|
|
648
655
|
self.client.sendCall(self.uuid, "digX", [x, y, z])
|
|
649
656
|
return str_to_bool(self.client.result)
|
|
650
657
|
|
|
658
|
+
def action(self) -> bool :
|
|
659
|
+
"""
|
|
660
|
+
自分の前方の装置を使う。
|
|
661
|
+
"""
|
|
662
|
+
self.client.sendCall(self.uuid, "actionFront")
|
|
663
|
+
return str_to_bool(self.client.result)
|
|
664
|
+
|
|
665
|
+
def actionUp(self) -> bool :
|
|
666
|
+
"""
|
|
667
|
+
自分の真上の装置を使う。
|
|
668
|
+
"""
|
|
669
|
+
self.client.sendCall(self.uuid, "actionUp")
|
|
670
|
+
return str_to_bool(self.client.result)
|
|
671
|
+
|
|
672
|
+
def actionDown(self) -> bool :
|
|
673
|
+
"""
|
|
674
|
+
自分の真下の装置を使う。
|
|
675
|
+
"""
|
|
676
|
+
self.client.sendCall(self.uuid, "actionDown")
|
|
677
|
+
return str_to_bool(self.client.result)
|
|
678
|
+
|
|
651
679
|
def setItem(self, slot: int, block: str) -> bool :
|
|
652
680
|
"""
|
|
653
681
|
自分のインベントリにアイテムを設定する。
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|