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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py2hackCraft2
3
- Version: 1.0.33
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.getEntity("hello")
43
+ hello = player.get_entity("hello")
45
44
 
46
45
  for i in range(5):
47
46
  hello.forward()
48
- hello.turnRight()
47
+ hello.turn_right()
49
48
 
50
49
  player.logout()
51
50
  ```