Skip to content

Add Player send death screen API#1129

Merged
granny merged 2 commits into
PurpurMC:ver/1.19.2from
MelnCat:feat/send-death-screen
Sep 24, 2022
Merged

Add Player send death screen API#1129
granny merged 2 commits into
PurpurMC:ver/1.19.2from
MelnCat:feat/send-death-screen

Conversation

@MelnCat

@MelnCat MelnCat commented Sep 24, 2022

Copy link
Copy Markdown
Contributor

This pull request adds an API for sending fake player death screens to players via Player#sendDeathScreen. This method takes a Component argument for the message to be shown on the screen, along with an optional Entity for specifying the entity that killed the player.

@MelnCat MelnCat changed the title Add death screen API Add Player send death screen API Sep 24, 2022
Comment thread build-data/dev-imports.txt Outdated
@granny granny merged commit aa39226 into PurpurMC:ver/1.19.2 Sep 24, 2022
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.

3 participants