Skip to main content

Controlling minecraft with python

Project description

CraftPy

A package that allows to use functions to control minecraft built on pyautogui.

To make an instance of the player class, use:

CraftPy.Player({version_number}, {Cheats (True if enabled)})

Player methods:

  • def init(self, Float: version, Boolean: cheats)

  • def walk(self, Integer: seconds)

  • def hit(self)

  • def interact(self)

  • def look(self, String: direction, Integer: pixels)

  • def jump(self)

  • def sneak(self, Boolean: toggle)

  • def sprint(self, Boolean: toggle)

  • def crit(self)

  • def switchitem(self, Integer: slot)

  • def shield(self, Boolean: toggle)

  • def bow(self, Integer: load)

  • def mine(self, Boolean: toggle)

  • def throw(self)

  • def chat(self, String: message)

  • def inventory(self)

  • def offhand(self)

  • def perspective(self)

  • def reloadchunks(self)

  • def gamemode(self)

  • def chunkborders(self)

  • def togglehitboxes(self)

  • def coordinates(self)

  • def clearchat(self)

  • def renderdistance(self, Boolean: increase)

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

CraftPy-1.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

CraftPy-1.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file CraftPy-1.1.2.tar.gz.

File metadata

  • Download URL: CraftPy-1.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for CraftPy-1.1.2.tar.gz
Algorithm Hash digest
SHA256 20f958e1646caaeb21b6a3120d416c465357f2570c63829027c53af00cd0fafa
MD5 ebcbf455e36c7ef48c297e30cc4f97c8
BLAKE2b-256 4a7a5ff33d4d9583038aa643b52db610cec6c034bdf10867ae77a74384448680

See more details on using hashes here.

File details

Details for the file CraftPy-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: CraftPy-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for CraftPy-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6320f36331a7924d5984f747d682cc4282d2039575e4b74d5b08e7450feb7e16
MD5 ff403f90a1535bcad7acb26f91183ce7
BLAKE2b-256 072b5f829b8c61be0090b826355663c1aee2195113c648af52d7776cfb17eb3c

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