diff --git a/changelog.md b/changelog.md index 9a40ad8..97885f5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,12 @@ +## 1.6.4.02-0.11.0 +### BUG +- 修复漏斗的在非主世界无法使用的bug +### 功能 +- 新增`func ncrob `,开启后可无视阻挡打开所有容器 +- 新增`func nccost `,开启后发射器和投掷器内的物品不消耗 +- 新增`func fbld `,设置为1时能无视实体阻挡放置方块,设置为2时能取消所有放置检查 +- 新增`func grnd `,大于0时候会修改高斯随机的缩小倍率,0表示完全取消高斯随机(投掷等行为会完全失去随机性) + ## 1.16.4.02-0.9.81 - 漏斗计数器支持中文名称 - 删除部分无用的标准输出 diff --git a/mod/TrapdoorMod.cpp b/mod/TrapdoorMod.cpp index 5fa25f3..ece2706 100644 --- a/mod/TrapdoorMod.cpp +++ b/mod/TrapdoorMod.cpp @@ -110,10 +110,10 @@ void TrapdoorMod::registerCommands() { info(player, LANG("command.func.ncrob.set"), holder->getBool()); })) //容器无消耗 - ->then(ARG("nccost", "command.func.ncost.desc", BOOL, + ->then(ARG("nccost", "command.func.nccost.desc", BOOL, { this->singleFunctions.noContainerCost = holder->getBool(); - info(player, LANG("command.func.ncost.set"), + info(player, LANG("command.func.nccost.set"), holder->getBool()); })) //强制放置 diff --git a/package/lang/en_us.json b/package/lang/en_us.json index b6b1f4b..3fb1596 100644 --- a/package/lang/en_us.json +++ b/package/lang/en_us.json @@ -61,7 +61,7 @@ "command.func.hopper.desc": "Toggle Counter", "command.func.hopper.set": "Set the hopper counter to %d", "command.func.spawn.desc": "Toggle spawn point and spawn probability display", - "command.func.spawn.set": "Set the spawn point and spawn probability display to %d", + "command.func.spawn.set": "Set spawn point and spawn probability display to %d", "command.func.rotate.desc": "Toggle rotating cactus", "command.func.rotate.set": "Set the rotating cactus to %d", "command.func.draw.desc": "Toggle draw command", @@ -72,6 +72,14 @@ "command.func.expl.set": "Set explosion no block damage to %d", "command.func.ncud.desc": "Toggle no pending tick block updates", "command.func.ncud.set": "Set pending tick block updates to %d", + "command.func.ncrob.desc": "Toggle container opening ignore obstruct", + "command.func.ncrob.set": "Set container opening ignore obstruct to %d", + "command.func.nccost.desc": "Toggle infinite dropper/dospenser", + "command.func.nccost.set": "Set infinite dropper/dospenser to %d", + "command.func.fbld.desc": "Set force build level", + "command.func.fbld.set": "Set force build level to %d", + "command.func.grng.desc": "Set reduction ratio of Gaussian random(>=0)", + "command.func.grng.set": "Set reduction ratio of Gaussian random to %d", "command.o.desc": "Quickly switch spectator mode", "command.o.set": "Set player [%s] as spectator mode", "command.s.desc": "Quickly switch survival mode", diff --git a/package/lang/zh_cn.json b/package/lang/zh_cn.json index 9b3bef8..4602bad 100644 --- a/package/lang/zh_cn.json +++ b/package/lang/zh_cn.json @@ -72,6 +72,14 @@ "command.func.expl.set": "设置爆炸破坏地形为:%d", "command.func.ncud.desc": "开关阻止NC更新", "command.func.ncud.set": "设置阻止NC更新为%d", + "command.func.ncrob.desc": "开关无视阻挡打开容器", + "command.func.ncrob.set": "设置无视阻挡打开容器为%d", + "command.func.nccost.desc": "开关无消耗发射器/投掷器", + "command.func.nccost.set": "设置无消耗发射器/投掷器为%d", + "command.func.fbld.desc": "修改强制方块放置等级", + "command.func.fbld.set": "设置强制方块放置等级为%d", + "command.func.grng.desc": "设置高斯随机数的缩小倍率(<0不生效,0为无限小)", + "command.func.grng.set": "设置高斯随机数的缩小倍率为%d", "command.o.desc": "快捷切换观察者模式", "command.o.set": "设置玩家[%s]为观察者模式", "command.s.desc": "快捷切换生存模式",