Skip to content

Player Pick Item Event#8331

Merged
APickledWalrus merged 10 commits intodev/featurefrom
feature/player-pick-item-event
Mar 30, 2026
Merged

Player Pick Item Event#8331
APickledWalrus merged 10 commits intodev/featurefrom
feature/player-pick-item-event

Conversation

@UnderscoreTud
Copy link
Copy Markdown
Member

Problem

Skript doesn't have support for the PlayerPickItemEvent, called when a player performs the pick block action (usually middle clicking a block or an entity)

Solution

Add support for the event alongside an expression to get the picked item, block or entity

Testing Completed

EvtPlayerPickItemTest.sk and manual testing

Supporting Information

N/A


Completes: none
Related: none
AI assistance: none

@UnderscoreTud UnderscoreTud requested review from a team as code owners December 26, 2025 06:58
@UnderscoreTud UnderscoreTud added the feature Pull request adding a new feature. label Dec 26, 2025
@UnderscoreTud UnderscoreTud requested review from Burbulinis and sovdeeth and removed request for a team December 26, 2025 06:58
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Dec 26, 2025
UnderscoreTud and others added 2 commits December 29, 2025 11:22
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
…eature/player-pick-item-event

# Conflicts:
#	src/main/java/ch/njol/skript/Skript.java
#	src/main/java/org/skriptlang/skript/bukkit/misc/MiscModule.java
#	src/main/java/org/skriptlang/skript/bukkit/misc/elements/expressions/ExprPickedItem.java
Copy link
Copy Markdown
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good overall, nice work

@skriptlang-automation skriptlang-automation bot added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Mar 27, 2026
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.15 Releases Mar 27, 2026
@skriptlang-automation skriptlang-automation bot removed the needs reviews A PR that needs additional reviews label Mar 27, 2026
@APickledWalrus APickledWalrus merged commit 11d5b71 into dev/feature Mar 30, 2026
10 checks passed
@skriptlang-automation skriptlang-automation bot added the completed The issue has been fully resolved and the change will be in the next Skript update. label Mar 30, 2026
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.15 Releases Mar 30, 2026
@APickledWalrus APickledWalrus deleted the feature/player-pick-item-event branch March 30, 2026 19:21
@skriptlang-automation skriptlang-automation bot removed the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

completed The issue has been fully resolved and the change will be in the next Skript update. feature Pull request adding a new feature.

Projects

Status: Done - Awaiting Release

Development

Successfully merging this pull request may close these issues.

3 participants