Community listing page, reviews may not be monitored by the author.
Precise Cushion Placement
No reviews yet
A client-side-only mod that allows players to place cushions at precise Y-coordinates.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description

A client-side-only mod that allows players to place cushions at precise Y-coordinates.
By default, it will try to get the Y coordinate offset of the cushion from the held cushion item custom name, offhand item custom name, or the value set by command in order. If a valid value ([0.0, 1.0]) is found, a new Y position (y_new = floor(y) + y_offset) will be calculated when placing the cushion and a new BlockHitResult will be synthesized using the new Y position and Direction.UP, thus achieving precise Y coordinate placement.
Y offset sources can be modified through configuration file or command.
⚠️ WARNING
Since this method modifies the
BlockHitResultto deviate from the position pointed by the player's line of sight, it may trigger anti-cheat mechanisms on the server. Please consult the administrator before using such auxiliary mods.
Configuration
The configuration file is located at config/precise_cushion_placement.json.
The default configuration is:
{
"offsetSources": [
"CUSHION_ITEM_NAME",
"OFFHAND_ITEM_NAME",
"COMMAND"
]
}
You can also make changes in-game using commands:

Commands
Subcommands are prefixed with /precise_cushion_placement.
| Subcommand | Parameters | Description |
|---|---|---|
offset clear |
None | Clear Y offset |
offset get |
None | Get Y offset |
offset set |
Double, 0.0~1.0 | Set Y offset |
config reload |
None | Reload configuration |
config reset |
None | Reset configuration |
config get |
None | Show current configuration |
config set offsetSources |
Enum set, separated by commas | Set Y offset sources |
Offset Sources
CUSHION_ITEM_NAME

OFFHAND_ITEM_NAME

COMMAND

Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources