MINECRAFT / JAVA FOUNDATIONS
Start with Java.Build your world.
Turn your Minecraft ideas into code. Go from your first line of output to pixel builds and Paper plugins, one step at a time.
40 free lessons · No experience needed · English & Chinese
public class Welcome {
public static void main(
String[] args) {
String player = "Steve";
System.out.println(
"Welcome, " + player);
}
}
OUTPUTWelcome, Steve
LEARN IT / BUILD IT
40 lessons. One step at a time.
Follow the lessons in order, with complete code, diagrams and exercises online. Download a PDF in English or Chinese from any lesson. No sign-in needed.
LESSONS 01–10
Write your first Java program
Start with output and variables, then make decisions and repeat actions with loops.
- 01 Steve's First Line 90 minutes
- 02 Variable Boxes in Your Inventory 90 minutes
- 03 Blocks Have Data Types, Too 90–110 minutes
- 04 The Miner's Calculator 90–110 minutes
- 05 String Magic in Chat 100–120 minutes
- 06 Let the Player Type a Command 90–110 minutes
- 07 Night Falls: if or else? 90–110 minutes
- 08 The Biome Navigator 100–120 minutes
- 09 The Loop Builder 90–110 minutes
- 10 Keep Mining Until You Find Diamonds 90–110 minutes
LESSONS 11–20
Build a world with code
Combine methods, arrays and objects to create pixel builds and manage players and items.
- 11 Build Pixel Art with Loops 90–110 minutes
- 12 Pack Recipes into Methods 90–110 minutes
- 13 Parameters and Return Values 100–120 minutes
- 14 World Rules and Scope 90–110 minutes
- 15 Hotbar Arrays 90–110 minutes
- 16 Project: The Inventory Manager 110–120 minutes
- 17 Design Mobs with Classes 90–110 minutes
- 18 An Army of Objects 90–110 minutes
- 19 Spawn Points and Constructors 90–110 minutes
- 20 Lock Your Chest 100–120 minutes
LESSONS 21–30
Manage your world’s data
Design mob families, organize collections and save data to keep your world running.
- 21 The Mob Family Tree 90–110 minutes
- 22 One Command, Different Attacks 90–110 minutes
- 23 Behavior Contracts 90–110 minutes
- 24 Coordinates, Directions and Enums 90–110 minutes
- 25 A Mob List That Grows 90–110 minutes
- 26 Scoreboards and HashMap 90–110 minutes
- 27 Random Loot Tables 90–110 minutes
- 28 Protect Your Program from Errors 100–120 minutes
- 29 Save Your World 100–120 minutes
- 30 The Block Data Pipeline 100–120 minutes
LESSONS 31–40
Create a server plugin
Connect Paper commands, events and timers, then test and release your own project.
- 31 Your First Plugin 150–180 minutes
- 32 Add Server Commands 100–120 minutes
- 33 The Block Event Detective 100–120 minutes
- 34 Data for Every Player 100–120 minutes
- 35 Schedule Tasks 100–120 minutes
- 36 Let Server Owners Configure It 110–130 minutes
- 37 Create Custom Items 100–120 minutes
- 38 Project: The Ore Sprint 150–180 minutes
- 39 The Server Emergency Room 110–130 minutes
- 40 Release Your Block Legend 120–150 minutes