Jump to content

Recommended Posts

Posted

Hello, Im making a mod that has alot of custom swords, the only thing that changes in the sword is the material used to craft it, it has the same crafting pattern for each sword, do I have to write out a json file for each sword?

Posted

1) Short answer: yes you do.  I find Excel useful for this (but that's because I use Excel a lot)

 

2) Not-quite-so-short answer - try out the vanilla DataGenerators to automatically generate all the recipes you need

https://github.com/Vazkii/Botania/blob/master/src/main/java/vazkii/botania/data/DataGenerators.java

and

https://github.com/Vazkii/Botania/tree/master/src/generated

 

3) somewhat longer answer - 

Write your own custom SpecialRecipe code to generate the appropriate type of sword from a given set of inputs

 

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.