Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello,

I have been working on a set of mods, and I am new to the modding environment. I would like to have it to where one mod references the other. For example, I am writing a block library which contains some ores. Some of those ores drop gems. I would like to have it to where I have a separate item library containing the gem items that the block library references for its loot tables. However, I have not been able to find any tutorials on this, or even any documentation.

 

Also, once I have created this dependency, how would I launch both mods in the same instance for testing purposes without exporting them.

 

The more detailed the walk through you can give, the better!

 

Thanks in advance.

I think,

- You add the mods to your workspace using the build.gradle file, in the dependecies {

- You declare the mod dependecies using the mods.toml file. Docs here

 

There are already examples in those files.

Edited by QuantumSoul

  • Author

Showing this is going to be much simpler than trying to explain it.

Here is the relevant links to the projects:

The block library: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Block-Library

The item library: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Item-Library/ContInfItemLib

(I know its not great but its a WIP)

 

Basically what I want to do is have the block library be able to reference the item library for drops and what not. I have read the documentation for the build.gradle and .toml, and you can see my unsuccessful attempts in said files in the ContInfBlockLib build.gradel and mods.toml files.

 

For reference, the item library is in the same folder as the block library on my computer, but they are separate project files (I'm using eclipse). Do I need to place them in the same project for this to work?

 

I know it might be asking for a lot, but if you could provide steps as for what to do, I would really appreciate it. I have never done this before, and reading the documentation alone is not sufficient for me currently.

 

 

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.