py2hackCraft2 1.0.21__tar.gz → 1.0.22__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.21 → py2hackcraft2-1.0.22}/PKG-INFO +1 -1
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft/modules.py +4 -6
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft2.egg-info/PKG-INFO +1 -1
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/setup.py +1 -1
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/README.md +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft/__init__.py +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft/material.py +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft2.egg-info/SOURCES.txt +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/py2hackCraft2.egg-info/top_level.txt +0 -0
- {py2hackcraft2-1.0.21 → py2hackcraft2-1.0.22}/setup.cfg +0 -0
|
@@ -612,7 +612,7 @@ class Entity:
|
|
|
612
612
|
"""
|
|
613
613
|
self.client.sendCall(self.uuid, "turn", [degrees])
|
|
614
614
|
|
|
615
|
-
def placeX(self, x: int, y: int, z: int, cord: Coordinates
|
|
615
|
+
def placeX(self, x: int, y: int, z: int, cord: Coordinates=Coordinates.local, side=None,) -> bool :
|
|
616
616
|
"""
|
|
617
617
|
指定した座標にブロックを設置する
|
|
618
618
|
|
|
@@ -621,13 +621,12 @@ class Entity:
|
|
|
621
621
|
y (int): Y座標
|
|
622
622
|
z (int): Z座標
|
|
623
623
|
cord (Coordinates): 座標の種類('', '^', '~')
|
|
624
|
-
block (str): 設置するブロックの種類
|
|
625
624
|
side (str): 設置する面
|
|
626
625
|
"""
|
|
627
|
-
self.client.sendCall(self.uuid, "placeX", [x, y, z, cord, side
|
|
626
|
+
self.client.sendCall(self.uuid, "placeX", [x, y, z, cord, side])
|
|
628
627
|
return str_to_bool(self.client.result)
|
|
629
628
|
|
|
630
|
-
def placeHere(self, x: int, y: int, z: int,
|
|
629
|
+
def placeHere(self, x: int, y: int, z: int, side=None) -> bool :
|
|
631
630
|
"""
|
|
632
631
|
自分を中心に指定した座標にブロックを設置する
|
|
633
632
|
|
|
@@ -635,10 +634,9 @@ class Entity:
|
|
|
635
634
|
x (int): X座標
|
|
636
635
|
y (int): Y座標
|
|
637
636
|
z (int): Z座標
|
|
638
|
-
block (str): 設置するブロックの種類
|
|
639
637
|
side (str): 設置する面
|
|
640
638
|
"""
|
|
641
|
-
self.client.sendCall(self.uuid, "placeX", [x, y, z, "^", side
|
|
639
|
+
self.client.sendCall(self.uuid, "placeX", [x, y, z, "^", side])
|
|
642
640
|
return str_to_bool(self.client.result)
|
|
643
641
|
|
|
644
642
|
def place(self, side=None) -> bool :
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|