bedrockpy#
bedrockpy lets you create a websocket server that is able to interact with a player in a Minecraft game. As the name suggests: this project only works with the “Minecraft: Bedrock Edition”.
Quick Links#
“Show me some Code”#
Code says more than a thousand words.
from bedrock.server import Server
app = Server()
@app.server_event
async def ready(ctx):
print(f"Ready @ {ctx.host}:{ctx.port}!")
@app.game_event
async def block_broken(ctx):
await ctx.server.run(f"title @a title Who destroyed {ctx.id}?!")
app.start("localhost", 6464)
Please refer to the “Introduction” section in the documentation in order to get started with bedrockpy.
Table of Contents#
Introduction
Miscellanous
Development