Skip to content

Implement Viewer#playTotemOfUndyingEffect#4196

Closed
MrHell228 wants to merge 7 commits intoSpongePowered:api-14from
MrHell228:api-14-viewer/death-protection
Closed

Implement Viewer#playTotemOfUndyingEffect#4196
MrHell228 wants to merge 7 commits intoSpongePowered:api-14from
MrHell228:api-14-viewer/death-protection

Conversation

@MrHell228
Copy link
Copy Markdown
Contributor

SpongeAPI | Sponge

Since vanilla packet make client looking for "totem" item only in hands, the same trick is used as with Audience#openBook: send fake item in hand, send death protection animation and then reset item in hand to original

@Yeregorix Yeregorix changed the title implement Viewer#sendDeathProtection() Implement Viewer#playTotemOfUndyingEffect Sep 24, 2025
@Yeregorix
Copy link
Copy Markdown
Member

Merged by f8b5721

@Yeregorix Yeregorix closed this Sep 24, 2025
@MrHell228 MrHell228 deleted the api-14-viewer/death-protection branch October 23, 2025 23:26
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.

2 participants