类 StopSoundCommand


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

      • StopSoundCommand

        public StopSoundCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzp;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13681 Lnet/minecraft/class_3136;method_13681(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/command/StopSoundCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • execute

        private static int execute​(ServerCommandSource source,
                                   Collection<ServerPlayerEntity> targets,
                                   @Nullable
                                   @Nullable SoundCategory category,
                                   @Nullable
                                   @Nullable Identifier sound)
        Mappings:
        Namespace Name Mixin selector
        official a Lzp;a(Ldg;Ljava/util/Collection;Laex;Lwp;)I
        intermediary method_13685 Lnet/minecraft/class_3136;method_13685(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3419;Lnet/minecraft/class_2960;)I
        named execute Lnet/minecraft/server/command/StopSoundCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/Identifier;)I