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 syncing configuration and adding some client-side mod behaviour improvements.
Note
Inspired by GSit Spigot plugin.
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 configuration syncing, better crawling, key bindings, and riding restrictions.
Interact with the topside of the block, that can be sat on, to start sitting on them.
Controlled with on_use.sitting
and on_use.range
.
Interact with any player to start riding them.
Controlled with on_use.riding
and on_use.range
.
Players can restrict other players from riding them.
Can be accessed with Social Interactions Screen or using /fsit:client allow|restrict <player>
.
Double sneak while looking down to sit right away. (on_sneak.sitting
)
Doing the same, but near the hole, will start crawling otherwise. (on_sneak.crawling
)
Minimal pitch and maximum sneak window can be configured with on_sneak.min_pitch
and
on_sneak.delay
accordingly.
/sit
and /crawl
commands for corresponding actions are available.
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.
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 viewed or edited on the server with /fsit <option> [value]
.
Reloading from the file can be done with /fsit reload
.
For clients, configuration can be modified with Mod Menu and YetAnotherConfigLib installed.
What is that in the background?
WaveTech's villager trading matrix by cubicmetre designed by mrmaxmondays.
use_server: false
sitting:
behaviour: gravity
should_center: false
on_use:
sitting: false
riding: false
range: 2
check_suffocation: true
blocks:
- "#slabs"
- "#stairs"
- "#logs"
on_sneak:
sitting: true
crawling: true
min_pitch: 60.0
delay: 600
Options details
When set to true
, forces all players (server) or player (client) to use server's configuration.
Players' configuration will still be received and processed by the server, but will be ignored when accessed.
Re-disabling this option does not require resynchronizing players' configuration.
Controls sitting behaviour. Possible values: nothing
, discard
, gravity
.
nothing
– does nothing, ignores everything;discard
– seats will be discarded if they do not have any supporting block underneath;gravity
– seats can be pushed by fluids, pistons, etc. Will start falling without a supporting block;
Place seats in the centre of the block.
Allows sitting by interacting with blocks.
Allows riding by interacting with players.
Interaction radius for sitting and riding features.
Restricts player from completing interaction if it results in their suffocation.
List of blocks and block tags that are available to interact with.
Allows player to start sitting by double sneaking.
Starts crawling instead of sitting if there is a hole nearby.
Minimal required player's pitch to start registering sneak actions. Where -90 is straight up, and 90 is straight down.
The window between sneaks to be recognized as double sneak action. Measured in milliseconds.
Pull requests are welcome.
For major changes, please open an issue first to discuss what you would like to change.
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.
Since the project uses Stonecutter, the build is performed using chiseledBuild
task:
> ./gradlew chiseledBuild
Publishing is done with chiseledPublish
task:
> ./gradlew chiseledPublish
For further versioning info, visit the Stonecutter Wiki.
This project is licensed under the MIT License.