Class ServerPackCommand

java.lang.Object
net.minecraft.server.command.ServerPackCommand

public class ServerPackCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/ServerPackCommand
intermediary net/minecraft/class_9027
official apr
  • Constructor Details

    • ServerPackCommand

      public ServerPackCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/ServerPackCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_55474 Lnet/minecraft/class_9027;method_55474(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lapr;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • sendToAll

      private static void sendToAll(ServerCommandSource source, Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      named sendToAll Lnet/minecraft/server/command/ServerPackCommand;sendToAll(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_55479 Lnet/minecraft/class_9027;method_55479(Lnet/minecraft/class_2168;Lnet/minecraft/class_2596;)V
      official a Lapr;a(Lew;Laac;)V
    • executePush

      private static int executePush(ServerCommandSource source, String url, Optional<UUID> uuid, Optional<String> hash)
      Mappings:
      Namespace Name Mixin selector
      named executePush Lnet/minecraft/server/command/ServerPackCommand;executePush(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;)I
      intermediary method_55477 Lnet/minecraft/class_9027;method_55477(Lnet/minecraft/class_2168;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;)I
      official a Lapr;a(Lew;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;)I
    • executePop

      private static int executePop(ServerCommandSource source, UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      named executePop Lnet/minecraft/server/command/ServerPackCommand;executePop(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/UUID;)I
      intermediary method_55478 Lnet/minecraft/class_9027;method_55478(Lnet/minecraft/class_2168;Ljava/util/UUID;)I
      official a Lapr;a(Lew;Ljava/util/UUID;)I