[Suggestion for 1.13] Load scripts from datapacks
vico93 opened this issue ยท 2 comments
Well, seems like in 1.13 Data Packs will be a thing.
Like resource packs but for servers or worlds. They have stuff like loot tables or advancements, instead of textures and clientside stuff.
What about add support for load scripts from datapacks? For example, everything under craftweaker's namespace folder would be parsed (for example: awesome_data_pack\scripts (or crafttweaker)\<scripts here>
)
It would be a great way to organize things on MC directory (both client and server), being in a more vanilla feel.
Unfortunately, it won't be possible to load scripts received via DataPacks, as the recipe registry is frozen after PostInit.
It might however be possible to load scripts contained inside DataPacks serverside, if Forge 1.13 will allow the synchronization of the recipe registry from server to client