Jump to content

Recommended Posts

Posted

Hello,

 

In 1.7 and earlier updateEntity() was called every tick for Tile Entities, this seems to have changed for 1.8 and I can't find what replaces it. Is there a replacement? If so, what is it?

 

Please excuse my bad English, it is not my native language.

 

--

SirTheori

Posted

I see how they do it but I can't get it to work for my TileEntity(a mine), am I correct that the update() method is called every tick? Otherwise, which one? Or, is it done some other way now?

 

Thanks in advance.

  • 9 months later...
Posted

Just a note that for 1.8.8, you use import net.minecraft.util.ITickable;

 

instead of the now REMOVED import net.minecraft.server.gui.IUpdatePlayerListBox;

Oh lovely -- I recently wrote a mod using that list-box interface in Forge build 1450, so it will need to change when I move to the next recommended build (which I can now see at 1563). Thanks for the warning.

 

I thought it an odd dependency at the time, so I like the change.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

Just a note that for 1.8.8, you use import net.minecraft.util.ITickable;

 

instead of the now REMOVED import net.minecraft.server.gui.IUpdatePlayerListBox;

Oh lovely -- I recently wrote a mod using that list-box interface in Forge build 1450, so it will need to change when I move to the next recommended build (which I can now see at 1563). Thanks for the warning.

 

I thought it an odd dependency at the time, so I like the change.

 

The change is only in 1.8.8, not newer versions of 1.8 like 1563.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.