Class CommandTps
- java.lang.Object
-
- net.minecraftforge.server.command.CommandTps
-
class CommandTps extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.text.DecimalFormat
TIME_FORMATTER
private static long[]
UNLOADED
-
Constructor Summary
Constructors Constructor Description CommandTps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static long
mean(long[] values)
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
register()
private static int
sendTime(CommandSource cs, ServerWorld dim)
-
-
-
Method Detail
-
register
static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> register()
-
sendTime
private static int sendTime(CommandSource cs, ServerWorld dim) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
mean
private static long mean(long[] values)
-
-