抑制
介绍 Inhibited!一款小巧简单的模组,新增一种药水效果:Inhibited,其功能实质上模拟了创造模式(/gamemode 2)。

它的作用
当此效果激活时,玩家实际上处于冒险模式——类似于生存模式,但他们无法放置方块也无法破坏方块。与箱子、门、拉杆、按钮、生物等的交互均完全正常运作!
为何此效果有用
对于我即将推出的整合包,我希望有一种方法能在自定义结构(在本例中为自定义制作的 Recurrent Complex 结构)中的命令方块里将玩家置入冒险模式。这意味着地牢探索、战斗以及尤其是 Boss 战无法通过 Minecraft 的破坏/放置行为来取巧,同时允许世界的其余部分/地图保持经典的 Minecraft 沙盒体验!
能给我一些例子吗?
- 当然可以。如果你创建了一个自定义区域,比如村庄集市,并且不希望玩家破坏/摧毁其设计,你可以在他们进入该区域时给予他们这种效果。
- 如何使用像 ROTM 这样的模组让某些生物在攻击时赋予此效果呢?在抑制状态下,玩家被迫进行战斗,而不是“随便建建算了”(《堡垒之夜》回忆杀?)。
- 创建一个 Boss 竞技场,当玩家靠近时给予他们这种效果,从而将竞技场变成一个真正的战场。
- 你是否花了很长时间用 RC 创建史诗般的地下城,结果玩家却挖穿墙壁去获取好的战利品?现在他们不能了!有了这种效果,玩家必须按照你 intended 的方式探索地下城。
为什么需要做成药水效果?
有很多原因,但最主要的是:
- 它可以每 tick 通过命令方块或其他模组手段(如 Set Bonus、In Control 等)一致地应用。你可以让整个(特定/其他)维度变为仅限冒险模式!
- 当玩家走出一个区域时,效果必须在他们离开时消失。
- 当玩家死亡时,他们必须复活回之前所处的模式(如果是之前的模式为生存,则回到生存模式)。
- 如果玩家使用某种技巧 teleport 出去,而不是步行离开呢?这种情况下效果也需要消失。
通过将这一切做成药水效果,你可以实现上述所有功能。
30 秒内无粒子效果的示例命令:/effect Player inhibited:inhibited 30 0 true
此模组是为 Minecraft 1.12.2 定制的。
Inhibited
Introducing Inhibited! A small, simple mod which adds one potion effect: Inhibited, which effectively mimics adventure mode (/gamemode 2).

What it does
While this effect is active, players are effectively in Adventure Mode – It‘s like Survival, but they cannot place blocks and they cannot break blocks. Interactions with chests, doors, levers, buttons, mobs, etc. all function totally normally!
Why this effect is useful
For my upcoming modpack, I wanted a way to have a command block within a custom structure (in this case, custom-made Recurrent Complex structures) that would place players into adventure mode. This means that dungeon crawling, battles, and especially boss fights cannot be cheesed with minecraft breaking/placing, while allowing the entire rest of the world/map to be the classic minecraft sandbox!
Give me some examples?
- Sure. If you created a custom area, like a village marketplace and you didn‘t want players breaking/destroying the design, you could give them this effect as they enter the zone.
- How about using a mod like ROTM to have certain mobs give this effect upon attack? While inhibited, players are forced to fight, instead of „just build, lol“ (fortnite flashbacks?).
- Create a boss arena, where when the player approaches they are given this effect, effectively rendering the arena a true battleground.
- Did you spend a long time creating epic dungeons with RC only to have players mine through the walls to the good loot? Now they can‘t! With this effect, players must dungeon-crawl the way you intended.
Why did this need to be a potion effect?
There are many reasons, but the biggest ones are:
- It can be consistently applied every tick with command blocks, or other modded means like Set Bonus, In Control, etc. You could make entire (specific/other) dimensions adventure-mode only!
- When players walk-to-exit an area, the effect must wear off when they leave.
- When players die, they must respawn back in the previous mode they were in (survival, if that‘s the previous mode)
- What about if players used some technique to teleport out, that isn‘t walking out? The effect also needs to wear off then.
By making this a Potion Effect, you allow all of the above to be applicable.
Example command for 30 seconds without particles: /effect Player inhibited:inhibited 30 0 true
This mod was commissioned for Minecraft 1.12.2.
评论 0
登录后参与评分
还没有评论,来抢沙发吧