Here you can find the source of centisecondsPerTick(final int tps)
Parameter | Description |
---|---|
tps | tick per second. |
public static int centisecondsPerTick(final int tps)
//package com.java2s; //License from project: Open Source License public class Main { /**/* ww w .ja va2s . c om*/ * Change tps to number of centiseconds per tick, 100/tps. * * @param tps tick per second. * * @return number of centiseconds per tick. */ public static int centisecondsPerTick(final int tps) { return 100 / tps; } }