promotional bannermobile promotional banner

Rolling Gate

A NeoForge mod that controls Minecraft technology options

Rolling Gate

A NeoForge mod that controls Minecraft technology options, this mod itself contains almost no functionality and needs to be used in conjunction with mods that depend on it.

Development Builds

GitHub Downloads

Existing Additional

Disclaimer

This mod only supports Minecraft 1.21+ and has no plans to be compatible with lower versions at the moment.

This module code is open source based on the LGPL-3.0 protocol, while other assets are released based on the CC-BY-NC-ND 4.0 protocol. Please comply with the protocol.

Quick Start

  1. Download the mod and place it in the .minecraft/mods or .minecraft/versions/{version}/mods folder
  2. Enter the save and use the /rg command to display the mod control panel to adjust the enabled status of the rules

Configuration

  • Modify the default configuration in configs/rolling_gate.json, which will affect all saves
  • Create a rolling_gate.json file in the save directory to overwrite the default configuration
  • The configuration file format is JSON, as shown in the following example:
{
  // string
  "rule1": "value",
  // int
  "rule2": 1,
  // double
  "rule3": 1.0,
  // boolean
  "rule4": true
}

Command

  • /rg - Display mod control panel
    • reload - Reload configuration file
    • category [category] - View all rules under the group
    • [rule] [value] - Set the value of the rule
    • [rule] - View detailed information of rules
    • default [rule] [value] - Set default rules for the current save

Write Additional

  • Write a class addition rule
@RGServerRules(value = "your_mod_id", languages = {"zh_cn", "en_us"})
public class YourModServerRules {
    @Rule(allowed = {"your_rule_value1", "your_rule_value2"}, categories = "your_rule_category")
    public static String yourRule = "your_rule_value1";
}

The Rolling Gate Team

profile avatar
Owner
  • 12
    Followers
  • 33
    Projects
  • 974.1K
    Downloads

More from GugleView all