Posted January 8, 20241 yr I've recently gotten into modding again after a hiatus. Currently I'm experimenting with a mod that would allow users to create simple 'content packs' in plain-text form. These files are loaded on startup by the mod and it then registers items based off of this data via the registry events, which works fine (though I'm not yet sure what would happen if there's a mismatch between the server and client content packs). However I would like to be able to automatically load & register resources and data for these items, based off of the loaded data; E.G item textures & models, and crafting recipes (dynamically registering recipes used to be quite straightforward last time I did any modding) I have yet to find anything on this that is up to date, though I did find a solution that would probably work, that essentially relied on handling all the rendering on its own. Is there any reasonable way to do this, short of requiring the user to also install a resource pack and data pack for every content pack? Edited January 8, 20241 yr by Korall
January 14, 20241 yr yeah, you can do that (make a data pack for recipes and loot tables and make an asset pack for models and textures). i'll tell you right away it would be a lot of work and questionable benefit - there are already mods that allow you to add items with a few lines of text and a png file. there always have been. if you really must, investigate source code of BuddingCrystals by XFactHD.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.