Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenny-hui/takeaseat
Yet another Minecraft sitting mod
https://github.com/kenny-hui/takeaseat
fabric-mod minecraft-mod
Last synced: 6 days ago
JSON representation
Yet another Minecraft sitting mod
- Host: GitHub
- URL: https://github.com/kenny-hui/takeaseat
- Owner: Kenny-Hui
- License: mit
- Created: 2023-05-13T12:53:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-25T08:17:58.000Z (2 months ago)
- Last Synced: 2024-10-11T00:15:09.546Z (28 days ago)
- Topics: fabric-mod, minecraft-mod
- Language: Java
- Homepage: https://modrinth.com/mod/takeaseat
- Size: 162 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TakeASeat
Fabric server-side mod that allows you to sit on a (customizable list of) block by right-clicking.
It also allows putting restrictions to prevent player from, for example, suffocating or clipping through areas that cannot be normally be accessed.## Config
The config file is located in `config/takeaseat.json`, editable value as follows:| Key | Description | Default Value | Type |
|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|--------------|
| allowedBlockId | An array of block id that player can right click and sit on | [] | String Array |
| allowedBlockTag | An array of block tags that player can right click and sit on | ["stairs", "slabs"] | String array |
| stairsOffset | Whether to put a offset to the player when sitting on a stairs so that they sits slightly more forward, does not work well with 90 degree turn stairs. | false | boolean |
| ensurePlayerWontSuffocate | Do not allow player to sit if there's a suffocatable block on top.
Note that this only applies to suffocatable block, usually a full
1x1 block and doesn't affect other non-suffocatable block like stairs
or light block. | true | boolean |
| mustBeEmptyHandToSit | Whether the player must not be holding any item on both hand to sit. | true | boolean |
| blockMustBeLowerThanPlayer | This ensures the block (seat) the player clicked must not be higher
than the player by at most 0.5 meter.
Useful to prevent player from climbing to house ceiling made with stairs. | true | boolean |
| mustNotBeObstructed | This further restricts player by ensuring no solid block exist between the
player and the seat. (Solid block implies the block must not have a collidable area)
This is a rather harsh measure and could create false positives,
sometimes requiring player to get closer to the seat before being able to sit, but is
useful on server that don't want visitors to sit on otherwise inaccessible area. | false | boolean |
| maxDistance | Distance in blocks that the player must get closer to before being able to sit
Value less than or equals to 0 means there's no max distance. | 0 | double |## Bugs/Suggestions
You may open an GitHub issue [here](https://github.com/Kenny-Hui/TakeASeat/issues), please keep things civil :)## License
This project is licensed under the MIT License.