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")
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.6.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for pyblockworld-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faec2138207fa46214551008afbe65bce6d523b6926873cb227bec1d8caecf5c |
|
MD5 | f08257b7b229d6b55cd7c1daf8165fff |
|
BLAKE2b-256 | 4b997cd84fd36497f9c018edc51e14c0cf8c2aaf73822ecc66a773d0f867578e |