Back to mods
MyGymCraft project artwork

CurseForge · Minecraft mod

MyGymCraft

Gymnasium-style RL environment in Minecraft

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MyGymCraft release should I use?

Updated last month
Latest stable file gymcraft-1.2.1+mc1.21.1.jar
Game version 26.1
Loader NeoForge

MyGymCraft gymcraft-1.2.1+mc1.21.1.jar targets 26.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is MyGymCraft required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does MyGymCraft gymcraft-1.2.1+mc1.21.1.jar need?

gymcraft-1.2.1+mc1.21.1.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add MyGymCraft without breaking your instance.

Built for MyGymCraft gymcraft-1.2.1+mc1.21.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use gymcraft-1.2.1+mc1.21.1.jar. It targets 26.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside gymcraft-1.2.1+mc1.21.1.jar. It opens that exact file at the source.

About this project

What does MyGymCraft add?

Introduction

Turn Minecraft into an agent training ground

GymCraft is a NeoForge mod for reinforcement learning, LLM agents, and game automation experiments. It wraps Minecraft mobs—or its built-in simulated player entity—as Gymnasium-style environments, allowing external Python programs to observe the world, take actions, and receive rewards over gRPC.

Whether you want to train a mob to move and build upward, ask a language model to gather and craft resources, or create your own Minecraft agent benchmark, GymCraft provides an extensible foundation for the job.

GymCraft is an agent development and research tool rather than a traditional content mod. A typical setup runs both the Minecraft mod and an external Python agent.

Highlights

  • Gymnasium-style API: The Python client exposes the familiar reset() and step() workflow.
  • Control almost any mob: Attach an environment to an existing mob, or use PlayerSimEntity, a player-shaped controllable entity with player-like attributes.
  • Rich world interaction: Move, navigate, look, jump, fight, mine, place blocks, use items, pick up and drop items, chat, and operate menus.
  • Structured observations: Read self state, world data, nearby entities, blocks, dropped items, menus, tracked blocks, and chat messages.
  • Ordered action batches: Execute multiple actions sequentially within one step under a shared timeout.
  • LLM-ready tooling: Includes compact observation text, a Minecraft-like action DSL, conversation context management, and a Chat Completions compatible wrapper.
  • Multiplayer and dedicated-server friendly: Manage environments with in-game tools, commands, RCON, or remote gRPC clients.
  • English and Simplified Chinese UI: Item names, entity names, and common operation messages are localized.

Built-in environments

Environment Description
gymcraft:simple_mob A general-purpose base environment for testing actions, observations, and custom agents.
gymcraft:parkour_mob Learn to jump and place blocks underneath the agent to reach a target height.
gymcraft:iron_mining Start empty-handed, gather wood, craft tools, and obtain raw iron.
gymcraft:iron_golem_warden Build and heal an iron golem to complete a long-horizon Warden encounter.
gymcraft:general A broad open-task environment with a comprehensive action and observation set.

Quick start

  1. Install NeoForge and the GymCraft mod JAR matching your Minecraft version.
  2. Start a world or server. GymCraft starts its gRPC service at localhost:50051 by default.
  3. Take the Environment Tool and UUID Copier from the GymCraft creative tab.
  4. Hold Shift and scroll to choose an environment, then right-click a mob with the Environment Tool.
  5. Right-click the same entity with the UUID Copier to obtain its UUID.
  6. Install the Python client:
pip install -U gymcraft

Run the Q-learning parkour demo:

gymcraft-demo parkour <entity_uuid> --episodes 200

Or connect any Chat Completions compatible model:

gymcraft-demo llm-chat <entity_uuid> --task "Find the nearest chest and inspect its contents"

Run gymcraft-demo --help to list all bundled demos and options.

Compatibility

Minecraft NeoForge Java GymCraft
26.1.2 26.1.2.95 25 1.2.1
1.21.1 21.1.250 21 1.2.1+mc1.21.1

The Python client requires Python 3.11 or newer.

Who is it for?

  • Reinforcement-learning and imitation-learning researchers
  • Developers building LLM agents for Minecraft
  • Evaluation and education projects that need repeatable game tasks
  • Mod developers extending custom actions, observations, environments, or reward functions

Project description from CurseForge.

Pick your setup

MyGymCraft by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MyGymCraft versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.