Here you can find the source of minutesToTicks(double x)
public static int minutesToTicks(double x)
//package com.java2s; //License from project: LGPL public class Main { public static final int TICKS_PER_SEC = 20; public static final int SEC_PER_MIN = 15; /** D&D minutes to ticks (16 seconds per MC 'minute') **/ public static int minutesToTicks(double x) { return secondsToTicks(x * SEC_PER_MIN); }/*from ww w . j a v a2 s. com*/ /** standard MC ratio **/ public static int secondsToTicks(double x) { return (int) x * TICKS_PER_SEC; } }