Skip to content

Support for Kill damageable entities#13667

Open
Doc94 wants to merge 1 commit intoPaperMC:mainfrom
Doc94:feature/kill-entity
Open

Support for Kill damageable entities#13667
Doc94 wants to merge 1 commit intoPaperMC:mainfrom
Doc94:feature/kill-entity

Conversation

@Doc94
Copy link
Member

@Doc94 Doc94 commented Feb 28, 2026

Close #13666 by adding a way in the API for just kill the entity (not discard like the remove method), the kill method just set the health of entity to 0 and pass a DamageSource generic or provided by the user.

@Doc94 Doc94 requested a review from a team as a code owner February 28, 2026 13:13
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

Expose die method of LivingEntity directly or in setHealth

1 participant