Jump to content

Shared Resources


gitipi

Recommended Posts

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?

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.