PaperMC / PaperMC/Paper

EntityPreDamageEvent

Open
#14,138 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Is your feature request related to a problem?

For example, I want to swap the totem in player's inventory to their hand before they get damaged so the totem can take effect as expect, or take off all player's equipment before they get attacked so the armor won't have any effect.

Describe the solution you'd like.

IDK

Describe alternatives you've considered.

IDK

Other

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names a requested EntityPreDamageEvent but provides no files, tests, or defined solution. Start by reviewing the existing damage-event API and the requested totem and equipment scenarios; done should include an agreed event design that supports changes before damage is applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.