-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
Support Minecraft tags in Aliases/Structure. #7498
Comments
I have some concerns with trying to parse these successfully without interpreting them as comments (since comments are determined long before any knowledge of structures or context exists) |
Since
Ah yeah, that is very fair! |
The string thing was done with a state machine that kept track of whether the current state was code (default, or toggled with % when in strings/vars), a string (toggled by reaching a " mark), or a variable (toggled with {} from the code state). That kind of logic would be very tricky to apply here, since you'd basically have to hard-code the concept of the alias structure into the node parser, which i think is a bad idea. |
Ahhh gotcha. |
haven't really thought enough about it to have any idea whether it should be added, but couldn't we check for the |
aliases allow |
MAYBE gross, but: |
maybe I misunderstand the feature, but what if we check item reference then minecraft tag? I don't think they would ever conflict |
Perhaps, but there's also nothing stopping them from conflicting either. I suppose if it's simple to add that's a fine addition since it's not something we really care about much |
Suggestion
I wanted to suggest the addition of using Minecraft tags in aliases.
I'm not 100% sure how this would work, but maybe something along the lines of:
Why?
With the removal of the majority of aliases (YAY), and the addition of tags, I think this could really help Skripters when having to deal with groups of items/blocks.
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: