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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

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