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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyblockworld-0.1.6.tar.gz.
File metadata
- Download URL: pyblockworld-0.1.6.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.60-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eef534916336de9fac9b0433effd42c08df29552d8480a042390c0dde91df85
|
|
| MD5 |
25dc8fc4aaf106c85d9ec76a9d55bf9b
|
|
| BLAKE2b-256 |
9faabc841fe9b030b49c37e684a3156ac29996fcfa086c6433b582f9df1a1255
|
File details
Details for the file pyblockworld-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pyblockworld-0.1.6-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.60-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faec2138207fa46214551008afbe65bce6d523b6926873cb227bec1d8caecf5c
|
|
| MD5 |
f08257b7b229d6b55cd7c1daf8165fff
|
|
| BLAKE2b-256 |
4b997cd84fd36497f9c018edc51e14c0cf8c2aaf73822ecc66a773d0f867578e
|