FSit Continued
[!IMPORTANT]
这是由 rvbsm 开发的 FSit 的社区续作,由于原作者已长时间无法联系。
该项目仅旨在让模组保持活力并为新版 Minecraft 提供更新。
如果原作者回归并联系我们,我们将立即下架本项目。
原版模组的所有功劳归于 rvbsm。采用 MIT 许可证。
这是一个可自定义的服务端模组,允许玩家坐下、爬行以及骑乘彼此。
同时也支持客户端,
它允许玩家通过使用客户端配置
以及添加一些客户端模组的改进功能来提升体验。
[!NOTE]
灵感来源于 GSit Spigot 插件。
用法
仅在服务器上安装此模组即可,玩家无需强制安装也能使用。
然而,在客户端安装将为使用该模组的玩家带来一些便利性改进(QoL)。
例如客户端配置、更好的爬行体验以及按键绑定。
与方块交互
与可以坐下的方块的顶部进行交互,即可开始坐在上面。

受 sitting.enabled 控制。
与玩家交互
与任何玩家进行交互以开始骑乘他们。
点击骑乘堆叠中的任何人,你将会骑在最上面的玩家身上。

通过 riding.max-yaw-difference 控制角度差。
潜行
向下看时双击潜行键即可立即坐下。
在洞口附近做同样的操作,则会开始爬行(除非设置了其他行为)。
(sneak-activation.prefer-crawl-in-tight-space)
最小俯仰角和潜行窗口期可以通过
sneak-activation.min-pitch-down 和
sneak-activation.window-ticks 分别进行配置。
命令
姿势命令:
/sit — 在你站立的位置坐下
/crawl — 开始爬行
/lay — 躺下(实验性功能)
/fsit 下的模组命令:
/fsit reload — 重新读取配置文件(仅限 OP)
/fsit mount-angle set <0..180> / /fsit mount-angle query — 运行时调整 riding.max-yaw-difference(仅限 OP)
/fsit hands add <item|#tag> / remove / clear / reset / list — 你自己的物品列表,这些物品在坐下/骑乘检查中不被视为“占满”的手。
默认值为火把和不死图腾,这样你可以拿着它们的同时依然可以坐下。
所有玩家均可用,列表按玩家保存。
/fsit teleport <vanilla|disabled|enhanced> / /fsit teleport query — 当你传送时,骑在你身上的乘客会发生什么(仅限 OP,全局生效):
vanilla — 乘客随你在同维度一起移动,跨维度传送时会被留下
disabled — 在任何传送前将乘客掉落
enhanced — 乘客跟随你,包括跨维度传送(推荐)
按键绑定(客户端)
使用按键绑定来开始坐下(默认:RCtrl)或爬行(默认:RAlt)。
按键绑定有三种模式:按住、切换和混合。
按住和切换的工作方式与原版相同。
混合是一种介于两者之间的机制,单次点击时作为切换使用,按住时作为按住使用。
混合模式下按住和切换之间的窗口期可以在配置屏幕中进行配置。
配置
如前所述,如果玩家在客户端安装了此模组,他们可以使用自己的配置。
否则,将使用服务器配置。
可以通过 /fsit reload 从文件重新加载配置。
对于客户端,如果安装了 Mod Menu 和 YetAnotherConfigLib,则可以通过它们修改配置。
默认配置文件
# FSit configuration. Do not edit `version` by hand.
# On a dedicated server: `/fsit reload` re-reads this file.
# On the client: reloading local config requires a game restart.
version: 2
use-server-config: false
# Sitting on blocks (e.g. slabs, stairs).
sitting:
enabled: true
behavior: moveable
centered: false
blocks:
- '#minecraft:slabs'
- '#minecraft:stairs'
- '#minecraft:logs'
- '#minecraft:fences'
- '#minecraft:walls'
# Riding other players (interact with a player to sit on their head).
# teleport-mode is server-wide (ops only). Possible values:
# vanilla -> let teleports happen as-is (passengers ride along same-dim,
# stay behind on cross-dim — and may crash without 'enhanced')
# disabled -> drop passengers before any teleport
# enhanced -> carry passengers along, including across dimensions (recommended)
riding:
enabled: true
max-yaw-difference: 180
teleport-mode: vanilla
# Double-sneak shortcuts for entering sit/crawl poses.
sneak-activation:
enabled: true
window-ticks: 10
min-pitch-down: 60
prefer-crawl-in-tight-space: true
# Commands.
# true -> enabled with default name
# false -> command is not registered
# "name" -> enabled with a custom name (e.g. lay: sleep)
# A server restart is required for command changes to take effect.
commands:
root: true
sit: true
crawl: true
lay: true
选项详情
use-server-config
设置为 true 时,强制所有玩家(服务器)或单个玩家(客户端)使用服务器配置。
启用此选项将忽略客户端的姿势更新,仅保留服务器到客户端的同步。
sitting.enabled
允许通过与方块交互来坐下。
sitting.behavior
控制坐下行为。可能的值:static、attached、moveable。
static – 无效果,忽略所有设置;
attached – 如果座位下方没有任何支撑方块,则将其移除;
moveable – 座位可以被流体、活塞等推动。若失去支撑方块则会开始掉落。
sitting.centered
将座位放置在方块的中央位置。
sitting.blocks
可用于交互的方块和方块标签列表。
riding.enabled
允许通过与其它玩家交互来进行骑乘。
riding.max-yaw-difference
当值为 1..180 时,控制玩家水平朝向角度之间的差值以允许通过交互进行骑乘。
设为 0 会禁用骑乘交互,设为 180 则完全移除限制。
也可以在游戏运行时通过 /fsit mount-angle set <0..180> 进行修改。
riding.teleport-mode
玩家在传送时,乘客的全局行为模式。可选值:vanilla、disabled、enhanced。
vanvailla – 乘客在同一维度内跟随移动,跨维度传送时会被留下;
disabled – 在传送前将乘客丢弃(摔落);
enhanced – 乘客跟随你一起传送,包括跨维度(推荐)。
也可以在游戏运行时通过 /fsit teleport <vanilla|disabled|enhanced> 进行修改(仅限 OP)。
sneak-activation.enabled
启用双击潜行快捷键以实现坐下和爬行。
sneak-activation.prefer-crawl-in-tight-space
如果附近有空间缺口,则优先开始爬行而非坐下。
sneak-activation.min-pitch-down
开始注册潜行动作所需的最小玩家俯仰角。
其中 90 表示垂直向下,-90 表示忽略玩家俯仰角。
sneak-activation.window-ticks
两次潜行动作被识别为双击潜行动作的间隔刻度窗口。
设置为 0 会禁用潜行动作。
commands.*
各命令的独立开关。每个命令(root、sit、crawl、lay)接受以下值:
true – 使用默认名称注册;
false – 不注册;
"name" – 使用自定义名称注册(例如 lay: sleep)。
命令更改需要重启服务器才能生效。
许可证
本项目与原版一样,采用 MIT 许可证 授权。
FSit Continued
[!IMPORTANT]
This is a community continuation of FSit by rvbsm, who has been unreachable for an extended period.
This project exists solely to keep the mod alive and updated for newer Minecraft versions.
It will be taken down immediately if the original author returns and contacts us.
All credit for the original mod goes to rvbsm. Licensed under MIT.
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 sitting.enabled.
Interacting with players
Interact with any player to start riding them.
Clicking anyone in a riding stack will mount you on the topmost player.

Control angle difference with riding.max-yaw-difference.
Sneaking
Double sneak while looking down to sit right away.
Doing the same, but near the hole, will start crawling otherwise.
(sneak-activation.prefer-crawl-in-tight-space)
Minimal pitch and the sneak window can be configured with
sneak-activation.min-pitch-down and
sneak-activation.window-ticks accordingly.
Commands
Pose commands:
/sit — sit down where you stand
/crawl — start crawling
/lay — lay down (experimental)
Mod commands under /fsit:
/fsit reload — re-read the configuration file (op only)
/fsit mount-angle set <0..180> / /fsit mount-angle query — adjust riding.max-yaw-difference at runtime (op only)
/fsit hands add <item|#tag> / remove / clear / reset / list — your own list of items that don't count as a "full" hand for the sit/mount checks.
Defaults to torch and totem of undying, so you can hold them and still sit down.
Available to every player, list is saved per-player.
/fsit teleport <vanilla|disabled|enhanced> / /fsit teleport query — what happens to anyone sitting on you when you teleport (op only, server-wide):
vanilla — passengers ride along same-dimension, get left behind on cross-dimension teleport
disabled — passengers are dropped before the teleport
enhanced — passengers follow you, including across dimensions (recommended)
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
# FSit configuration. Do not edit `version` by hand.
# On a dedicated server: `/fsit reload` re-reads this file.
# On the client: reloading local config requires a game restart.
version: 2
use-server-config: false
# Sitting on blocks (e.g. slabs, stairs).
sitting:
enabled: true
behavior: moveable
centered: false
blocks:
- '#minecraft:slabs'
- '#minecraft:stairs'
- '#minecraft:logs'
- '#minecraft:fences'
- '#minecraft:walls'
# Riding other players (interact with a player to sit on their head).
# teleport-mode is server-wide (ops only). Possible values:
# vanilla -> let teleports happen as-is (passengers ride along same-dim,
# stay behind on cross-dim — and may crash without 'enhanced')
# disabled -> drop passengers before any teleport
# enhanced -> carry passengers along, including across dimensions (recommended)
riding:
enabled: true
max-yaw-difference: 180
teleport-mode: vanilla
# Double-sneak shortcuts for entering sit/crawl poses.
sneak-activation:
enabled: true
window-ticks: 10
min-pitch-down: 60
prefer-crawl-in-tight-space: true
# Commands.
# true -> enabled with default name
# false -> command is not registered
# "name" -> enabled with a custom name (e.g. lay: sleep)
# A server restart is required for command changes to take effect.
commands:
root: true
sit: true
crawl: true
lay: true
Options details
use-server-config
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.
sitting.enabled
Allows sitting by interacting with blocks.
sitting.behavior
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.
sitting.centered
Place seats in the centre of the block.
sitting.blocks
List of blocks and block tags that are available to interact with.
riding.enabled
Allows riding by interacting with other players.
riding.max-yaw-difference
When 1..180, controls the difference between players' horizontal facing angle to allow riding by interaction.
0 disables riding interactions, 180 removes the restriction entirely.
Can also be changed at runtime with /fsit mount-angle set <0..180>.
riding.teleport-mode
Server-wide behavior for passengers when a player teleports. Possible values: vanilla, disabled, enhanced.
vanilla – passengers ride along same-dimension, get left behind on cross-dimension teleport;
disabled – passengers are dropped before the teleport;
enhanced – passengers follow you, including across dimensions (recommended).
Can also be changed at runtime with /fsit teleport <vanilla|disabled|enhanced> (ops only).
sneak-activation.enabled
Enables double-sneak shortcuts for sitting and crawling.
sneak-activation.prefer-crawl-in-tight-space
Starts crawling instead of sitting if there is a hole nearby.
sneak-activation.min-pitch-down
Minimal required player pitch to start registering sneak actions.
Where 90 is straight down, and -90 ignores player pitch.
sneak-activation.window-ticks
The window in ticks between sneaks to be recognized as double sneak action.
Setting to 0 disables sneak actions.
commands.*
Per-command toggle. Each command (root, sit, crawl, lay) accepts:
true – registered with the default name;
false – not registered;
"name" – registered with a custom name (e.g. lay: sleep).
A server restart is required for command changes to take effect.
License
This project, like the original, is licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧