awesomedude3595 Posted March 5, 2022 Posted March 5, 2022 I have created a custom GUI which has a working custom crafting recipe. I want to have the recipe's result to change depending on what button on the GUI was pressed. It might require 2 different recipes. How would I do this? Code here. Quote
awesomedude3595 Posted March 6, 2022 Author Posted March 6, 2022 (edited) I have created a boolean that changes between true/false when you click the button, however after clicking the button you have to take an item away and put it back for the result to change. Is there a way I can have the result change without needing to do this? Edited March 6, 2022 by awesomedude3595 Quote
awesomedude3595 Posted March 16, 2022 Author Posted March 16, 2022 I have created a custom GUI which has custom a custom recipe. I want to have the output of the recipe change depending on what button is pressed. I have created the buttons however I cannot get them to change the recipe output. Code Here Quote
poopoodice Posted March 17, 2022 Posted March 17, 2022 You will need to notify the server for the recipe update too. Check out: https://mcforge.readthedocs.io/en/latest/networking/simpleimpl/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.