Skip to content

Rewrite interactions as invisible slimes - #1368

Open
roccodev wants to merge 1 commit into
ViaVersion:masterfrom
roccodev:feature/interaction-as-slime
Open

roccodev wants to merge 1 commit into
ViaVersion:masterfrom
roccodev:feature/interaction-as-slime

Conversation

@roccodev

@roccodev roccodev commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Previously, interactions were mapped to invisible marker armor stands, which would also not let older clients interact.

This works best with cube-sized interactions, but is still compatible with other shapes for the most part as only the smallest dimension is considered. Potentially another entity could be used for vertical/biped-like hitboxes, but that would involve more tracking to respawn the entity.

Example:

26.3 3x3 interaction hitbox immagine
1.19.2 slime (glowing for the demo) immagine

Note that due to #1361, interactions of width and height both equal to 1.0 and response set to false will appear as a visible small slime because their data isn't sent by the server. Previously, they would appear as a visible big armor stand. Still, I included default size data for the invisible slime in case the issue is fixed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant