Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sheared expression instead of effect #5561

Closed
1 task done
JakeGBLP opened this issue Mar 28, 2023 · 4 comments
Closed
1 task done

sheared expression instead of effect #5561

JakeGBLP opened this issue Mar 28, 2023 · 4 comments
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. priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

Comments

@JakeGBLP
Copy link

Suggestion

The effect https://skripthub.net/docs/?id=1111
should be an expression, that's because the effect is changing the sheared status of a sheep which can be simplified with a boolean expression.
Furthermore, this effect should not be removed, instead it should be used with https://jd.papermc.io/paper/1.19/io/papermc/paper/entity/Shearable.html#shear()
and offer the option of shearing without dropping items (which would do what the effect currently does).

Why?

Would make more sense to have an expression for the current shear effect.

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
@JakeGBLP
Copy link
Author

Using readyToBeSheared() would also make for a pretty decent force shear %entity%

@sovdeeth
Copy link
Member

I would say it'd be better served by just adding a condition is shorn/sheared.
I'm not a fan of expressions in the style of shear state of entity, they feel awkward and weird compared to just shear entity and if entity is shorn/sheared.

@TheLimeGlass TheLimeGlass added enhancement Feature request, an issue about something that could be improved, or a PR improving something. priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements). labels Mar 28, 2023
@NotSoDelayed
Copy link
Contributor

NotSoDelayed commented Mar 28, 2023

Furthermore, this effect should not be removed, instead it should be used with https://jd.papermc.io/paper/1.19/io/papermc/paper/entity/Shearable.html#shear() and offer the option of shearing without dropping items (which would do what the effect currently does).

Looks like Shearable interface is added in 1.19.4. This effect could adapt to it to allow support on these and future entities.

@Moderocky
Copy link
Member

I would say it'd be better served by just adding a condition is shorn/sheared.

This looks like a better option.

@AyhamAl-Ali AyhamAl-Ali added the PR available Issues which have a yet-to-be merged PR resolving it label Mar 30, 2023
@APickledWalrus APickledWalrus added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Jul 12, 2024
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. priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Projects
None yet
Development

No branches or pull requests

7 participants