Alesimula Posted February 23, 2014 Posted February 23, 2014 I'm adding a new ItemPickupEvent to take an achievement when an item is picked up, and i think, but not sure, it has to be registered only on my client proxy am i right? Quote Actually i don't know what to write in this signature soooo.... anyway
coolAlias Posted February 23, 2014 Posted February 23, 2014 No. PlayerEvents should happen on both sides. In fact, most events should happen on both sides. Quote http://i.imgur.com/NdrFdld.png[/img]
Alesimula Posted February 23, 2014 Author Posted February 23, 2014 What about TickEvents? Quote Actually i don't know what to write in this signature soooo.... anyway
coolAlias Posted February 23, 2014 Posted February 23, 2014 That depends on the TickEvent, of course: ServerTickEvent: obviously server only ClientTickEvent: again, obviously client only WorldTickEvent: both sides PlayerTickEvent: both sides RenderTickEvent: client only Don't just subscribe to "TickEvent", as that will listen to every single one of those tick types, just use the one that you need. Quote http://i.imgur.com/NdrFdld.png[/img]
Recommended Posts
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.