Jump to content

[1.7.2] server on-tick call?


Recommended Posts

ok in short, I'm going to have a custom (threaded) little engine to run to handle entity network calculations and management, instead of running with the tileentities and being a tick bloater, I can set up a way to run the cycles on-call with tileentity updates BUT Id prefer an event call before and/or after each tick on the server;


is there an interface that allows me to add a custom event function for the start and/or end of each tick?


Ive looked through a lot of the base classes and haven't really found anything I could use...

Link to comment
Share on other sites

mmyes but how do I go about inserting a call into it for a static class? not an entity or tile, I need a static function call into my engine to initiate its own ticks in time with minecraft's, otherwise I'm left with a trigger system on tile/entity updates that isn't exactly efficient...


being java I would expect an event interface to implement and to then register this implementation, similar to blocks etc, however I haven't been able to find anything relating to this anywhere...

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.

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.

  • Create New...

Important Information

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