-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
[SUGGESTION] Object From expression supports potion tags #725
Comments
Oh, and probably also jukebox songs https://minecraft.wiki/w/Data_component_format/jukebox_playable |
I'm not against something like this, there is valid use for these however I'm unsure how easy this would be added with current implementation, current system relies on classinfos being registered which we could easily do as both types have a registry. So if we're fine with adding the registries this should be pretty easy only concern is potion type conflictions with skript |
Im working on it right now ;) |
We'll have a use for it speaking skript still has no replacement for their aliases literal so something like |
Ok, so I added the PotionType classinfo (future update), but it has a small conflict with Skript. I opened a PR in Skript to hopefully resolve that issue. |
- instrument component - jukebox playable component, ref #725 - added instrument/jukebox song classinfos
Suggestion
It would be nice if the NamespacedKey - Object From expression supported 'potion tags' as in "minecraft:strong_strength". Full list of them in the table below here https://minecraft.wiki/w/Potion#Item_data
Additional Information
Currently I can't find a way to validate these potions tags before adding them to nbt besides manually listing all of them. Also I don't think Skript has a type for these, which is probably why it hasn't been added already.
The text was updated successfully, but these errors were encountered: