Dependency (source entity) is called by the provided dependencies (entity attacked), but still shown as required/missing

Started by Xanderz_1001 on

Topic category: Help with modding (Java Edition)

Last seen on 02:13, 30. Apr 2024
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dependency (source entity) is called by the provided dependencies (entity attacked), but still shown as required/missing

Simply, why is this showing as missing when it's called?

For some reason, [event/target entity] works in place of [source entity], but not vice versa. Any help/clarification is appreciated.

Not sure what version you…
Wed, 04/24/2024 - 15:18

Not sure what version you use, but in latest I made this setup and it seemed to work without any errors.

Btw this required list just shows required dependencies. If one is there, it does not mean something is wrong

Last seen on 02:13, 30. Apr 2024
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually, I forgot to…
Wed, 04/24/2024 - 23:07

Actually, I forgot to mention that I am trying to use the procedure in a "When effect started/applied" potion effect. I am on version 2024.1.

I now see that the procedure dependencies depend on the "When effect started/applied", but I'm not sure how to alter the procedure to make it do what I would like it to do.

My vision is, that if the attacker attacks a player with the [Parrying] effect, then the attacker receives the [Parried] effect (placeholder of speed).

https://imgur.com/a/aAmDikZ 

https://imgur.com/a/1UhQ8BA 

Last seen on 02:13, 30. Apr 2024
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Figured it out! Simply, just…
Thu, 04/25/2024 - 01:55

Figured it out! Simply, just don't use the potion effect trigger, and instead add it directly into the procedure.

https://imgur.com/a/ojJdSWe