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

Factor in tags from scripts #115

Open
Xterionix opened this issue Mar 21, 2024 · 6 comments
Open

Factor in tags from scripts #115

Xterionix opened this issue Mar 21, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Xterionix
Copy link
Contributor

Tags added with entity.addTag() aren't considered in the tag definitions so it gets flagged as an error

@DaanV2 DaanV2 transferred this issue from Blockception/BC-Minecraft-Bedrock-Diagnoser Mar 22, 2024
@DaanV2 DaanV2 added the enhancement New feature or request label Mar 22, 2024
@DaanV2
Copy link
Contributor

DaanV2 commented Mar 23, 2024

Do you have a documentation link for this? and or examples. Need it to be able to implement this

@Xterionix
Copy link
Contributor Author

https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/entity?view=minecraft-bedrock-stable#addtag
Lets you add a tag to an entity, like /tag but tags added via the script aren't accounted for by the extension so it throws an error whenever that tag shows up again. Like if in my script I do entity.addTag('killSoon') and in my function I do /kill @e[tag=killSoon] it gives an error

@DaanV2
Copy link
Contributor

DaanV2 commented Mar 28, 2024

hmm this is going to be a difficult one, especially when people start to use variables for their tags

@Xterionix
Copy link
Contributor Author

I'd imagine if it is going to be a variable, then functions probably won't be making use of them but when it's static like in the example then functions probably will use them

@Xterionix
Copy link
Contributor Author

Anything I can do to help move this along?

@DaanV2
Copy link
Contributor

DaanV2 commented Jun 8, 2024

Uncertain at this point, im not entirely sure I want to actually do this atm 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants