模组信息
此模组可防止玩家在雷暴期间在床上睡觉。这对于沉浸式或危险/恐怖主题的整合包非常有用。
安装方法
与大多数模组一样,该模组的安装非常简单:只需将其放入你的 mods 文件夹即可正常使用。它会自动生成一个配置文件,允许你编辑在雷暴期间尝试睡觉时显示的消息,以及启用或禁用该模组。
技术说明
这是一个仅服务端模组,可与原版客户端配合使用。该模组同时支持单人游戏和多人联机模式。
由于该模组通过注册事件订阅来捕获玩家任何试图在床上睡觉的行为,且不会修改基础事件本身,因此它应能与其他改变睡眠行为的模组兼容。
如果你添加了其他允许无需床铺即可睡觉的模组,本模组仅会影响正常的床铺睡眠行为;除非这些模组也使用了 Forge 的 PlayerSleepInBedEvent 事件类型,否则本模组将不会对其生效。若它们确实使用了该事件类型,则本模组也会改变这些模组的行为。
Mod Info
This mod prevents players from sleeping in a bed during a thunderstorm. This can be useful for immersive or danger/horror modpacks.
Installation
This mod is very simple like most mods, just drop into your mods folder and you're good to go. It will create a config file to allow you to edit the message shown when trying to sleep during a thunderstorm, and enable/disable the mod.
Technical
This is a server-side only mod, and will function with vanilla clients. This mod also works for both single and multiplayer modes.
This mod should work with any other mod that changes sleep behavior as it registers an event subscription to capture any time you attempt to sleep in a bed, without modifying the base event itself.
If you add other mods that allow you to sleep without a bed, this mod will only impact the normal bed sleeping unless the other mod also utilizes Forge's PlayerSleepInBedEvent type, then this mod will change the behavior of that mod as well.
评论 0
登录后参与评分
还没有评论,来抢沙发吧