Jump to content

[1.8] TileEntity & Blockstate problems


Kander16

Recommended Posts

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.