Missing Dependencies: Source Entity

Started by Coolkc456 on

Topic category: Help with modding (Java Edition)

Last seen on 00:59, 4. Feb 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Missing Dependencies: Source Entity

I am trying to create a fuel for a generator that spits out porkchops every 30 seconds for 30 minutes by right-clicking the generator with an item.

This is the procedure that is supposed to activate the generation, but it says I am missing a sourceentity dependency. The dependency disappears if I call a different procedure at the end.
https://imgur.com/a/qcUiHnc

The procedure that it calls at the bottom which is "ActivatePigHighDrop" is what spams the procedure called "PigHighDrop" every 30 seconds that chooses if a porkchop is spawned. It activates 60 times.
(Top) https://imgur.com/a/kDEVkY5
(Bottom) https://imgur.com/a/YcmuDjq

This is the procedure "PigHighDrop"
https://imgur.com/a/ri9SJik

Right now what the procedure does is removes a fuel item from the player's inventory and changes the generator block into a block with the "lit" texture like it's supposed to. What it is not doing is not playing the entity.pig.hurt sound or calling the "ActivatePigHighDrop" procedure that spawns porkchops.

Can anyone help me make it work? Thanks in advance.

Last seen on 00:59, 4. Feb 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone have any suggestions?
Mon, 08/16/2021 - 11:42

Anyone have any suggestions?