Prerequisites
Procedural Content Generation for Computer Games
Labs 1 - Minecraft
About Minecraft
Survival mode
Technical info
https://www.minecraft.net/en-us/store/minecraft-java-edition
Terrain in Minecraft
The challenges
The Homework
The Repository
Start with minecraft-terrain from the repo, which contains a Gradle buildsystem to instatiate server with a custom terrain generation plugin.
Using IntelliJ IDEA as IDE is highly recommended
Two tasks:
The first run may take a few minutes to complete. Java >=17 required.
After the first run and error, edit server/eula.txt – set it to true.
Put your changes into MCWorldGenerationPluginKotlin/src/main/kotlin/cz/cuni/gamedev/nail123/mcworldgeneration/CustomChunkGeneratorKotlin.kt
Kotlin / Java options
Testing it out
WARNING: First run will fail, you need to accept eula.txt in server/.
Getting Minecraft
Criteria
Option 1 - Biomes
Option 1 – Biomes - Challenges
Option 1 – Hints
Option 1 - Criteria
Original Minecraft: Grassland, Jungle, Swamp, Badlands, Desert, Grassland biomes meeting
Acceptable solution:
A reasonable heightmap with transitions
BIOMES:
Mountains (White)
Desert (Yellow)
Grassland (Green)
Sea (Blue)
Acceptable solution: Three biomes meeting (Sea, Grassland and Mountains)
Option 2 – Caves
Option 2 – Challenges
Option 2 – Hints
Random walks:
Perlin worms:
Option 2 - Criteria
Original Minecraft: X-ray view into Minecraft caves
Acceptable solutions using:
Try and guess which is which
Option 3 – Your Experiment!
Submission details
Questions / Problems
Allocate more than one session to work on the project. If you get stuck on some issue, it’s good to clear your head for a bit and return to it later.