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.45.tar.gz (32.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.45-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.45.tar.gz
  • Upload date:
  • Size: 32.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.45.tar.gz
Algorithm Hash digest
SHA256 12e82707fdf42f11b83c55e7dc8382c0c5d274e7e24dee1897b1889e85d20f1c
MD5 c7f4ece081c241d0db7a50862e7e0c3c
BLAKE2b-256 70c545f18dc7c81693130f256538254bda4c345373c4eb2b2b9cfb02d133653e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py2hackcraft2-1.1.45-py3-none-any.whl
  • Upload date:
  • Size: 31.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.45-py3-none-any.whl
Algorithm Hash digest
SHA256 704367e62da4ec548ca70017a9ae5550fbdf1da422f9e30c1f9782230a57d98c
MD5 a81ceebd66ca2a180c4d93743ce4514f
BLAKE2b-256 f419598265e4a6039b49a0934f5c7ec83bd42f62c91ca425b27ad68be0a9ae8b

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