Some docs

This commit is contained in:
2023-10-28 23:46:47 +02:00
parent 2f0b59a032
commit ecd8b3b0c9
6 changed files with 46 additions and 7 deletions

View File

@@ -5,8 +5,14 @@ package fr.pandacube.lib.util;
*/
public class Tick {
/**
* The number of Minecraft server ticks in a second.
*/
public static final int TPS = 20;
/**
* The duration of a Minecraft server tick in millisecond.
*/
public static final int MS_PER_TICK = 1000 / TPS;