Skip to main content

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


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)

Uploaded Source

Built Distribution

pyblockworld-0.2.0-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page