Jump to content

add-on same as Mod dependencies?


TheNoob

Recommended Posts

My issue is as simple and probably stupid as the title.

So, I make add-on for mod missing loot table. I found wiki for dependencies and in an effort to use less effort wondered if it was necessary to make an extra convoluted dependency structure to simply call to some items. I will continue to use my circa 2006 google skills make it simpler for me to grasp.  

I no good at modding( Obviously), but me learn good. I will probably figure this out before I get a response.

TLDR; is there a difference in structure between add-on and mod?

Ty for reading this far. Enjoy the brain rot from my nooby question ❤️

 

Eternally Noob,

The Noob

 

*edit-1.0.0*

I have the loot tables ready to shoot I just need to properly wrap me head around calling to another mod without doubling the files necessary.

Currently there are no direct calls to bring data into my add-on/mod/failure just the ?standard? "mod_id:item" calls in loot table pools. I.E. 

{
  "type": "minecraft:chest",
  "pools": [
    {
    "rolls": {
        "min": 0,
        "max": 1
    },
    "bonus_rolls": {
        "min": 1,
        "max": 2
    },
    "entries":[
        {
            "type": "item",
            "weight": 2,
            "name": "other_mod_id:item",
            "quality": 1
        },

    ]
},
{
    "rolls": 1
}
]
}

If possible I would love to just call to the "other_mod" from this.

If this is enough then I will forehead wall for a while....

Edited by TheNoob
extra info
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.