Missing Dependencies

Started by s1csty9 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

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

Hi, I am trying to make a mod that switches your shield to your totem and vice versa if they're equipped in your offhand. I have made the procedure, which I'm not sure if it works, and when I try to assign the procedure to the keybind it says "Missing Dependencies". I'm not sure exactly what this means, and I am very confused. My plugins are Generator Fabric and Fabric Essentials, and I'm making a mod for Fabric. I have enabled Fabric Essentials' API, which actually fixed an error I've previously had so the problem can't be that. If anyone knows what's wrong here please help me out, I'd appreciate it a lot.

Here's my current procedure

pls help

 

 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Key pressed" does not use…
Tue, 04/11/2023 - 01:52

"Key pressed" does not use itemstack, but it does support entity so just remove the provided itemstack and copy the "in main hand" and "in off hand" and place it where the provide itemstack is.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I changed it to "In off hand…
Tue, 04/11/2023 - 12:22

I changed it to "In off hand" and it still does not work when I test it, and it's also giving me two identical errors, which are "Block itemhandler_set_slot is not supported by the selected generator. It will be skipped"

Here is the screenshot with the new procedure and the error:

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah i see, you are using an…
Tue, 04/11/2023 - 13:44

Ah i see, you are using an older version, what minecraft and mcreator version do you use? Because some features wont work in older generators.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm using the newest version…
Tue, 04/11/2023 - 19:12

I'm using the newest version of mcreator that I downloaded from the main website's front page two days ago... Has there been an update since?

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I saw that you had Fabric,…
Tue, 04/11/2023 - 20:34

I saw that you had Fabric, what version do you have for that (minecraft version)? I might not be able to help with fabric as i dont use that but i could make a procedure that should work with your generator.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For testing I'm using…
Tue, 04/11/2023 - 21:15

For testing I'm using mcreator's built in "run client" function, and I'm pretty sure that for fabric it's 1.19.2. I recreated the procudure on forge as well, and it ended up not working, but this time it didn't have any errors so I'm not sure exactly what's going on here.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Before i try to make…
Tue, 04/11/2023 - 22:26

Before i try to make something that may work i just want to be sure i understand what you want it to do.

So, when you press a key (for example R) it shall replace the shield with the totem and the other way around if the player has both items in the inventory? So, when the shield is in the right hand they swap places when the key is pressed?

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh i also just realised that…
Tue, 04/11/2023 - 22:32

Oh i also just realised that you used the set item that is used for armor slots if i am not correct, try to use "set item in off hand" instead, it comes up when typing off hand in the search bar. 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've changed it to "set item…
Wed, 04/12/2023 - 03:41

I've changed it to "set item in offhand" and it worked perfectly on the forge build! I'll post an update once I test it on the fabric build, which has given me some issues before, thank you so much!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I exported the forge mod,…
Wed, 04/12/2023 - 03:59

I exported the forge mod, and when I tested it on my own game it asked for mcreator_link. What is this, and why do I need this?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh nevermind, I enabled…
Wed, 04/12/2023 - 04:01

Oh nevermind, I enabled mcreator link in API for some reason lol

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nice, yes i kinda looked…
Wed, 04/12/2023 - 09:53

Nice, yes i kinda looked over the "set item in slot", If it does not work there i could have a solution for the time being.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked like a charm on…
Sat, 04/15/2023 - 20:59

it worked like a charm on fabric as well, and I've finished making the mod. Thank you so much!

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Glad i could help you out,…
Sun, 04/16/2023 - 18:11

Glad i could help you out, good luck with future modding!