Jump to content

[1.7.10][SOLVED] Tick Handler Not Working in SSP


Izzy Axel

Recommended Posts

I created a tick handler to reset some reflection I do when the armor that performs it is removed.  It all works fine in SMP as expected, but in SSP, it's never called.  How would I make the server tick handler work properly in SSP?  I also tried a client tick handler, but it did nothing. (wasn't really expecting it to)  If the server tick event can never be called on SSP, how else would I go about doing this?

 

 

Server Tick Handler

Client Tick Handler

Link to comment
Share on other sites

This is not how you do it. ServerTick is for whole server. Whole server can have more than one world.

 

Use WorldTickEvent for server side.

 

For client - yes, you have to use ClientTickEvent or PlayerTickEvent (which is called on both sides for all players).

 

If we are talking armours - use PlayerTick.

1.7.10 is no longer supported by forge, you are on your own.

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.