How do and can you keep an item within a furnace or crafting table after use?

Started by Dr. Zer0 on Thu, 09/23/2021 - 23:22

Topic category: Help with modding (Java Edition)

Last seen on 13:00, 1. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do and can you keep an item within a furnace or crafting table after use?
Thu, 09/23/2021 - 23:22

So, I was making a mod where you could smelt a milk bucket into cheese. The problem arose when I decided to not include an iron bucket within my cheese. If someone could help me in keeping a plain bucket in the input slot, that would be greatly appreciated.

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I honestly don't get what…
Thu, 09/23/2021 - 23:34

I honestly don't get what you mean, is it that you made a custom bucket?

Last seen on 13:00, 1. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No. Basically, I'm making a…
Fri, 09/24/2021 - 00:16

No. Basically, I'm making a mod where you can smelt a vanilla milk bucket into a custom item of cheese. I don't want the bucket to be consumed, I just want the milk bucket to be replaced with a normal bucket after the recipe is finished.

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
well vanilla bucket should…
Fri, 09/24/2021 - 00:42

well vanilla bucket should be made so it remains like Lava Bucket used as fuel

Last seen on 13:00, 1. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I tried it, but the bucket…
Fri, 09/24/2021 - 00:53

I tried it, but the bucket gets smelted as well.

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
last resource could be make…
Fri, 09/24/2021 - 01:19

last resource could be make a procedure on trigger Item is Smelted if Provided Itemstack = MILK_BUCKET 

do set item BUCKET in slot 0 of the currently opened GUI

Last seen on 13:00, 1. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I just now tried that and…
Fri, 09/24/2021 - 01:54

I just now tried that and other variants of that code, but to no avail. My theory is that it has something to do with the fact then when an item is "smelted," there is no item in the input or output, like the frame in between. Whether this is correct or not is out of my knowledge, but so far, it has not worked.

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
then you could make it that…
Fri, 09/24/2021 - 02:12

then you could make it that it checks the 3 slot instead of 0, that way it will check the output and not input

Last seen on 13:00, 1. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Whether it was making it…
Fri, 09/24/2021 - 02:40

Whether it was making it check slot 0 for milk or slot 2 for cheese, it would not replace the input to a bucket. Do you think there's any way to do this, or would making a custom item like cream to be smelted instead be easier?

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yeah sorry for not being…
Fri, 09/24/2021 - 02:53

yeah sorry for not being able to help you, but I do believe it would be better the cream