Furnace Smelts items into multiple results

Started by MrBelles on Sun, 01/03/2021 - 20:16

Topic category: Help with MCreator software

Last seen on 14:32, 25. Jun 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Furnace Smelts items into multiple results
Sun, 01/03/2021 - 20:16

I have a block in my mod that I would like to smelt into 8 parts instead of just 1. For example It's like ancient debris where you get the loot after you smelt it but I want it to split into 8 netherite scraps instead of 1. I tried to change it by adding     "count": 1 underneath the result but it doesn't work.

Last seen on 17:43, 7. Mar 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Show me the procedure please…
Sun, 01/03/2021 - 21:01

Show me the procedure please and also just to for warn you i might not reply for a while

Last seen on 14:32, 25. Jun 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
{   "group": "mymod",   …
Mon, 01/04/2021 - 04:08

{
  "group": "mymod",
  "type": "minecraft:smelting",
  "experience": 1,
  "cookingtime": 200,
  "ingredient": {
    "item": "mymod:salt_ore"
  },
  "result": {
    "item": "mymod:salt"
    "count": 8
  }
}

This is recipe JSON, you…
Mon, 01/04/2021 - 11:33

This is recipe JSON, you were talking about custom furnace so show the procedure of your furnace you have so far

Last seen on 14:32, 25. Jun 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh i didnt make a custom…
Mon, 01/04/2021 - 21:31

oh i didnt make a custom furnace. I just wanted the block to smelt into 8 items instead of 1.

Last seen on 04:20, 29. Jun 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You still need help with…
Wed, 02/10/2021 - 22:41

You still need help with this?

 

Last seen on 14:32, 25. Jun 2022
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ya.
Thu, 02/18/2021 - 04:12

ya.

Last seen on 04:20, 29. Jun 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry late response, This…
Sun, 03/14/2021 - 16:09

Sorry late response, This Method Was done by MCreator 2020.5 so Idk if it works for 2020.6, do your recipe, Cooking, and close it, then select it and click, "Lock Code". Then Double Click on the recipe, finally just go to the bottom, where it should say on a code, "GameRegistry.addSmelting(new ItemStack(Item[your item].block, (int) (1)), new ItemStack(Item[your result item].block, (int) (1)), 1F);" And change the Number 1, right from 1F, Don't Change 1F, change the lonely number that its on 3 parentheses. Change that 1 to any number you want, bc this number is the number of items you will get, so in ur case, u want it to give 8 items, change 1 to 8, now it should look like this, "GameRegistry.addSmelting(new ItemStack(Item[your item].block, (int) (1)), new ItemStack(Item[your result item].block, (int) (8)), 1F);" And Hopefully I Helped a Lot! Good Luck!

Last seen on 20:28, 16. Jul 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Did you resolve this...?
Mon, 07/12/2021 - 20:32

Did you resolve this...?

Last seen on 17:15, 28. Feb 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hey there, this recipe works…
Sat, 02/12/2022 - 20:21

Hey there, this recipe works for the latest Mcreator relase (2021.3) I don´t know if it is downward compatible but you can at least try it!

 

{
  "type": "minecraft:smelting",
  "experience": 0,
  "cookingtime": 200,
  "ingredient": {
    "item": "projectexample:example_to_smelt"
  },
  "result": {
    "item": "projectexample:smelted_example_parts",
    "count":10
  }
}

 

I saw that the recipe from above that didn´t work, missed some commas, it might be the problem cause this recipe here works for me!

Last seen on 17:15, 28. Feb 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Simple Fix:   {   "group": …
Sat, 02/12/2022 - 20:26

Simple Fix:

 

{
  "group": "mymod",
  "type": "minecraft:smelting",
  "experience": 1,
  "cookingtime": 200,
  "ingredient": {
    "item": "mymod:salt_ore"
  },
  "result": {
    "item": "mymod:salt",
   "count":8
  }
}