net.minecraft.server.command

public class TimeCommand

net.minecraft.server.commands.TimeCommand
net.minecraft.class_3149
net.minecraft.server.command.TimeCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_NO_DEFAULT_CLOCK
field_1_991
NO_DEFAULT_CLOCK_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_NO_TIME_MARKER_FOUND
field_1_992
NO_TIME_MARKER_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_WRONG_TIMELINE_FOR_CLOCK
field_1_993
WRONG_TIMELINE_FOR_CLOCK_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_ALREADY_AT_TIME_MARKER
field_1_8320
field_1_8320
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_ALREADY_AT_TIME
field_1_8319
field_1_8319
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_ALREADY_PAUSED
field_1_8321
field_1_8321
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_ALREADY_RUNNING
field_1_8322
field_1_8322
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
ERROR_ALREADY_SAME_RATE
field_1_8323
field_1_8323
private static final int
MAX_CLOCK_RATE
field_1_2457
MAX_CLOCK_RATE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_1_940(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
private static <A extends com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, A>> A
addClockNodes(CommandBuildContext context, A node, TimeCommand$ClockGetter clockGetter)
method_1_909(class_7157 arg0, A arg1, class_3149$class_1_104 arg2)
createClockSubcommands(CommandRegistryAccess commandRegistryAccess, A root, TimeCommand$ClockProvider clockProvider)
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestTimeMarkers(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Holder<WorldClock> clock)
method_1_944(class_2168 arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, class_6880<class_1_94> arg2)
suggestTimeMarkers(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, RegistryEntry<WorldClockKey> clock)
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestTimelines(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Holder<WorldClock> clock)
method_1_945(class_2168 arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, class_6880<class_1_94> arg2)
suggestTimelines(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, RegistryEntry<WorldClockKey> clock)
private static int
queryGameTime(CommandSourceStack source)
method_13796(class_2168 arg0)
executeQuery(ServerCommandSource source)
private static int
queryTime(CommandSourceStack source, Holder<WorldClock> clock)
method_1_937(class_2168 arg0, class_6880<class_1_94> arg1)
queryTime(ServerCommandSource source, RegistryEntry<WorldClockKey> clock)
private static int
queryTimelineTicks(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline)
method_1_939(class_2168 arg0, class_6880<class_1_94> arg1, class_6880<class_12329> arg2)
queryTimeOnTimeline(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, RegistryEntry<Timeline> timeline)
private static int
queryTimelineRepetitions(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline)
method_1_938(class_2168 arg0, class_6880<class_1_94> arg1, class_6880<class_12329> arg2)
queryDayCountOnTimeline(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, RegistryEntry<Timeline> timeline)
private static int
setTotalTicks(CommandSourceStack source, Holder<WorldClock> clock, int totalTicks)
method_1_943(class_2168 arg0, class_6880<class_1_94> arg1, int arg2)
setTime(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, int ticks)
private static int
addTime(CommandSourceStack source, Holder<WorldClock> clock, int time)
method_1_910(class_2168 arg0, class_6880<class_1_94> arg1, int arg2)
addTime(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, int ticks)
private static int
setTimeToTimeMarker(CommandSourceStack source, Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId)
method_1_942(class_2168 arg0, class_6880<class_1_94> arg1, class_5321<class_1_105> arg2)
setToTimeMarker(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, RegistryKey<TimeMarker> marker)
private static int
setPaused(CommandSourceStack source, Holder<WorldClock> clock, boolean paused)
method_1_941(class_2168 arg0, class_6880<class_1_94> arg1, boolean arg2)
setClockPaused(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, boolean paused)
private static int
setRate(CommandSourceStack source, Holder<WorldClock> clock, float rate)
method_1_2942(class_2168 arg0, class_6880<class_1_94> arg1, float arg2)
setClockRate(ServerCommandSource source, RegistryEntry<WorldClockKey> clock, float rate)
private static int
wrapTime(long ticks)
method_1_946(long arg0)
coerceTicksToInt(long ticks)
private static RegistryEntry<WorldClockKey>
getDefaultClock(CommandSourceStack source)
method_1_911(class_2168 arg0)
getDefaultClock(ServerCommandSource source)
private static com.mojang.brigadier.exceptions.CommandSyntaxException
lambda$getDefaultClock$0(Holder arg0)
method_1_923(class_6880 arg0)
method_1_923(RegistryEntry arg0)
private static Text
lambda$setRate$0(Holder arg0, float arg1)
method_1_2941(class_6880 arg0, float arg1)
method_1_2941(RegistryEntry arg0, float arg1)
private static Text
lambda$setPaused$0(boolean arg0, String arg1)
method_1_930(boolean arg0, String arg1)
method_1_930(boolean arg0, String arg1)
private static Text
lambda$setTimeToTimeMarker$0(String arg0, String arg1)
method_1_7680(String arg0, String arg1)
method_1_7680(String arg0, String arg1)
private static Text
lambda$addTime$0(Holder arg0, long arg1)
method_1_922(class_6880 arg0, long arg1)
method_1_922(RegistryEntry arg0, long arg1)
private static Text
lambda$setTotalTicks$0(Holder arg0, int arg1)
method_1_932(class_6880 arg0, int arg1)
method_1_932(RegistryEntry arg0, int arg1)
private static Text
lambda$queryTimelineRepetitions$0(Holder arg0, long arg1)
method_1_926(class_6880 arg0, long arg1)
method_1_926(RegistryEntry arg0, long arg1)
private static Text
lambda$queryTimelineTicks$0(Holder arg0, long arg1)
method_1_927(class_6880 arg0, long arg1)
method_1_927(RegistryEntry arg0, long arg1)
private static Text
lambda$queryTime$0(Holder arg0, long arg1)
method_1_925(class_6880 arg0, long arg1)
method_1_925(RegistryEntry arg0, long arg1)
private static Text
lambda$queryGameTime$0(long arg0)
method_1_924(long arg0)
method_1_924(long arg0)
private static boolean
lambda$suggestTimelines$0(Holder arg0, Holder$Reference arg1)
method_1_936(class_6880 arg0, class_6880$class_6883 arg1)
method_1_936(RegistryEntry arg0, RegistryEntry$Reference entry)
private static int
lambda$addClockNodes$10(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_921(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_921(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$9(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_920(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_920(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static CompletableFuture
lambda$addClockNodes$8(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_1_919(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_1_919(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
private static int
lambda$addClockNodes$7(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_918(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_918(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$6(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_2940(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_2940(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$5(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_917(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_917(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$4(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_916(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_916(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$3(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_915(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_915(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$addClockNodes$2(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_914(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_914(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static CompletableFuture
lambda$addClockNodes$1(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_1_913(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_1_913(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
private static int
lambda$addClockNodes$0(TimeCommand$ClockGetter arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_912(class_3149$class_1_104 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_912(TimeCommand$ClockProvider arg0, com.mojang.brigadier.context.CommandContext context)
private static RegistryEntry
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_1_929(com.mojang.brigadier.context.CommandContext arg0)
method_1_929(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13794(com.mojang.brigadier.context.CommandContext arg0)
method_13794(com.mojang.brigadier.context.CommandContext context)
private static RegistryEntry
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_1_928(com.mojang.brigadier.context.CommandContext arg0)
method_1_928(com.mojang.brigadier.context.CommandContext context)
private static com.mojang.brigadier.Message
lambda$static$7(Object arg0, Object arg1)
method_1_7685(Object arg0, Object arg1)
method_1_7685(Object arg0, Object arg1)
private static com.mojang.brigadier.Message
lambda$static$6(Object arg0)
method_1_7684(Object arg0)
method_1_7684(Object arg0)
private static com.mojang.brigadier.Message
lambda$static$5(Object arg0)
method_1_7683(Object arg0)
method_1_7683(Object arg0)
private static com.mojang.brigadier.Message
lambda$static$4(Object arg0, Object arg1)
method_1_7682(Object arg0, Object arg1)
method_1_7682(Object arg0, Object arg1)
private static com.mojang.brigadier.Message
lambda$static$3(Object arg0, Object arg1)
method_1_7681(Object arg0, Object arg1)
method_1_7681(Object arg0, Object arg1)
private static com.mojang.brigadier.Message
lambda$static$2(Object arg0, Object arg1)
method_1_935(Object arg0, Object arg1)
method_1_935(Object clock, Object timeline)
private static com.mojang.brigadier.Message
lambda$static$1(Object arg0, Object arg1)
method_1_934(Object arg0, Object arg1)
method_1_934(Object clock, Object marker)
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0)
method_1_933(Object arg0)
method_1_933(Object dimension)