Started by
Dr. Zer0
on
Topic category: Help with Minecraft modding (Java Edition)
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.
I honestly don't get what you mean, is it that you made a custom bucket?
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.
well vanilla bucket should be made so it remains like Lava Bucket used as fuel
I tried it, but the bucket gets smelted as well.
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
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.
then you could make it that it checks the 3 slot instead of 0, that way it will check the output and not input
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?
yeah sorry for not being able to help you, but I do believe it would be better the cream