[Suggestion] allow scarpet scripts to be run from datapacks
Nathan22211 opened this issue ยท 2 comments
currently, scarpet is the only thing akin to cotton scripting for 1.16 and newer, however, the inability to run them from datapacks leaves some possibilities out, especially if a datapack or mod uses scarpet scripts
Relates to the old gnembon/scarpet#17 and is duplicated by gnembon/scarpet#193.
As a workaround, if you have the script in the world/global folder already, you can run the load or run commands from the datapack, or do it the other way around, since if I understood correctly in the latest Carpet version you can load/create datapacks from apps, although not really easily, since you would have to load every JSON file in the datapack directly from the app.
Still a good suggestion though, imo.