-
Notifications
You must be signed in to change notification settings - Fork 12
Deprecation Annotation | Skript Syntaxes #10
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
Comments
Just to clarify this,
|
I like the idea of making it like |
It's used as |
Is this exclusive to just skript methods or would be it also be something good for skript syntax aswell?
An example case for this would be if there was ever a PR for raytrace syntax, for the most part that is just a better
target block
andtarget entity
as it acts more like an exact target entity. In that case I'd view it as a means for a deprecation/removal of the target syntaxes *could also just be time for an update to raytraceOriginally posted by @Fusezion in SkriptLang/Skript#5278 (comment)
Suggestion
As I stated above, I believe there should also be a new annotation in skript just like the
@MarkedForRemoval
but this time aimed for general skript syntax such as@Deprecation
Why
In the example above I mentioned we could theoretically remove the
target block
andtarget entity
expressions if we were to ever add support for raytracing in skript. That's due to the fact raytracing is a just much exact hit compared totarget
attempting to get "around" it as it treats all blocks as full blocksAdding this does another thing which is prevent removal of largely used syntax feeling like it randomly happened we'd be able to now mark stuff as
Deprecated
early on after introducing something to replace it and wait a few(1-2) major versions then remove it.The text was updated successfully, but these errors were encountered: