Jump to content

Creating dependencies in 1.15.2


ninjatdx

Recommended Posts

9 hours ago, ninjatdx said:

but didn't work.

What does this mean?

 

9 hours ago, ninjatdx said:

I tried to create a dependency

What did you try?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

16 hours ago, Animefan8888 said:

What does this mean?

 

What did you try?

I already have the dependency working now(which means I can use things from the other mod in mine) but I wanted my mod to only load if the main mod is loaded as well otherwise it would be kinda weird

Link to comment
Share on other sites

1 minute ago, ninjatdx said:

I wanted my mod to only load if the main mod is loaded as well otherwise it would be kinda weird

Use the dependencies in mods.toml. If they aren't satisfied, the mod won't load and the user will be shown an error

Link to comment
Share on other sites

  • 3 months later...

to go along with this topic, how do you setup conditional dependencies?  like i have a mod that adds ways to create new ingots, and i want to add modded ingot support for other mods.  I do not want the mod to be required to load my mod, i want my mod to remove elements if that other mod is not present, been looking for days and this is the closest i have found to the topic.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.