Skip to content

Expose picked item in PlayerPickItemEvent - #14132

Merged
lynxplay merged 3 commits into
PaperMC:mainfrom
MartinRedheLind:expose-pick-item
Aug 6, 2026
Merged

Expose picked item in PlayerPickItemEvent#14132
lynxplay merged 3 commits into
PaperMC:mainfrom
MartinRedheLind:expose-pick-item

Conversation

@MartinRedheLind

@MartinRedheLind MartinRedheLind commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Adds PlayerPickItemEvent#getItem, which returns the item that's being searched for in the inventory, or the item that will be given to a player in creative mode when picking a block or an entity.

@MartinRedheLind
MartinRedheLind requested a review from a team as a code owner August 1, 2026 23:45
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Aug 1, 2026
Comment thread paper-api/src/main/java/io/papermc/paper/event/player/PlayerPickItemEvent.java Outdated
@github-project-automation github-project-automation Bot moved this from Awaiting review to Changes required in Paper PR Queue Aug 2, 2026
@papermc-projects papermc-projects Bot moved this from Changes required to Full approval in Paper PR Queue Aug 6, 2026
@lynxplay
lynxplay merged commit a40947c into PaperMC:main Aug 6, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Full approval to Merged in Paper PR Queue Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

4 participants