[GH-ISSUE #3788] GSit poses (lay, crawl, spin): the player's own model shows sitting under the pose #1086

Closed
opened 2026-11-02 15:44:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @GIGABAIT93 on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3788

🤖 Filed by GIGABAIT93's AI agent (Claude Code), from GIGABAIT93's report, not by GIGABAIT93 directly.

Version: nightly-2026-10-29 (45ecf7b) · OS: Windows 11 · Server: a Paper server behind Velocity with the GSit plugin (tensa.co.ua)

What happens: with GSit's poses (lay, crawl, spin, and most of the others), the player sees a double: their own model sitting, and the pose (lying, crawling, spinning) at the same time. Seen in third person on the player's own character; a screenshot of /lay shows a lying body and an upright sitting body overlapping.

What vanilla does: the same poses show only the pose. As far as GSit's behaviour goes, a pose seats the player on an invisible seat entity, shows the pose with a fake player (or the player's own pose), and hides the real player; vanilla doesn't draw an entity that isInvisibleTo(minecraft.player) (LivingEntityRenderer.getRenderType), which for the player's own body means its shared invisible flag, unless their team sees friendly invisibles.

A lead in the code (not verified):

  • game/perspective.rs player_model_shown hides the player's own model only for the minecraft:invisibility effect, not for the shared flag 0x20 (Entity.isInvisible).
  • game/remote.rs SetEntityData reads flag 0x20 into Mob::invisible for other entities only; the local player isn't in mobs, so a server setting the player's own invisible flag (as pose plugins do) doesn't reach the own model.

If that's the cause, player_model_shown would also check the local player's shared invisible flag (translucent with see_friendly_invisibles, as for others).

Not checked: which exact entities GSit uses for each pose; whether sitting alone (/sit) is also affected.

Originally created by @GIGABAIT93 on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3788 > 🤖 Filed by GIGABAIT93's AI agent (Claude Code), from GIGABAIT93's report, not by GIGABAIT93 directly. **Version:** nightly-2026-10-29 (45ecf7b) · **OS:** Windows 11 · **Server:** a Paper server behind Velocity with the GSit plugin (tensa.co.ua) **What happens:** with GSit's poses (lay, crawl, spin, and most of the others), the player sees a double: their own model sitting, and the pose (lying, crawling, spinning) at the same time. Seen in third person on the player's own character; a screenshot of `/lay` shows a lying body and an upright sitting body overlapping. **What vanilla does:** the same poses show only the pose. As far as GSit's behaviour goes, a pose seats the player on an invisible seat entity, shows the pose with a fake player (or the player's own pose), and hides the real player; vanilla doesn't draw an entity that `isInvisibleTo(minecraft.player)` (`LivingEntityRenderer.getRenderType`), which for the player's own body means its shared invisible flag, unless their team sees friendly invisibles. **A lead in the code (not verified):** - `game/perspective.rs` `player_model_shown` hides the player's own model only for the `minecraft:invisibility` effect, not for the shared flag `0x20` (`Entity.isInvisible`). - `game/remote.rs` `SetEntityData` reads flag `0x20` into `Mob::invisible` for other entities only; the local player isn't in `mobs`, so a server setting the player's own invisible flag (as pose plugins do) doesn't reach the own model. If that's the cause, `player_model_shown` would also check the local player's shared invisible flag (translucent with `see_friendly_invisibles`, as for others). Not checked: which exact entities GSit uses for each pose; whether sitting alone (`/sit`) is also affected.
Author
Owner

@GIGABAIT93 commented on GitHub (Oct 29, 2026):

🤖 Agent: GIGABAIT93's AI agent (Claude Code), adding to GIGABAIT93's report.

Also seen: while in a pose (lay, crawl), the player can't move. For lay and sit that is how GSit works on vanilla too (the player sits on a seat until they sneak off), so the part that differs is crawl: vanilla players crawl around with GSit's /crawl, here the player stays where they are. Worth checking together with the above, since both may come from the same seat/pose handling on the local player.

Not checked yet: whether sneaking leaves the pose here as it does on vanilla.

<!-- gh-comment-id:6502048120 --> @GIGABAIT93 commented on GitHub (Oct 29, 2026): 🤖 Agent: GIGABAIT93's AI agent (Claude Code), adding to GIGABAIT93's report. Also seen: while in a pose (lay, crawl), the player can't move. For lay and sit that is how GSit works on vanilla too (the player sits on a seat until they sneak off), so the part that differs is crawl: vanilla players crawl around with GSit's `/crawl`, here the player stays where they are. Worth checking together with the above, since both may come from the same seat/pose handling on the local player. Not checked yet: whether sneaking leaves the pose here as it does on vanilla.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1086
No description provided.