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

ItemType/EntityData to Tag comparator #7465

Open
1 task done
ShaneBeee opened this issue Jan 17, 2025 · 0 comments
Open
1 task done

ItemType/EntityData to Tag comparator #7465

ShaneBeee opened this issue Jan 17, 2025 · 0 comments

Comments

@ShaneBeee
Copy link
Contributor

Suggestion

I would like to suggest the addition of ItemType/EntityData to Tag comparators.
While I understand Skript has the is tagged condition, I just think this could be a helpful addition.

Why?

I think this could be used in plenty of places.
A good example would be contains.

I for one would like this for SkBee.
For instance, in switch cases... ex:

on break:
	switch event-block:
		case block tag "minecraft:logs":
			do something with logs
		case block tag "minecraft:terracotta":
			do something with terracottas

I could just add the converter myself in SkBee, but I thought this would be handy dandy in Skript itself.

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
ShaneBeee added a commit to ShaneBeee/SkBee that referenced this issue Jan 17, 2025
- This allows using tags in cases
- Ref SkriptLang/Skript#7465
- Add this until Skript adds it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant