fix: 文档错误 and 修改不合适关键字

This commit is contained in:
xzb23 committed 2026-08-29 12:52:22 +08:00
1 parent ac5749a03e
commit 627ef9bcd8
4 files changed
+30 -30

No files matched your search

@@ -19,12 +19,12 @@ public class Config {
.defineInRange("version", 1, 0, Integer.MAX_VALUE);
public static final ModConfigSpec.ConfigValue<List<? extends String>> BLACKLIST = BUILDER
public static final ModConfigSpec.ConfigValue<List<? extends String>> BLOCKLIST = BUILDER
.comment("禁用的指令列表")
.comment("格式为{cmd}:{checkIndex}:{arg1[,arg2,...]}")
.comment("格式为{指令}:{禁用第几个参数}:禁用的参数1[,禁用的参数2,...]}")
.comment("格式为{指令}:{禁用第几个参数}:{禁用的参数1[,禁用的参数2,...]}")
.comment("其中{checkIndex}填0代表禁用整个指令")
.defineList("blacked_commands", List.of("give:0:", "fill:0:", "gamemode:1:creative"), obj -> obj instanceof String);
.defineList("blocked_commands", List.of("give:0:", "fill:0:", "gamemode:1:creative"), obj -> obj instanceof String);
public static final ModConfigSpec.ConfigValue<List<? extends String>> PASSUUID = BUILDER