Posted May 17, 201510 yr Hi, I have some problems with my TileEntity and changing the States of the block: -- 1 -- I have a problem where my amount of ice (kind of fuel here) alternates between the actual value and a previous value. I put several debug.console statements in my code to try to find where the previous value comes from. But if I open the gui of the icemaker, the values in de console stops alternating. Then it will show the right values. When It shows the right values, and you go out of the GUI, it will remain the right values. -- 2 -- The block does not update to the active state when it is running. Its just the 'off' state of the block. The block does not updates to another state when I put more ice inside of the block. It should change the state, depending on how much Ice there's in the machine. --------------- I don't know what I am doing wrong. I've searched for hours to find a solution, but nothing works. I hope someone can help me. Thanks. Block class: http://pastebin.com/JM2xFED7 TileEntity: http://pastebin.com/rbzsYTLa Console: http://pastebin.com/RacE28G9 Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
May 17, 201510 yr Author Done that. Do you need the code? Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
May 17, 201510 yr Author Ok, there you go. http://pastebin.com/uhwzD3P2 We'll continue tomorrow, I am leaving now :-). Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
May 18, 201510 yr Author My bad. http://pastebin.com/v7JiAFPA Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
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.