1. Basics

Used to name the saved model file.

How many Minecraft windows train at once. More learns faster but needs more RAM and GPU.

How long training runs. 1,000,000 is a long run; use less for a quick test.

An episode restarts after this many steps (20 steps = 1 second).

Choose GPU if you have an NVIDIA card with CUDA, otherwise CPU.

2. Goal

When has the AI finished?

3. Rewards

Rewards give the AI points for good behavior. Pick when it earns points and how many.

4. Punishments

Punishments take points away. Enter positive numbers; they are subtracted for you.

5. Game rules & world

Leave empty to use the environment's own world.

Drag your world folder here or browse
Browsers hide the full path, so this fills in the folder name. Put that folder inside worlds/ next to train.py.

Peaceful removes hostile mobs.

Lock the time of day, or let it cycle normally.

The AI keeps its items when it dies.

Untick to stop mobs from spawning.

Advanced: these run at the start of every episode.

6. Logs & viewer

Each episode saves steps, total reward and whether the goal was reached.

Adds viewer.py; run it and open http://localhost:8000.

7. Your code


 

8. Setup guide

Back to main page