Skript icon indicating copy to clipboard operation
Skript copied to clipboard

ExprExcept

Open Absolutionism opened this issue 10 months ago • 6 comments

Description

This PR aims to add a new expression that returns a list excluding the options provided.

If there is no need for this, since SecFilter now exists, that's ok. Just saw the issue and it wasn't closed nor any other comment.


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

Absolutionism avatar Jan 31 '25 08:01 Absolutionism

What does this do that expr filter doesn't?

sovdeeth avatar Jan 31 '25 17:01 sovdeeth

What does this do that expr filter doesn't?

Cleaner looking where filter and represents exact items rather than comparing with a where filter and asserting classinfo.

#5710

Absolutionism avatar Jan 31 '25 18:01 Absolutionism

What does this do that expr filter doesn't?

Cleaner looking where filter and represents exact items rather than comparing with a where filter and asserting classinfo.

#5710

Well I'm unsure what "asserting classinfo" means, but this doesn't seem like much of an improvement over where [{_x::*} doesn't contain input]. The filter is much more flexible and allows more complex exclusions. I'm fine with adding it but it seems pretty low in value overall.

sovdeeth avatar Jan 31 '25 19:01 sovdeeth

Do you still intend to work on this?

sovdeeth avatar Jun 03 '25 05:06 sovdeeth

Is this going to be added to the board btw?

Absolutionism avatar Jun 07 '25 23:06 Absolutionism

Sure, that's why i asked people to mention any missing ones in discord

sovdeeth avatar Jun 08 '25 01:06 sovdeeth