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
Release history Release notifications | RSS feed
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.1.tar.gz
(28.0 kB
view details)
Built Distribution
pymcworld-1.0.1-py3-none-any.whl
(30.4 kB
view details)
File details
Details for the file pymcworld-1.0.1.tar.gz
.
File metadata
- Download URL: pymcworld-1.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a085e0d7cfbc10232b48bf09d47e9fd8481a4c05644ee43b68326001a47b095 |
|
MD5 | 87d7b7ea0c40f8d0a6283d5ea802225f |
|
BLAKE2b-256 | 107f0a16b44d27b324cb2f71e280be94f1861a55ed6c612f4cd93ae3fe700e1d |
File details
Details for the file pymcworld-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pymcworld-1.0.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010635045b4882db4c58132acb2e00b169f75d39aeca866e91726cde41d68d4b |
|
MD5 | 80681d71a749a28e6af7457d96a91d45 |
|
BLAKE2b-256 | 016a9a8c51e4036f3ac6a9abe8309040b744e86ee63931cd95499fbfd60b5679 |