Class ServerPackCommand

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

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

    • ServerPackCommand

      public ServerPackCommand()
  • Method Details

    • register

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

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

      private static int executePush(ServerCommandSource source, String url, Optional<UUID> uuid, Optional<String> hash)
      Mappings:
      Namespace Name Mixin selector
      official a Laku;a(Lds;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
      named executePush Lnet/minecraft/server/command/ServerPackCommand;executePush(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Ljava/util/Optional;Ljava/util/Optional;)I
    • executePop

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