Minecraft like Block world in Python
Project description
Eine an Minecraft angelehnte Welt aus Blöcken.
def b_key_pressed(world:World):
print("b pressed. player at", world.player_position())
x,y,z = world.player_position()
world.setBlock(x,y,z, "default:brick")
world = World("DEMO WORLD")
print("Block types", World.MATERIALS)
world.build_key_function = b_key_pressed
world.run()
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
pyblockworld-0.2.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for pyblockworld-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3666efe0b485bc9cbef6d781d189b89df09343b43bef292c1e05007fe62d989 |
|
MD5 | 7674ef9f38187c830283d440fbde9b48 |
|
BLAKE2b-256 | 80f728398798355f48d52be0d28b779ad75a75303fefdf24e12308879325f466 |