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.43.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.43-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.43.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.43.tar.gz
Algorithm Hash digest
SHA256 a278922cae895c0814a21494c1f2889c7a9ce8fc57cc8d6c67d328940f304f5d
MD5 89ea063314746980e8ebea64b47f7547
BLAKE2b-256 ff8d42eea665329096d9466b7de89e2847711584d2411379198a2e898c85c87d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.43-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.43-py3-none-any.whl
Algorithm Hash digest
SHA256 38c2c3466f8bba887a57c45f1b18fc8ad6870588a88b2bf66969c698d61968d5
MD5 c8749008953891dc3e0236179dc300f4
BLAKE2b-256 51f650a856fe4714a7b020df2341eb56086da4d56cd230a45dd32ddc35ee4ffc

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