Skip to content

Add "with all itemflags" to ExprWithItemFlags#7704

Merged
sovdeeth merged 9 commits into
SkriptLang:dev/featurefrom
Fusezion:feature/all-item-flags
Mar 21, 2025
Merged

Add "with all itemflags" to ExprWithItemFlags#7704
sovdeeth merged 9 commits into
SkriptLang:dev/featurefrom
Fusezion:feature/all-item-flags

Conversation

@Fusezion
Copy link
Copy Markdown
Contributor

@Fusezion Fusezion commented Mar 16, 2025

Description

This PR aims to add support for %itemtype% with all item flags, while initial issue was "bug", it appeared the general consensus was to add with all item flags.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7604

Copy link
Copy Markdown
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

maintain parity with patterns

Comment thread src/main/java/ch/njol/skript/expressions/ExprWithItemFlags.java Outdated
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
@Fusezion Fusezion requested a review from sovdeeth March 16, 2025 00:50
Copy link
Copy Markdown
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

tests failing due to list comparison being in differing order

@sovdeeth sovdeeth added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Mar 16, 2025
Comment thread src/main/java/ch/njol/skript/expressions/ExprWithItemFlags.java Outdated
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
@Fusezion Fusezion requested a review from Efnilite March 16, 2025 12:50
@Efnilite Efnilite added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Mar 16, 2025
@sovdeeth sovdeeth requested a review from a team as a code owner March 21, 2025 21:25
@sovdeeth sovdeeth requested review from Romitou and UnderscoreTud and removed request for a team March 21, 2025 21:25
@sovdeeth sovdeeth merged commit 7ad27a4 into SkriptLang:dev/feature Mar 21, 2025
@Fusezion Fusezion deleted the feature/all-item-flags branch April 7, 2025 14:19
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 2025
* ExprWithItemFlags - Add all itemflags support

* ExprItemFlags.sk - change comment

* Maintain parity with patterns

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>

* ExprItemFlags.sk - change comparison to check for any

* ExprItemFlags.sk - remove comment

* Update src/main/java/ch/njol/skript/expressions/ExprWithItemFlags.java

Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants