Posted June 29, 20232 yr Hi. Can someone explain how the integration of resources (copper, tin, etc.) works. I'm talking specifically about the case for example when you make a mod that adds ores. And this mod will spawn ores only of the type that is installed. That is, if installed copper and tin is not, it will only be copper. How the mod understands this and how to implement it?
July 2, 20232 yr disclaimer: i do not know what you are asking. i'll guess and maybe this will cover your question: so you have two ores: ore1 and ore2. register blocks (smoothstone ore, deepslate ore, storage block) unconditionally. add them to tags. crafting and machine recipes should use tags only. register items (ingots, nuggets, dusts, raw ores...) unconditionally. assign tags to items. worldgen (ores in terrain) can and should be conditional - if i don't want your ore2 (maybe another mods add the same or i just don't want it) then let me not have it generated. do not worry about duplicates from other mods, just add tags and that's that.
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.