Sensible Sleepiness
一款小型的服务器端 Fabric 模组,允许每位玩家选择自己与幻翼(Phantoms)交互的方式。玩家可以通过命令在三种“困倦”模式中选择一种。不过,此模组不会覆盖 doInsomnia 游戏规则。也就是说,如果该规则被设置为 false,那么无论玩家的困倦模式如何,都不会为任何人生成幻翼。
失眠模式
/sleepy-mode insomnia
这是默认模式的困倦模式,适合希望为自己保留原版幻翼行为的玩家。
嗜睡模式
/sleepy-mode hypersomnia
启用此模式的玩家周围将不会生成幻翼。同时,已生成的幻翼也将对这类玩家不可见。
梦游模式
/sleepy-mode parasomnia
此模式会增加幻翼的难度:随着玩家连续不眠之夜的增加,幻翼会变得更大且造成更多伤害。宽限期也会变短。虽然存在幻翼以较小群体出现的可能性,但这种可能性会随着不眠之夜的增加而降低。
为了弥补难度的增加,为此模式启用的玩家生成的幻翼将有更高的几率掉落更多经验值,并在死亡时提供更好的战利品掉落几率。
你可以直接运行以下命令查看当前的困倦模式:
/sleepy-mode.
默认困倦模式
作为服务器管理员,你还可以通过运行以下命令为新玩家设置默认的困倦模式:
/gamerule defaultSleepyMode <sleepyMode>
其中 <sleepyMode> 可以是以下之一:
Insomnia
Hypersomnia
Parasomnia
支持
如果你想报告错误或提出建议,可以通过模组的 问题追踪器 进行反馈。
鸣谢
- 感谢 @Baconbacon123 为本模组提供了灵感和名称。
Sensible Sleepiness
A small, server-side Fabric mod to allow each player to select how they want to interact with Phantoms. Players can select between one of three "sleepy" modes via commands. However, this mod does not override the doInsomnia gamerule. That is, if it set to false, then no Phantoms will spawn for everyone, regardless of their sleepy mode.
Insomnia mode
/sleepy-mode insomnia
This is the default sleepy mode for those who want to keep the vanilla behaviour of Phantoms for themselves.
Hypersomnia mode
/sleepy-mode hypersomnia
This mode prevents Phantoms from spawning around the player with the mode enabled. They will also become invisible to already spawned Phantoms.
Parasomnia mode
/sleepy-mode parasomnia
This mode increases the difficulty of Phantoms by making them bigger and deal more damage the more nights the player has gone without sleeping. The period of grace becomes shorter. Though there is a chance that Phantoms will appear in smaller groups, this chance will only decrease the more nights go by without sleeping.
To compensate for the added difficulty, Phantoms spawned for players with this mode enabled will have higher chances to drop more experience, and better chances to drop loot upon death.
You can view your current sleepy mode by simply running
/sleepy-mode.
Default sleepy mode
As a server admin, you can also select the default sleepy mode for new players by running
/gamerule defaultSleepyMode <sleepyMode>
Where <sleepyMode> can be one of the following:
Insomnia
Hypersomnia
Parasomnia
Support
If you would like to report a bug, or make a suggestion, you can do so via the mod's issue tracker.
Credits
- Thanks to @Baconbacon123 for giving me the idea and name for this mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧