Adding references to other non-mcreator modded blocks for ore generation (1.16.5)

Started by BrenRadNeo on

Topic category: Help with modding (Java Edition)

Last seen on 21:16, 18. Mar 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding references to other non-mcreator modded blocks for ore generation (1.16.5)

In my mod i want to add in an ore to interact with another mod's dimension.

getting it to spawn in a specific dimension in a specific biome is easy to do, just replace wherever in quotations with the other mod's dimension and biome IDs

what isnt easy is trying to write up the rule to tell it to replace a modded block as there is no quotations.

someone told me I either have to import the other mod as a dependency or write up my own reference to the modded stone block with Forgeregistries.BLOCK

but i dont know how exactly to do either of those two things, can someone else explain all this for me in more detail? im confused.

attached here is the snippet of the code im trying to change.