Skip to main content

Simple Minecraft world editor

Project description

pymcworld

pymcworld is a simple world creator for Minecraft. It currently supports 1.16.5. The library automatically takes care of level files, placing of blocks, gamerules, and more. It currently supports over 500 blocks. Example:

from pymcworld.world import World

world = World()
world.set_block(0, 0, 0, world.blocks.ANDESITE)
world.save("testworld")

This creates a world, with the block at (0, 0, 0) set to andesite, and saves the world to the testworld folder. This is the code to create a sphere:

from pymcworld.world import World

world = World()
# this function takes 5 arguments: x, y, z, radius, and block type
world.shape.sphere(0, 20, 0, 15, world.blocks.ANDESITE)
world.save("testworld")

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

pymcworld-1.0.2.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

pymcworld-1.0.2-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file pymcworld-1.0.2.tar.gz.

File metadata

  • Download URL: pymcworld-1.0.2.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for pymcworld-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ab0a9cf7f837a06859b3c7d4cb347df8810b677b74e84edd69bda65b751723c9
MD5 2be1cd4ade7fa6801d9be43ccd66903d
BLAKE2b-256 7ab2e619ca924120c4ae6054cdd437a78976e47f47101cd950a639c906b53ed5

See more details on using hashes here.

File details

Details for the file pymcworld-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pymcworld-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for pymcworld-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1974a1e8c7a02390a2e3cc7ad25c40f18825b51e079f183e83382222b688c544
MD5 ce8d82408f933aa7396454d68685a93f
BLAKE2b-256 d4c4673d4f017ea40ba950c55605b08a1ae1c2c39910f2d7d0dc287e72f42e75

See more details on using hashes here.

Supported by

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