Space City Craft

🧑‍💻 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

  1. Download the starter kit onto your Raspberry Pi and unzip it.
  2. Copy config.example.json to config.json and put in the password Dad gives you.
  3. In Minecraft add a server: dev.spacecityblocks.com, port 19132 (works at home). You are an admin there and it's creative mode - break anything!
  4. Run python3 levels/level1_hello.py and watch your Pi talk to Minecraft.

The roadmap

Five levels from "hello" to a real released mod

1

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.

2

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!).

3

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.

4

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.

5

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!)

1

Build + test in the Lab

Everything happens on the dev server first. Ask Alexa to playtest it.

2

Flight Readiness Review

Show Dad: what it does, how it works, what could go wrong. NASA does this before every launch!

3

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.