Jump to content

Need help loading Advancements, Functions, and Structures from external files


Recommended Posts

Posted

Hey,

 

I've been working on a mod that lets players package up recipes, loot tables, advancements, functions, and structures into a zip file and load them into the game from a certain folder. That way they will load for every world more like a mini-mod, and they can share it.

 

I've gotten loot tables to load easily enough because of the loot table load event, and recipes I just parse and load when the mod loads. However, I don't see a good way to load advancements, functions, or structures... especially since they can be reloaded anytime with the /reload command.

 

Does anyone know of a way to load them, which respects the /reload command to reload them? If not, I can try creating a pull request in MinecraftForge to add events when they load (like how the loot table one works). I figured I'd see if anyone knows a way to do it currently first though, so I don't waste my time. =)

 

Tmtravlr

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.