类 TimeCommand


  • public class TimeCommand
    extends Object
    Mappings:
    Namespace Name
    official zw
    intermediary net/minecraft/class_3149
    named net/minecraft/server/command/TimeCommand
    • 构造器详细资料

      • TimeCommand

        public TimeCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzw;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13786 Lnet/minecraft/class_3149;method_13786(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/command/TimeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • getDayTime

        private static int getDayTime​(ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official a Lzw;a(Labj;)I
        intermediary method_13787 Lnet/minecraft/class_3149;method_13787(Lnet/minecraft/class_3218;)I
        named getDayTime Lnet/minecraft/server/command/TimeCommand;getDayTime(Lnet/minecraft/server/world/ServerWorld;)I
      • executeQuery

        private static int executeQuery​(ServerCommandSource source,
                                        int time)
        Mappings:
        Namespace Name Mixin selector
        official c Lzw;c(Ldg;I)I
        intermediary method_13796 Lnet/minecraft/class_3149;method_13796(Lnet/minecraft/class_2168;I)I
        named executeQuery Lnet/minecraft/server/command/TimeCommand;executeQuery(Lnet/minecraft/server/command/ServerCommandSource;I)I
      • executeSet

        public static int executeSet​(ServerCommandSource source,
                                     int time)
        Mappings:
        Namespace Name Mixin selector
        official a Lzw;a(Ldg;I)I
        intermediary method_13784 Lnet/minecraft/class_3149;method_13784(Lnet/minecraft/class_2168;I)I
        named executeSet Lnet/minecraft/server/command/TimeCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;I)I
      • executeAdd

        public static int executeAdd​(ServerCommandSource source,
                                     int time)
        Mappings:
        Namespace Name Mixin selector
        official b Lzw;b(Ldg;I)I
        intermediary method_13788 Lnet/minecraft/class_3149;method_13788(Lnet/minecraft/class_2168;I)I
        named executeAdd Lnet/minecraft/server/command/TimeCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;I)I