I need to reference another mod in my mod

Started by PJgamer64 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Jun 2020
Points:
633

User statistics:

  • Modifications: 2
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
I need to reference another mod in my mod

After learning how to use the tags for recipes, i am facing a big challenge and that is that I have two procedures that I am not able to solve in any way.


First I have a block that I would like to change to another block when right clicking with a custom object from another mod, and I can't find a way to reference the other mod, I thought the tags would help but apparently they only work for recipes, because it doesn't detect the other mod's object in any way.

And second, in the same way, I would like that when an entity from another mod dies, a specific object of my mod will drop a drop from my mod, but I can't make reference to the other mod either, I think that in both cases the other mod is not detected or I don't know What's wrong, I'd really like help.

Active 3 days ago
Joined Feb 2018
Points:
1989

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 786
If you use 2023.1 there is…
Tue, 05/02/2023 - 15:14

If you use 2023.1 there is registry name Procedure Block for Block, Item and Entity.

Active 1 day ago
Joined Jun 2020
Points:
633

User statistics:

  • Modifications: 2
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
I'm not getting to…
Mon, 05/08/2023 - 19:40

I'm not getting to understand how :( sorry