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_postion()
world.setBlock(x,y,z, "default:brick")
world = World("DEMO")
print("Block types", World.MATERIALS.keys())
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.1.5.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for pyblockworld-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe580c2d2506cee20350ce05c22d3a17eb2923767e367f1143a8f64d389576c |
|
MD5 | 805387dd88514c79baf773045723ffd1 |
|
BLAKE2b-256 | 7cc7880cec69d4335e7fc4b8e75026b37a887c6fc3238c89b3a0a67624715e0d |