Creating recipes for potions added by other mods

Started by GreekTitan12 on

Topic category: Help with modding (Java Edition)

Last seen on 22:24, 26. Dec 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry, you need to code that…
Mon, 02/10/2020 - 06:19

sorry, you need to code that.

 

Last seen on 22:24, 26. Dec 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

 

Last seen on 22:24, 26. Dec 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.
Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I already found a…
Wed, 02/12/2020 - 01:47

I already found a crafttweaker script that adds these recipes

Last seen on 08:13, 21. Jun 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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)

Last seen on 22:24, 26. Dec 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Last seen on 08:13, 21. Jun 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Last seen on 08:13, 21. Jun 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually yes, you should do…
Thu, 02/13/2020 - 05:32

actually yes, you should do that yet

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lol but I still don't…
Thu, 02/13/2020 - 05:53

lol but I still don't understand how to do that XD

Last seen on 22:24, 26. Dec 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So to be clear, I should…
Fri, 02/14/2020 - 22:11

So to be clear, I should replace the item id with modded ones?

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
actually no,you will need to…
Sat, 02/15/2020 - 00:18

actually no,you will need to load the mod's deobf jars into your build.gradle as a lib first

but you can't do that with out knowledge of coding, so sorry to burst your bubble