Missing dependencies issue

Started by ewang. on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Missing dependencies issue

Hello, a little while ago I decided to create a mod on mcreator and my knowledge is very weak and I encountered a problem where in one of my procedures I am told that I need a dependency but I do not know how to solve this problem. Could you help me with this? Thanks in advance for your feedback!

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you use the actual…
Thu, 07/03/2025 - 11:59

Did you use the actual screenshot? cuz I don't see anything wrong with what you showed

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Missing dependencies error…
Thu, 07/03/2025 - 12:04

Missing dependencies error is different based on what procedure trigger you want to use.

I'm guessing that you are trying to use something like 'when item right-clicked' procedure trigger which only offers X, Y, Z, World, and Entity dependencies.

In that case, you need to modify your procedure to only use the dependencies listed under the trigger.

It also looks like you are trying to use event/target entity instead of entity iterator inside the for each entity loop, which would cause it to not run how you want it to even once you get the dependencies worked out.

Luckily there is a way to solve both issues at once: Replace all uses of event/target entity inside the for each entity loop with 'entity iterator' Then replace the use of source entity with event/target entity. It should work with more procedure triggers after that, and actually apply weakness and damage to the entities inside the area instead of to you (which is what event/target entity would likely do inside the for each entity loop).