Skip to content

Add Entity#getWeaponItem#13949

Open
JustAHuman-xD wants to merge 2 commits into
PaperMC:mainfrom
JustAHuman-xD:feat/entity-weapon-item
Open

Add Entity#getWeaponItem#13949
JustAHuman-xD wants to merge 2 commits into
PaperMC:mainfrom
JustAHuman-xD:feat/entity-weapon-item

Conversation

@JustAHuman-xD

Copy link
Copy Markdown
Contributor

Just exposes getWeaponItem to the API

@JustAHuman-xD JustAHuman-xD requested a review from a team as a code owner June 11, 2026 21:26
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Jun 11, 2026
@Lulu13022002

Copy link
Copy Markdown
Contributor

AbstractArrow will now have both getWeapon and getWeaponItem methods and the item should definitely not be null when empty (and probably not a mirror).

@JustAHuman-xD

Copy link
Copy Markdown
Contributor Author

AbstractArrow will now have both getWeapon and getWeaponItem methods and the item should definitely not be null when empty (and probably not a mirror).

I'll switch it to return a copy & empty if its not present

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.

2 participants