类 TimeCommand
java.lang.Object
net.minecraft.server.commands.TimeCommand
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static int
addTime
(CommandSourceStack pSource, int pAmount) private static int
getDayTime
(ServerLevel pLevel) private static int
queryTime
(CommandSourceStack pSource, int pTime) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) static int
setTime
(CommandSourceStack pSource, int pTime)
-
构造器详细资料
-
TimeCommand
public TimeCommand()
-
-
方法详细资料
-
register
-
getDayTime
-
queryTime
-
setTime
-
addTime
-