Chairborne — Java 版
随处坐下。将基岩版 Chairborne 模组忠实移植至 Java 版。
工作原理
/sit 随处坐下 —— 可用
/stand 重新站起 —— 可用
向下看 + 潜行点击 自动坐下手势 —— 可用
/lay 即将推出(初版发布时导致相机问题)
当你使用 /sit 时,会在你的位置生成一个隐形的盔甲架(ArmorStand),你骑乘它。原版 Minecraft 会自动处理坐下的动画和位置锁定 —— 无需客户端模组、无需 Mixins、无需实验性特性。
/sit 随处坐下
/stand 重新站起
Minecraft Java 版 26.2(最新稳定版)
Fabric Loader 0.19.3
Fabric API 0.156.0+26.2(必需依赖项)
Java SE / JDK 25
步骤
为 Minecraft 26.2 安装 Fabric Loader
下载 Fabric API 并将其放入 mods/ 文件夹
下载 ciservermodding-chairborne-1.0.0.jar 并将其放入 mods/ 文件夹
启动游戏并使用 /sit
服务器安装
将 Fabric API jar 文件和 Chairborne jar 文件都放入服务器的 mods/ 文件夹中。连接到服务器的客户端无需安装该模组 —— 所有逻辑均在服务器端运行。坐下动画由原版骑乘机制处理。
兼容性
仅服务端 —— 客户端不需要模组
无 Mixins
无客户端代码
无实验性或测试版 API
无自定义物品、方块或实体(使用原版盔甲架)
与所有其他 Fabric 模组兼容
技术细节
该模组在玩家位置生成一个隐形、无重力、无底座的盔甲架。玩家骑乘盔甲架,这会触发所有客户端的原版坐下动画(isPassenger = true)。盔甲架被放置在玩家下方 2 个方块处,以补偿原版骑乘高度的偏移量。
潜行手势检测:对潜行按键进行上升/下降沿检测,并设置最大持续时间为 6 tick(0.3 秒),以区分“单击”和“长按”
俯仰角阈值:向下 60 度触发坐下
清理:当玩家站起、离开或不再骑乘时,盔甲架会被销毁
与基岩版的区别
/sit 隐形可骑乘实体 隐形盔甲架
/lay 记分板触发动画 即将推出
/stand 弹出并移除实体 stopRiding + 销毁盔甲架
潜行手势 向下看/向上看 + 蹲伏点击 向下看 + 潜行点击
是否需要客户端模组 否 否
鸣谢
作者:CIServerModding
原始基岩版模组:Chairborne (Bedrock)
Java 版移植:ClockSplice + AI Help
许可证
保留所有权利。未经 Mojang 或 Microsoft 批准或关联。
Chairborne — Java Edition
Sit down anywhere. A faithful Fabric port of the Bedrock Chairborne mod to Java Edition.
How It Works
/sit Sit down anywhere — works
/stand Stand back up — works
Look down + sneak-click Auto-sit gesture — works
/lay Coming soon (caused camera issues in initial release)
When you use /sit, an invisible ArmorStand spawns at your position and you ride it. Vanilla Minecraft handles the sitting animation and position lock automatically — no client-side mod, no Mixins, no experiments.
/sit Sit down anywhere
/stand Stand back up
Minecraft Java Edition 26.2 (latest stable)
Fabric Loader 0.19.3
Fabric API 0.156.0+26.2 (required dependency)
Java SE / JDK 25
Steps
Install Fabric Loader for Minecraft 26.2
Download Fabric API and place it in your mods/ folder
Download ciservermodding-chairborne-1.0.0.jar and place it in your mods/ folder
Launch the game and use /sit
Server Installation
Place both the Fabric API jar and the Chairborne jar in the server's mods/ folder. Clients connecting to the server do not need the mod installed — all logic runs server-side. The sitting animation is handled by vanilla riding mechanics.
Compatibility
Server-side only — clients don't need the mod
No Mixins
No client-side code
No experiments or beta APIs
No custom items, blocks, or entities (uses vanilla ArmorStand)
Works with all other Fabric mods
Technical Details
The mod uses an invisible, no-gravity, no-base-plate ArmorStand spawned at the player's position. The player rides the ArmorStand, which triggers the vanilla sitting animation (isPassenger = true) on all clients. The ArmorStand is positioned 2 blocks below the player to compensate for the vanilla ride height offset.
Sneak gesture detection: Rising/falling edge detection on sneak key, with a 6-tick (0.3s) max hold threshold to distinguish a "click" from a "hold"
Pitch threshold: 60 degrees down triggers sit
Cleanup: ArmorStands are discarded when the player stands up, leaves, or is no longer riding
Differences from Bedrock
/sit Invisible rideable entity Invisible ArmorStand
/lay Scoreboard-triggered animation Coming soon
/stand Eject + remove entity stopRiding + discard ArmorStand
Sneak gestures Look down/up + crouch-click Look down + sneak-click
Client mod required No No
Credits
Author: CIServerModding
Original Bedrock mod: Chairborne (Bedrock)
Java port: ClockSplice + AI Help
License
All Rights Reserved. Not approved by or associated with Mojang or Microsoft.
评论 0
登录后参与评分
还没有评论,来抢沙发吧