FSit
允许玩家坐下、爬行并骑乘他人的可定制服务端模组。 同时也支持客户端, 通过客户端配置和添加一些客户端行为改进, 玩家可以借此提升体验。
[!NOTE] 灵感来源于 GSit Spigot 插件。
用法
仅在服务器安装此模组即可,玩家无需安装也能使用。
然而,在客户端安装会为玩家带来一些 QoL(生活质量)改进。 例如客户端配置、更优的爬行机制以及按键绑定。
与方块交互
与可以坐下的方块的顶部进行交互,即可开始坐下。

由 block-interaction 控制。
与玩家交互
与任意玩家进行交互即可开始骑乘他们。

角度差由 riding-minimum-yaw 控制。
潜行
向下看时双击潜行键即可立即坐下。
若在洞穴附近执行相同操作,则会开始爬行。 (sneak-crawling)
最小俯仰角和最大潜行窗口可通过 sneak-minimum-pitch 和
sneak-window 分别进行配置。
命令
提供了用于相应操作的 /sit 和 /crawl 命令。
按键绑定 (客户端)
使用按键绑定开始坐下(默认:RCtrl)或爬行(默认:RAlt)。
按键绑定有三种模式:按住、切换 和 混合。 按住 和 切换 的工作方式与原版相同。 混合 是一种介于两者之间的机制,单次点击效果如同切换,按住则效果如同按住。 混合 模式在 按住 和 切换 之间的窗口期可在配置界面中进行设置。
配置
如前所述,如果玩家在客户端安装了此模组,他们可以使用自己的配置。 否则将使用服务器配置。
可以通过 /fsit reload 从文件重新加载配置。
对于客户端,在安装 Mod Menu 和 YetAnotherConfigLib 后,可以通过它们修改配置。
默认配置文件
use-server: false
seats-trait: moveable
seats-centered: false
block-interaction: true
block-interaction-ids:
- '#minecraft:slabs'
- '#minecraft:stairs'
- '#minecraft:logs'
- '#minecraft:fences'
riding-minimum-yaw: 45
sneak-window: 10
sneak-minimum-pitch: 60
sneak-crawling: true
commands:
root: fsit
sit: sit
crawl: crawl
lay: lay
选项详情
use-server
设置为 true 时,强制所有玩家(服务器端)或单个玩家(客户端)使用服务器配置。
启用此选项将忽略客户端姿态更新,仅保留服务器到客户端的同步。
seats-trait
控制坐姿行为。可能的值:static、attached、moveable。
static– 不执行任何操作,忽略一切;attached– 如果座位下方没有任何支撑方块,座位将被丢弃;moveable– 座位可以被流体、活塞等推动。若无支撑方块将会掉落。
seats-centered
将座位放置在方块的中心。
block-interaction
允许通过与方块交互来坐下。
riding-minimum-yaw
当值为 1..180 时,允许通过与玩家交互来骑乘。 设置为 0 禁用骑乘交互,设置为 180 则移除限制。
该选项控制玩家水平朝向角度的差异,以允许通过交互进行骑乘。
block-interaction-ids
可用交互的方块和方块标签列表。
sneak-crawling
如果附近有洞穴,则开始爬行而不是坐下。
sneak-minimum-pitch
开始注册潜行动作所需的最小玩家俯仰角。 其中 90 表示垂直向下,-90 表示忽略玩家俯仰角。
sneak-window
两次潜行之间被识别为双击潜行动作的间隔刻度数。 设置为 0 将禁用潜行动作。
贡献
欢迎提交 Pull Request。
对于重大更改,请先开启 Issue 讨论您想要更改的内容。
翻译
非常欢迎新的或更新的翻译, 它们位于 src/main/resources/assets/fsit/lang。
键为 *.description.1 的字段是不确定的,可以有多行,
您可以随时根据需要创建带有 description.<n> 的新键或删除现有键。
构建
该项目使用 FabricMC 和 Stonecutter 进行多版本管理。
> ./gradlew build
要运行特定版本,请使用 Stonecutter 切换到该版本,然后运行 IDE 提供的版本配置,或者
> ./gradlew "Set active project to [version]"
> ./gradlew [version]:runClient # 或
> ./gradlew [version]:runServer
发布通过 publishMods 任务完成。
需要提供 MODRINTH_TOKEN 环境变量,否则任务将以干跑模式运行。
> ./gradlew chiseledPublish
许可证
本项目采用 MIT License 许可。
FSit
Customizable server-side mod that allows players to sit, crawl, and ride each other. Client-side is supported too, it allows players to improve their experience by using client configuration and adding some client-side mod behaviour improvements.
[!NOTE] Inspired by GSit Spigot plugin.
Usage
Having this mod installed on the server is enough, players are not forced to have it to be able to use it.
However, installation on the client will bring some QoL improvements for players using this mod. Such as client configuration, better crawling, and key bindings.
Interacting with blocks
Interact with the topside of the block, that can be sat on, to start sitting on them.

Controlled with block-interaction.
Interacting with players
Interact with any player to start riding them.

Control angle difference with riding-minimum-yaw
Sneaking
Double sneak while looking down to sit right away.
Doing the same, but near the hole, will start crawling otherwise. (sneak-crawling)
Minimal pitch and maximum sneak window can be configured with sneak-minimum-pitch and
sneak-window accordingly.
Commands
/sit and /crawl commands for corresponding actions are available.
Key bindings (client)
Use key bindings to start sitting (default: RCtrl) or crawling (default: RAlt).
Key bindings have three modes: Hold, Toggle, and Hybrid. Hold and Toggle works the same as Vanilla. Hybrid is an in-between mechanic, that works as Toggle on single-use and as Hold on holding. The Hybrid window between Hold and Toggle can be configured from the Configuration Screen.
Configuration
As was stated before, players can use their own configurations if they have this mod installed on the client. Otherwise, server configuration will be used.
Configuration can be reloaded from the file with /fsit reload.
For clients, configuration can be modified with Mod Menu and YetAnotherConfigLib installed.
Default configuration file
use-server: false
seats-trait: moveable
seats-centered: false
block-interaction: true
block-interaction-ids:
- '#minecraft:slabs'
- '#minecraft:stairs'
- '#minecraft:logs'
- '#minecraft:fences'
riding-minimum-yaw: 45
sneak-window: 10
sneak-minimum-pitch: 60
sneak-crawling: true
commands:
root: fsit
sit: sit
crawl: crawl
lay: lay
Options details
use-server
When set to true, forces all players (server) or player (client) to use server configuration.
Enabling this option will ignore client pose updates, leaving only server-to-client synchronization.
seats-trait
Controls sitting behaviour. Possible values: static, attached, moveable.
static– does nothing, ignores everything;attached– seats will be discarded if they do not have any supporting block underneath;moveable– seats can be pushed by fluids, pistons, etc. Will start falling without a supporting block.
seats-centered
Place seats in the centre of the block.
block-interaction
Allows sitting by interacting with blocks.
riding-minimum-yaw
When 1..180, allows riding by interacting with players. Setting to 0 disables riding interactions, and 180 removes restriction.
The option controls a difference between players' horizontal facing angle to allow riding by interaction.
block-interaction-ids
List of blocks and block tags that are available to interact with.
sneak-crawling
Starts crawling instead of sitting if there is a hole nearby.
sneak-minimum-pitch
Minimal required player pitch to start registering sneak actions. Where 90 is straight down, and -90 ignores player pitch.
sneak-window
The window in ticks between sneaks to be recognized as double sneak action. Setting to 0 disables sneak actions.
Contributing
Pull requests are welcome.
For major changes, please open an issue first to discuss what you would like to change.
Translations
New or updated translations are more than appreciated, they can be found at src/main/resources/assets/fsit/lang.
Fields with keys *.description.1 are indefinite and can have any number of lines,
you are free to create new or remove keys with description.<n> when needed.
Building
The project uses FabricMC and Stonecutter for multi-versioning.
> ./gradlew build
To run a specific version, switch to that version with Stonecutter, and run version configuration provided by IDE, or
> ./gradlew "Set active project to [version]"
> ./gradlew [version]:runClient # or
> ./gradlew [version]:runServer
Publishing is done with publishMods task.
Requires MODRINTH_TOKEN environment variable to be provided, otherwise the task will dry-run.
> ./gradlew chiseledPublish
License
This project is licensed under the MIT License.
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FSit
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
已修复
- 解决在加入之前受限制的玩家后,打开社交互动界面时崩溃的问题。感谢 #23!
v3.1.0-alpha.1 的重新发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧