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

Started by BrenRadNeo on Wed, 08/03/2022 - 03:03

Topic category: Help with modding (Java Edition)

Last seen on 18:13, 28. Sep 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Adding references to other non-mcreator modded blocks for ore generation (1.16.5)
Wed, 08/03/2022 - 03:03

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.