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.42.tar.gz (30.1 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.42-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.42.tar.gz
  • Upload date:
  • Size: 30.1 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.42.tar.gz
Algorithm Hash digest
SHA256 0901bf792e4fef62f88fda377b7ce185680ab4d5ec408c345d1ca7f4d314c417
MD5 09cbcfa4101f4155341beef8734eaf88
BLAKE2b-256 e50fbef6ec0a43cf987b71975e9c2d1cb65c290a4d078f87fb33a5919b058540

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.42-py3-none-any.whl
  • Upload date:
  • Size: 29.0 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8d4f0531e6f406e3e47686765816615d2cbf1f618c1713b4ef93d6088b5574
MD5 59145e6679facdbc02550cebe3050bb9
BLAKE2b-256 6537edce8b6bbe967dcff85b31a42651be7f8fe0bee5de423b8878f398576a28

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