Says Missing Dependencies when I have them

Started by TheSecretAaron on

Topic category: Help with modding (Java Edition)

Last seen on 17:42, 12. Aug 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Says Missing Dependencies when I have them
Tue, 07/19/2022 - 20:51 (edited)

I am currently making a procedure so that when a projective entity is fired out of a ranged weapon, it destroys specific blocks. It says I need the X, Y, Z, World, Entity, and Immediatesourceentity dependencies, which I have. However, it still says that I am missing a dependency. I do not know what I am missing, so please help me here. Here's the code:Code

There is more to the code but it's just the same "if is blockstate material type (whatever), do remove block, drop block, despawn immediate source entity". On the right, it shows that I have all of what I need. Is it the blockstate that is messing it up? If so, then how do I go about making this code?

Edited by TheSecretAaron on Tue, 07/19/2022 - 20:51
Last seen on 03:16, 8. Jun 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It might be because theā€¦
Fri, 07/22/2022 - 22:29

It might be because the blockstate dependency is not included or able to be used in any of the projectile events/triggers. You are not missing anything in your code, but your code requires that dependency for the procedure to be used by the event.