Skip to main content

Python client library for hackCraft2

Project description

py2hackCraft2

Python client library for hackCraft2

概要

py2hackCraft2は、hackCraft2にPythonから接続して命令を送るためのライブラリです。

hackCraft2はMinecraft Java Editionのサーバープラグインで、このプラグインを導入することで、Minecraft上でプログラミングが可能になります。hackCraft2の詳細については、hackCraft2のダウンロードページをご参照ください。

Minecraftについての詳細は、インターネットで検索していただければと思います。

py2hackCraft2を使用することで、hackCraft2が導入されたMinecraftサーバーに対して、Pythonから直接命令を送ることができます。

ドキュメント

詳細なAPIリファレンスと使用例はドキュメントを参照してください。

インストール方法

pip install py2hackCraft2

使用方法

from py2hackCraft2.modules import Player, Volume, LocationFactory

# プレイヤーの接続
player = Player("your_name")
player.login("localhost", 25570)

# エンティティの取得と操作
entity = player.get_entity("entity_name")
entity.set_event_area(Volume.local(10, 10, 10, -10, -10, -10))

# その他の操作...

ライセンス

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py2hackcraft2-1.1.44.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py2hackcraft2-1.1.44-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file py2hackcraft2-1.1.44.tar.gz.

File metadata

  • Download URL: py2hackcraft2-1.1.44.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for py2hackcraft2-1.1.44.tar.gz
Algorithm Hash digest
SHA256 ebcd729ba4ab351a4df905038bf0ecdb4b12c2fe953886b55c34576ca4ea8233
MD5 17dff896b2c92d0bba15f882b5030060
BLAKE2b-256 1bb51799a675345eced10295d84e5097600a13b45fe8a932e0970d0116e3145b

See more details on using hashes here.

File details

Details for the file py2hackcraft2-1.1.44-py3-none-any.whl.

File metadata

  • Download URL: py2hackcraft2-1.1.44-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for py2hackcraft2-1.1.44-py3-none-any.whl
Algorithm Hash digest
SHA256 37dfef660989bbb6f22ce93fa43a04f1c49d1dd2c9894ada0eb65f7ed8e4759e
MD5 1e277929046a51dabad21c93c58310d8
BLAKE2b-256 5f81aa11e22e483b0c37fcd60c2aebd5203647068a6b515ad6d88479ef3db6f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page