py2hackCraft2 1.0.33__tar.gz → 1.0.35__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.33 → py2hackCraft2-1.0.35}/PKG-INFO +3 -4
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft/modules.py +435 -326
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft2.egg-info/PKG-INFO +3 -4
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/setup.py +1 -1
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/README.md +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft/__init__.py +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft/material.py +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft2.egg-info/SOURCES.txt +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/py2hackCraft2.egg-info/top_level.txt +0 -0
- {py2hackcraft2-1.0.33 → py2hackCraft2-1.0.35}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: py2hackCraft2
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.35
|
|
4
4
|
Summary: These are APIs that connect to the hackCraft2 server from Python to manipulate pets.
|
|
5
5
|
Home-page: https://pypi.org/project/py2hackCraft2/
|
|
6
6
|
Author: Masafumi Terazono
|
|
@@ -8,7 +8,6 @@ Author-email: masafumi_t@0x48lab.com
|
|
|
8
8
|
License: MIT
|
|
9
9
|
Keywords: hackCraft2
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: websocket-client
|
|
12
11
|
|
|
13
12
|
## 概要
|
|
14
13
|
|
|
@@ -41,11 +40,11 @@ from py2hackCraft.modules import Player
|
|
|
41
40
|
player = Player("masafumi_t")
|
|
42
41
|
player.login("localhost", 25570)
|
|
43
42
|
|
|
44
|
-
hello = player.
|
|
43
|
+
hello = player.get_entity("hello")
|
|
45
44
|
|
|
46
45
|
for i in range(5):
|
|
47
46
|
hello.forward()
|
|
48
|
-
hello.
|
|
47
|
+
hello.turn_right()
|
|
49
48
|
|
|
50
49
|
player.logout()
|
|
51
50
|
```
|