指令预设

指令预设

这个 Mod 非常适合需要命令帮助的人。它添加了一个 GUI,允许人们使用运行命令的预设。

管理

CommandHelper 提供一个游戏内菜单,让你可以即时运行常用命令,而不必每次都手动输入。只需按下 Y 键,即可调出一个可滚动的快捷键菜单。你可以在常规的 Minecraft 控制设置中更改这个按键绑定。

功能:

  • 32 个内置命令:以清晰、可滚动的布局排列,包含时间、天气、游戏模式、物品生成和药水效果的快捷按钮。
  • 100% 客户端侧:你只需在自己的游戏中安装此模组即可。无需在服务器端安装,也能在服务器上正常工作。
  • 生物清除选择器:点击“自定义命令”打开一个包含原版生物列表的子菜单。选择一个生物,即可自动运行针对该生物的 /kill @e[type=...] 命令。
  • 自定义预设:点击“创建预设”来输入你自己的自定义命令并为其命名。这些预设会直接保存到你的电脑上,即使你关闭游戏也不会丢失。

当前预设命令如下:

  • 时间和天气

    • 设置白天 -> time set day
    • 设置夜晚 -> time set night
    • 晴天 -> weather clear
    • 设置雷暴 -> weather thunder
  • 游戏模式

    • 创造模式 -> gamemode creative
    • 生存模式 -> gamemode survival
    • 冒险模式 -> gamemode adventure
    • 旁观模式 -> gamemode spectator
  • 玩家生命与效果

    • 治疗与喂食 -> effect give @s instant_health 1 255 and effect give @s saturation 1 255
    • 自杀 -> kill
    • 清除负面效果 -> effect clear @s
    • 给予火焰抗性 -> effect give @s fire_resistance 9999 1
    • 给予夜视效果 -> effect give @s night_vision 9999 1
    • 给予隐身效果 -> effect give @s invisibility 9999 1
    • 超级速度 -> effect give @s speed 9999 5
    • 超级跳跃提升 -> effect give @s jump_boost 9999 5
  • 游戏规则

    • 开启死亡不掉落 -> gamerule keepInventory true
    • 关闭死亡不掉落 -> gamerule keepInventory false
    • 禁用生物破坏 -> gamerule mobGriefing false
    • 启用生物破坏 -> gamerule mobGriefing true
    • 停止天气循环 -> gamerule doWeatherCycle false
    • 开始天气循环 -> gamerule doWeatherCycle true
  • 物品与经验掉落

    • 给予 1 个钻石 -> give @s diamond 1
    • 给予 64 个钻石 -> give @s diamond 64
    • 给予下界合金锭 -> give @s netherite_ingot 1
    • 给予附魔金苹果 -> give @s enchanted_golden_apple 1
    • 给予 10 级经验 -> xp add @s 10 levels
    • 给予 100 级经验 -> xp add @s 100 levels
  • 机制与实用工具

    • 冻结游戏刻 -> tick freeze
    • 解冻游戏刻 -> tick unfreeze
    • 召唤闪电 -> summon lightning_bolt
    • 定位村庄 -> locate structure village
    • 清空物品栏 -> clear