Simple Sit
Simple Sit 是一个极简的 Fabric 模组,专注于提供干净的坐下交互体验。它允许玩家通过右键点击或命令在常见方块上坐下,正常使用不需要 OP 权限。
特性
- 右键点击地毯坐下
- 右键点击楼梯坐下
- 可选支持台阶和床
- 采用隐藏的 Seat 实体实现
- 占用检测功能,防止多名玩家坐在同一位置
- 按
Shift 起身
- 移动或跳跃时自动起身
- 使用
/sit 命令原地坐下
- 通过命令和配置文件进行简单的管理员配置
- 服务端优先设计,适合多人服务器
依赖
本模组需要以下依赖:
Fabric API
Fabric Language Kotlin
安装
专用服务器
将以下文件放入服务器的 mods 目录中:
simple-sit-<version>-fabricmc<mc-version>.jar
fabric-api
fabric-language-kotlin
客户端通常无需安装此模组即可加入并使用。
单人游戏
单人游戏运行的是集成服务器,因此模组及其依赖也必须安装在本地客户端上。
用法
玩家操作
- 右键点击支持的方块坐下
- 按
Shift 起身
- 移动或跳跃以自动起身
- 使用
/sit 原地坐下
支持的方块
默认启用:
每个类别都可以由管理员启用或禁用。
命令
玩家命令
管理员命令
| 命令 |
描述 |
/sitadmin reload |
重新加载配置文件 |
/sitadmin set enabled <true|false> |
启用或禁用模组 |
/sitadmin set requireSneakRightClick <true|false> |
要求潜行 + 右键点击 |
/sitadmin set requireEmptyHand <true|false> |
要求空手 |
/sitadmin set allowStairs <true|false> |
切换楼梯坐下功能 |
/sitadmin set allowCarpets <true|false> |
切换地毯坐下功能 |
/sitadmin set allowSlabs <true|false> |
切换台阶坐下功能 |
/sitadmin set allowBeds <true|false> |
切换床坐下功能 |
/sitadmin set allowCommandSit <true|false> |
切换 /sit 命令 |
配置
配置文件路径:
config/simple-sit.json
默认内容:
{
"enabled": true,
"requireSneakRightClick": false,
"requireEmptyHand": true,
"allowStairs": true,
"allowCarpets": true,
"allowSlabs": true,
"allowBeds": true,
"allowCommandSit": true
}
中文
Simple Sit 是一个面向 Fabric 的极简坐下模组,允许玩家通过右键或命令在常见方块上坐下,不需要复杂的界面,也不要求普通玩家拥有 OP 权限。
英文文档:README_EN.md
特性
- 右键地毯坐下
- 右键楼梯坐下
- 可选支持台阶和床
- 使用隐藏 Seat 实体实现坐下
- 自动检测座位占用,避免多人重叠坐下
- 按
Shift 起身
- 玩家尝试移动或跳跃时自动起身
- 提供
/sit 原地坐下命令
- 管理员可通过命令和配置文件控制行为
- 服务端优先设计,适合多人服务器使用
依赖
安装本模组时需要同时安装:
Fabric API
Fabric Language Kotlin
安装
多人服务器
将以下文件放入服务端 mods 目录:
simple-sit-<版本>-fabricmc<游戏版本>.jar
fabric-api
fabric-language-kotlin
客户端通常不需要安装本模组即可连接和使用。
单人游戏
单人模式本质上是内置服务器,因此需要在本地客户端同时安装本模组和依赖。
使用方式
玩家操作
- 右键支持的方块坐下
- 按
Shift 起身
- 尝试移动或跳跃时自动起身
- 输入
/sit 原地坐下
支持的方块
默认支持:
管理员可以按需关闭其中任意一种。
命令
玩家命令
管理员命令
| 命令 |
说明 |
/sitadmin reload |
重新加载配置文件 |
/sitadmin set enabled <true|false> |
开启或关闭模组 |
/sitadmin set requireSneakRightClick <true|false> |
是否必须潜行右键才能坐下 |
/sitadmin set requireEmptyHand <true|false> |
是否必须空手右键 |
/sitadmin set allowStairs <true|false> |
是否允许楼梯坐下 |
/sitadmin set allowCarpets <true|false> |
是否允许地毯坐下 |
/sitadmin set allowSlabs <true|false> |
是否允许台阶坐下 |
/sitadmin set allowBeds <true|false> |
是否允许床坐下 |
/sitadmin set allowCommandSit <true|false> |
是否允许使用 /sit |
配置文件
配置文件路径:
config/simple-sit.json
默认内容:
{
"enabled": true,
"requireSneakRightClick": false,
"requireEmptyHand": true,
"allowStairs": true,
"allowCarpets": true,
"allowSlabs": true,
"allowBeds": true,
"allowCommandSit": true
}
Simple Sit
Simple Sit is a minimal Fabric mod focused on clean sitting interactions. It allows players to sit on common blocks with a right click or a command, without requiring OP for normal use.
Features
- Sit on carpets with right click
- Sit on stairs with right click
- Optional support for slabs and beds
- Hidden seat entity implementation
- Occupancy detection to prevent multiple players from sitting in the same spot
- Stand up with
Shift
- Automatically stand up when moving or jumping
/sit command for sitting in place
- Simple admin configuration through commands and config file
- Server-first design for multiplayer servers
Dependencies
This mod requires:
Fabric API
Fabric Language Kotlin
Installation
Dedicated server
Place the following files into the server mods directory:
simple-sit-<version>-fabricmc<mc-version>.jar
fabric-api
fabric-language-kotlin
Clients usually do not need to install this mod to join and use it.
Single-player
Single-player runs an integrated server, so the mod and its dependencies must also be installed on the local client.
Usage
Player actions
- Right click a supported block to sit
- Press
Shift to stand up
- Move or jump to stand up automatically
- Use
/sit to sit in place
Supported blocks
Enabled by default:
- Stairs
- Carpets
- Slabs
- Beds
Each category can be enabled or disabled by the administrator.
Commands
Player command
| Command |
Description |
/sit |
Sit at the current position |
Admin commands
| Command |
Description |
/sitadmin reload |
Reload the configuration file |
/sitadmin set enabled <true|false> |
Enable or disable the mod |
/sitadmin set requireSneakRightClick <true|false> |
Require sneak + right click |
/sitadmin set requireEmptyHand <true|false> |
Require an empty hand |
/sitadmin set allowStairs <true|false> |
Toggle stair sitting |
/sitadmin set allowCarpets <true|false> |
Toggle carpet sitting |
/sitadmin set allowSlabs <true|false> |
Toggle slab sitting |
/sitadmin set allowBeds <true|false> |
Toggle bed sitting |
/sitadmin set allowCommandSit <true|false> |
Toggle /sit |
Configuration
Config file path:
config/simple-sit.json
Default content:
{
"enabled": true,
"requireSneakRightClick": false,
"requireEmptyHand": true,
"allowStairs": true,
"allowCarpets": true,
"allowSlabs": true,
"allowBeds": true,
"allowCommandSit": true
}
中文
Simple Sit 是一个面向 Fabric 的极简坐下模组,允许玩家通过右键或命令在常见方块上坐下,不需要复杂的界面,也不要求普通玩家拥有 OP 权限。
English documentation: README_EN.md
特性
- 右键地毯坐下
- 右键楼梯坐下
- 可选支持台阶和床
- 使用隐藏 Seat 实体实现坐下
- 自动检测座位占用,避免多人重叠坐下
- 按
Shift 起身
- 玩家尝试移动或跳跃时自动起身
- 提供
/sit 原地坐下命令
- 管理员可通过命令和配置文件控制行为
- 服务端优先设计,适合多人服务器使用
依赖
安装本模组时需要同时安装:
Fabric API
Fabric Language Kotlin
安装
多人服务器
将以下文件放入服务端 mods 目录:
simple-sit-<版本>-fabricmc<游戏版本>.jar
fabric-api
fabric-language-kotlin
客户端通常不需要安装本模组即可连接和使用。
单人游戏
单人模式本质上是内置服务器,因此需要在本地客户端同时安装本模组和依赖。
使用方式
玩家操作
- 右键支持的方块坐下
- 按
Shift 起身
- 尝试移动或跳跃时自动起身
- 输入
/sit 原地坐下
支持的方块
默认支持:
管理员可以按需关闭其中任意一种。
命令
玩家命令
管理员命令
| 命令 |
说明 |
/sitadmin reload |
重新加载配置文件 |
/sitadmin set enabled <true|false> |
开启或关闭模组 |
/sitadmin set requireSneakRightClick <true|false> |
是否必须潜行右键才能坐下 |
/sitadmin set requireEmptyHand <true|false> |
是否必须空手右键 |
/sitadmin set allowStairs <true|false> |
是否允许楼梯坐下 |
/sitadmin set allowCarpets <true|false> |
是否允许地毯坐下 |
/sitadmin set allowSlabs <true|false> |
是否允许台阶坐下 |
/sitadmin set allowBeds <true|false> |
是否允许床坐下 |
/sitadmin set allowCommandSit <true|false> |
是否允许使用 /sit |
配置文件
配置文件路径:
config/simple-sit.json
默认内容:
{
"enabled": true,
"requireSneakRightClick": false,
"requireEmptyHand": true,
"allowStairs": true,
"allowCarpets": true,
"allowSlabs": true,
"allowBeds": true,
"allowCommandSit": true
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧