Skip to content

Item of arrow support#8407

Merged
sovdeeth merged 2 commits intoSkriptLang:dev/patchfrom
sovdeeth:patch/missing-support-for-item-of-arrow
Jan 29, 2026
Merged

Item of arrow support#8407
sovdeeth merged 2 commits intoSkriptLang:dev/patchfrom
sovdeeth:patch/missing-support-for-item-of-arrow

Conversation

@sovdeeth
Copy link
Copy Markdown
Member

Problem

Item of throwable projectile has existed for a while, but item of arrow still does not work, meaning the functionality for overridding tipped arrows shot from a bow is awkward at best, as you have to spawn a new tipped arrow and set the event-entity.

Solution

Adds a AbstractArrowSlot slot for ExprItemOf, which allows access to AbstractArrow#setItemStack
Note that this doesn't change the behavior of spectral-arrows or vice-versa, but it can change a normal arrow into a tipped arrow and back.

Testing Completed

Manual confirmation.

Supporting Information

I'm putting this on patch since it seems like overlooked functionality that should already exist, rather than an entirely new feature. Down to change that if anyone disagrees.


Completes: none
Related: none
AI assistance: none

@sovdeeth sovdeeth requested a review from a team as a code owner January 26, 2026 18:40
@sovdeeth sovdeeth added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jan 26, 2026
@sovdeeth sovdeeth requested review from Burbulinis and TheMug06 and removed request for a team January 26, 2026 18:40
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jan 26, 2026
@github-project-automation github-project-automation bot moved this to Awaiting Merge in 2.14 Releases Jan 26, 2026
@skriptlang-automation skriptlang-automation bot added patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. and removed needs reviews A PR that needs additional reviews labels Jan 26, 2026
@sovdeeth sovdeeth merged commit 81a0a16 into SkriptLang:dev/patch Jan 29, 2026
9 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.14 Releases Jan 29, 2026
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. labels Jan 29, 2026
@sovdeeth sovdeeth moved this from Done - Awaiting Release to Done - Released in 2.14 Releases Feb 7, 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. enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

3 participants