Topic category: Help with modding (Java Edition)
I have a mod called Essentia that I am currently working on, and my main problem is these Pot Holders I have created. They are meant to serve as a conversion chart to convert a most recently downgraded ingot to the same version as the Pot Holder it is made out of. I know how to do that, but I have a question. I have a button that is labeled as "Convert To Next Rank," and I have an input and output slot to place the downgraded ingot in, and for the output to give the outcome upgraded ingot. My only problem is that in the procedure, Im not sure how to make it so that only if there is actually an ingot in the slot, that it will grant me the upgraded version, and not just giving me the upgraded version when the button is clicked when nothing was in the input slot to be cleared to begin with. Can Someone please help? i can clarify any way!