Skip to content

游戏规则与配置 (GameRules & Configuration)

属性详细信息
游戏规则分类minecraft:ore_amplifier
分类翻译键gamerule.category.ore_amplifier → "Ore Amplifier"
配置文件路径config/ore-amplifier.json
配置引擎DasikLibrary ConfigHelper
图形界面YACL v3 (可选)

📋 游戏规则完整参考表

静态核心规则

游戏规则键名中文名称类型范围默认值说明
ig:ore_vanilla_global原版矿石全局倍率 (%)整数1–1000200适用于所有 minecraft: 命名空间矿石(200 = 2.0×)
ig:ore_modded_global模组矿石全局倍率 (%)整数1–1000120适用于所有第三方模组矿石(120 = 1.2×)
ig:ore_vein_size_multiplier矿脉体积倍率 (%)整数100–500100单条矿脉包含的方块总数倍率(100 = 原版体积)

动态单矿石规则

系统为注册表中检测到的所有矿石方块动态生成独立规则:

规则命名格式示例类型范围默认值
ig:ore_<namespace>_<path>ig:ore_minecraft_iron_ore整数0–1000100
ig:ore_minecraft_diamond_ore整数0–1000100
ig:ore_minecraft_ancient_debris整数0–1000100

💡 将某矿石的独立规则设为 0 可完全关闭该矿石的增幅。


📄 JSON 配置文件格式 (config/ore-amplifier.json)

json
{
  "version": 1,
  "vanillaGlobalMultiplier": 200,
  "moddedGlobalMultiplier": 120,
  "veinSizeMultiplier": 100,
  "perOreMultipliers": {
    "minecraft:diamond_ore": 500,
    "minecraft:deepslate_diamond_ore": 500,
    "minecraft:ancient_debris": 300
  }
}

🔄 双向实时同步体系 (2-Way Sync)

  • 使用 /oreamp set 指令修改:同时更新当前世界 GameRule 与 JSON 配置文件
  • 在 YACL 图形界面或手动编辑 JSON 文件后:执行 /oreamp reload 可将配置一键同步至当前运行的世界中

Official documentation & web portal for Dasik Igaijinn mods.