HomeJavaModsGameRule Manager
GameRule Manager
ModsJava

GameRule Manager

by IAFEnvoy · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.4–1.21.10 · NeoForge⬇ Download for 1.21.2–1.21.3 · NeoForge⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20.5–1.20.6 · NeoForge⬇ Download for 1.20.4 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.21.9–1.21.10 · Fabric⬇ Download for 1.21.2–1.21.8 · Fabric⬇ Download for 1.20.5–1.21.1 · Fabric⬇ Download for 1.20–1.20.4 · Fabric⬇ Download for 1.20–1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

GameRule Manager

This mod provide new ways to control gamerules.

Features

How to use

Config

There are 2 config files

Global config

Config file is at .minecraft/config/gamerule_manager/default.json. If this file is not existed, create it. Example:

{
  //Apply to all dimension
  "default": {
    "doDaylightCycle": false,
    "doMobSpawning": {
      "value": false,
      //Lock key is optional
      "lock": true
    },
    "doTraderSpawning": {
      "value": false,
      "lock": false
    }
  },
  "difficulty": "easy"
}

Dimension specific config

Config file is at .minecraft/config/gamerule_manager/specific.json. If this file is not existed, create it. Example:

{
  //Dimension id, NOTE: You need to use "/gamerulemanager" to split out first to apply
  "minecraft:overworld": {
    "gamerules": {
      "keepInventory": {
        "value": true,
        "lock": true
      }
    },
    "difficulty": {
      "value": "hard",
      "lock": true
    }
  }
}

Command

/gamerulemanager <create/remove/list>: Used to control whether specific dimension use standalone gamerules.

Once you split out, you can join that dimension and use /gamerule and /difficulty to change gamerule and difficulty only for that dimension.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more