🧑💻 Space City Blocks
Andrew's Mod Lab
This is where new Space City Craft features get built and tested before the crew ever sees them. You write Python on your Raspberry Pi, it builds things in your own creative sandbox server, and the best mods get released to the real server with your name on them.
🚀 Get started
- Download the starter kit onto your Raspberry Pi and unzip it.
- Copy
config.example.jsontoconfig.jsonand put in the password Dad gives you. - In Minecraft add a server:
dev.spacecityblocks.com, port19132(works at home). You are an admin there and it's creative mode - break anything! - Run
python3 levels/level1_hello.pyand watch your Pi talk to Minecraft.
The roadmap
Five levels from "hello" to a real released mod
Hello, Minecraft!
Variables and loops
Make the server say hello from your Raspberry Pi, then build a tower with a for loop.
Lesson file: level1_hello.py
⭐ Challenge: Build two towers and a bridge between them.
Shapes with math
Functions, circles, spheres
Use math.cos and math.sin to build circles, discs and planets - exactly how Artemis Station and Saturn's ring were built.
Lesson file: level2_shapes.py
⭐ Challenge: Build the whole solar system (to scale-ish!).
Your own functions
def, parameters, player position
Write build_rocket() and build a rocket wherever a player is standing.
Lesson file: level3_rocket.py
⭐ Challenge: Make the rocket launch: move it up block by block with a loop.
Make a mini-game
Game loops, scoreboards, time
Diamond Hunt: hide diamonds, track who finds them, show a scoreboard.
Lesson file: level4_minigame.py
⭐ Challenge: Invent your own game for Alexa and your friends to test.
Ship a real mod
Data packs, Git, code review
Generate a Minecraft data pack with Python - the same way the Artemis missions, Whoville and Mission Ops were made.
Lesson file: level5_datapack.py
⭐ Challenge: Get your mod approved and released on Space City Craft with your name on it!
🛰️ How a mod gets released (like at NASA!)
Build + test in the Lab
Everything happens on the dev server first. Ask Alexa to playtest it.
Flight Readiness Review
Show Dad: what it does, how it works, what could go wrong. NASA does this before every launch!
Launch
Once Dad says GO, it ships to Space City Craft with a "Built by Andrew" plaque in the Space Center Museum and the Mission Engineer badge.
Space City