Compatibility
Minecraft: Java Edition
1.21.1
Platforms
NeoForge
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed LGPL-3.0-only
Published last week
Updated last week
卷帘门 | Rolling Gate
一个NeoForge模组,控制Minecraft技术选项
A NeoForge mod that controls Minecraft technology options
声明 | Disclaimer
本模组仅支持 Minecraft 1.21+ ,暂无向更低版本兼容的计划。
This mod only supports Minecraft 1.21+ and has no plans to be compatible with lower versions at the moment.
本模组代码基于 LGPL-3.0 协议开源,其它资产基于 CC-BY-NC-ND 4.0 发布,请遵守协议。
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
- 下载模组,放置到
.minecraft/mods
或.minecraft/versions/{version}/mods
文件夹 - 进入存档,使用
/rg
命令显示模组控制面板以调整规则的启用状态
配置 | Configuration
- 在
configs/rolling-gate.json
中修改默认配置,该配置将影响所有存档 - 在存档目录中创建
rolling-gate.json
文件以覆盖默认配置 - 配置文件格式为 JSON,示例如下:
{
// string
"rule1": "value",
// int
"rule2": 1,
// double
"rule3": 1.0,
// boolean
"rule4": true
}
命令 | Command
-
/rg
- 显示模组控制面板reload
- 重新加载配置文件category [category]
- 查看分组下的所有规则[rule] [value]
- 设置规则的值[rule]
- 查看规则详细介绍default [rule] [value]
- 设置当前存档的规则默认值
-
/rg
- Display mod control panelreload
- Reload configuration filecategory [category]
- View all rules under the group[rule] [value]
- Set the value of the rule[rule]
- View detailed information of rulesdefault [rule] [value]
- Set default rules for the current save
规则 | Rules
规则 | 类型 | 默认值 | 允许值 | 描述 |
---|---|---|---|---|
language |
String | zh_cn |
en_us , zh_cn |
设置卷帘门的默认语言 |
Rule | Type | Default Value | Allowed Value | Description |
---|---|---|---|---|
language |
String | zh_cn |
en_us , zh_cn |
Set the default language for RollingGate |
贡献 | Contribution
贡献者 | Contributors
Gugle 💻 19822751 |
꧁[C̲̅j̲̅s̲̅a̲̅h̲̅]꧂ 💻 19170004 |
联系我们 | Contact Us
赞助我们 | Sponsor Us
赞助者 | Sponsors
编写附属 | Write Additional
- 编写一个类实现
dev.anvilcraft.rg.api.RGAdditional
- Write a class implement
dev.anvilcraft.rg.api.RGAdditional
@Mod("your_mod_id")
public class YourMod {
public YourMod(IEventBus modEventBus, @NotNull ModContainer modContainer) {
modContainer.registerExtensionPoint(RGAdditional.class, new YourAdditional());
}
}
public class YourAdditional implements RGAdditional {
@Override
public void loadServerRules(@NotNull ServerRGRuleManager manager) {
manager.register(YourServerRules.class);
TranslationUtil.loadLanguage(YourMod.class, "your_mod_id", "zh_cn");
TranslationUtil.loadLanguage(YourMod.class, "your_mod_id", "en_us");
}
@Override
public void loadClientRules(@NotNull ClientRGRuleManager manager) {
manager.register(YourClientRules.class);
}
}
- 亦可以让你的模组主类实现
dev.anvilcraft.rg.api.RGAdditional
- You can also enable your mod main class to implement
dev.anvilcraft.rg.api.RGAdditional
@Mod('your_mod_id')
public class YourMod implements RGAdditional {
public YourMod(IEventBus modEventBus, @NotNull ModContainer modContainer) {
modContainer.registerExtensionPoint(RGAdditional.class, this);
}
@Override
public void loadServerRules(@NotNull RGRuleManager manager) {
manager.register(YourServerRules.class);
TranslationUtil.loadLanguage(YourMod.class, "your_mod_id", "zh_cn");
TranslationUtil.loadLanguage(YourMod.class, "your_mod_id", "en_us");
}
@Override
public void loadClientRules(@NotNull ClientRGRuleManager manager) {
manager.register(YourClientRules.class);
}
}