Bedrock_Miner Posted March 19, 2015 Posted March 19, 2015 Heyho Guys! Just a small question: How can I get the current World tick count and the partial tick value on client side? It should be a simple thing that I can put in a method like: getCurrentTick(); getCurrentPartialTick(); Quote http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
Bedrock_Miner Posted March 19, 2015 Author Posted March 19, 2015 Well, I meant any Tick. Didn't know that there were different ones, but that what you mentioned sounds good. Thank you! Quote http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
Draco18s Posted March 19, 2015 Posted March 19, 2015 Well, I meant any Tick. Didn't know that there were different ones, but that what you mentioned sounds good. Thank you! totalWorldTime is the "number of ticks the world has been active in memory" (I don't believe that unloaded dimensions will see this number increase; e.g. mod-added dims, as the nether and end always have some portions loaded). worldTime on the other hand is closer to a "current date." It doesn't tick when DaylightCycle is false and is incremented to sunrise when the player sleeps. Use them well (and don't use setWorldTime() unless you have a damn good reason to). 1 Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.