Creating recipes for potions added by other mods

Started by GreekTitan12 on Mon, 02/10/2020 - 04:12

Topic category: Help with modding

Last seen on 21:40, 23. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Creating recipes for potions added by other mods
Mon, 02/10/2020 - 23:07 (edited)

Hello.

I am trying to create a mod that adds recipes and blocks/items to make potions from PotionCore 1.12.2 (link here.). I'm having trouble finding a tutorial that I, someone who knows the tiniest amount about modding, can understand. Can someone help me find a tutorial or maybe even be so generous as to do it for me?

(If anyone wants to do it for me I can attach the textures for the blocks and items)

Edited by GreekTitan12 on Mon, 02/10/2020 - 23:07
0Upvote this forum topic
Last seen on 01:06, 24. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
sorry, you need to code that…
Mon, 02/10/2020 - 06:19

sorry, you need to code that.

 

0Upvote this forum topic
Last seen on 21:40, 23. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I have absolutely no idea…
Mon, 02/10/2020 - 23:05

I have absolutely no idea how. I'm looking for a tutorial on how to add dependencies to my mod or use another mod as a starting point/base.

 

0Upvote this forum topic
Last seen on 01:06, 24. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
You need to insert it to…
Tue, 02/11/2020 - 01:06

You need to insert it to build.gradle or something

If you know how to code, there will probably be tutorials for Potioncore's Github page.

I didn't look at potion core but It's like that for JEI and Tinker's Construct

 

0Upvote this forum topic
Last seen on 21:40, 23. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Unfortunately, I don't know…
Wed, 02/12/2020 - 01:16

Unfortunately, I don't know how to code at all, which is why I installed Mcreator.

Can you recommend a tutorial?

0Upvote this forum topic
Last seen on 01:06, 24. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I don't know how to code…
Wed, 02/12/2020 - 01:33

I don't know how to code either(In Java)

but I still can understand some stuff and edit some code

  • Going into the Files on curseforge, and clicking on the file name you want to download it for
  • Scrolling down to the related files on the bottom.
  • Download both the deobf and sources files.
  • In your forge dev environment, create a libs folder.
  • Drag both files into the libs folder.
  • If you are using eclipse, go to the libs folder, right click on the deobf file, and click Build Path -> Add to Build Path
  • It should now be loaded at the bottom of Referenced Libraries.
  • Try to open a class, click Add Source, and point it to the sources file.
  • It should now be loaded as a library.
0Upvote this forum topic
Last seen on 01:06, 24. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I already found a…
Wed, 02/12/2020 - 01:47

I already found a crafttweaker script that adds these recipes

0Upvote this forum topic
Last seen on 20:41, 22. Feb 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
You could make the recipes…
Wed, 02/12/2020 - 15:15

You could make the recipes result in a random block, then go into the code and replace the result item with an item id of the potion you want (to get the id, you'd have to download the mod and use /give command for the potions and see)

0Upvote this forum topic
Last seen on 21:40, 23. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
It seems like a good idea…
Wed, 02/12/2020 - 22:24

It seems like a good idea niskiENDER! But what do you mean by a random block?

0Upvote this forum topic
Last seen on 20:41, 22. Feb 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
any block. you then have to…
Wed, 02/12/2020 - 22:25

any block. you then have to lock the code and find the recipe result item and replace it with the modded item ID.

0Upvote this forum topic
Last seen on 01:06, 24. Feb 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
That will cause build errors…
Thu, 02/13/2020 - 00:23

That will cause build errors because you can't find the modded id without the mod installed, and mcreator doesn't "know" that you installed a mod or not.

I think that might work if load it in the maven thing

0Upvote this forum topic