Just Spawn Me There - 适用于 FabricMC 的模组
关于
此模组重写了原版重生系统的逻辑,使玩家不会在建筑物上方重生。
使用方法
要为所有人设置世界出生点,请使用
/setworldspawn [pos] <angle>
其中:
pos- 必需参数,包含3个坐标值。这将是出生区域的中心。angle- 可选浮点数参数。决定玩家在重生时的朝向。
要修改出生半径,请使用
/gamerule spawnRadius [value]
其中:
value- 必需参数,为非负整数。如果将value设置为0,玩家将在 "/setworldspawn" 命令指定的确切位置重生。
最后,要选择出生区域的形状,请使用
/gamerule spawnShape [value]
value- 必需字符串参数,指定形状。你可以在CUBE(立方体)、BALL(球体)和VANILLA(原版)之间选择——这将决定玩家可能重生的出生区域形状。初始值为VANILLA,意味着重生系统将按照原版 Minecraft 的方式运行。
如果服务器在指定的出生区域内找不到安全的重生位置,它将对该次尝试使用原版行为。 失败的尝试将记录在服务器控制台中。
许可证
本模组采用 CC0 协议发布。欢迎学习其代码并将其融入你自己的项目中。
Just Spawn Me There - Mod for FabricMC
About
This mod rewrites logic behind vanilla respawning system, so players would not spawn on top of buildings.
How to Use
To set world spawn for everyone, use
/setworldspawn [pos] <angle>
Where:
pos- required argument of 3 coordinates. This would be the center of spawn region.angle- not required float argument. Determines in which direction you will be looking upon respawn.
To modify spawn radius, use
/gamerule spawnRadius [value]
Where:
value- required argument of non-negative integer. Ifvalueis set to0, players will respawn at exact location specified by "/setworldspawn" command.
And finally, to select the shape of your spawn region, use
/gamerule spawnShape [value]
value- required string argument with the specified shape. You can choose betweenCUBE,BALLandVANILLA- this would determine the shape of spawn region where players might respawn. Initially it is set toVANILLA- that means, respawn system will work as it does in vanilla Minecraft.
If server could not find a safe respawn location in specified spawn region, it will use vanilla behaviour for this attempt. Unsuccessful attempts will be logged in the server console.
License
This mod is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
下载 Just Spawn Me There
下载 Just Spawn Me There
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Spawn Me There
下载 Just Spawn Me There
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Spawn Me There
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧