BlackTachyon Posted November 9, 2015 Share Posted November 9, 2015 I know I can hardcode or create my own constant to represent either 20tick/sec or 50millis/tick, however are either of these constants already public defined somewhere either in the net.minecraft or net.minecraftforge code? I would rather depend on a value provided from a greater authority, rather than hard code my own constant based on *public* common knowledge. You know, just in case a future minecraft/server alters the TPS value... Quote Link to comment Share on other sites More sharing options...
jabelar Posted November 9, 2015 Share Posted November 9, 2015 I've never seen one. If you truly cared about real-time seconds you could use the system timer functions in Java, but most people believe that any time-based activities in Minecraft should lag together with everything else (which I agree with) so yeah just divide by 20. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/ Link to comment Share on other sites More sharing options...
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.