How To Make Other Mods Spawn In Custom Dimension?

Started by temutsaj on

Topic category: Advanced modding

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How To Make Other Mods Spawn In Custom Dimension?

Hi all I was wondering how I would make things like naturally spawning ores from a different mod of mine to spawn in a custom dimension of a new mod im making?

There would be too many new elements to combine the workspaces...
Thanks!

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello!One thing that could…
Tue, 08/01/2023 - 20:13

Hello!
One thing that could work is the usage of tags.

You could create a placeholder ore block on the mod that has the dimension, with a tag of your choosing.

Then on the other mod, run an on tick update procedure scanning the area around in player for blocks using that tag, and if any are found, replace them with the ore you want.

Hope this helps!

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks I will try this!
Thu, 08/03/2023 - 14:54

Thanks I will try this!