Importing Variables from Another Mod

Started by CDRAGONN44 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Importing Variables from Another Mod

I'm currently working on an addon for a mod that will trigger a variable when the player right clicks an item, and when I import the other mod's variables into my procedure, I get an error stating: error: package net.mcreator.ghostriderbyyofadda.network does not exist and error: package GhostriderByYofaddaModVariables does not exist

I'm not sure if I'm doing something wrong but here was the code for my procedure: https://pastebin.com/Cpc2scXG

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I do that?
Wed, 06/25/2025 - 13:27

How can I do that?

> Could not resolve all…
Thu, 06/26/2025 - 14:14
  1. > Could not resolve all files for configuration ':compileClasspath'.
  2.   > Could not find curse.maven:ghost-rider-by-yo-fadda-1132073:1132073_mapped_official_1.20.1.
  3.     Searched in the following locations:
  4.       - file:/C:/Users/cdbdr/.mcreator/gradle/caches/forge_gradle/bundled_deobf_repo/curse/maven/ghost-rider-by-yo-fadda-1132073/1132073_mapped_official_1.20.1/ghost-rider-by-yo-fadda-1132073-1132073_mapped_official_1.20.1.pom
  5.       - file:/C:/Users/cdbdr/.mcreator/gradle/caches/forge_gradle/bundled_deobf_repo/curse/maven/ghost-rider-by-yo-fadda-1132073/1132073_mapped_official_1.20.1/ghost-rider-by-yo-fadda-1132073-1132073_mapped_official_1.20.1.jar 

You may also need to declare the right repository to look dependency in for