Class SendResourcePackTask

java.lang.Object
net.minecraft.server.network.SendResourcePackTask
All Implemented Interfaces:
ServerPlayerConfigurationTask

public class SendResourcePackTask extends Object implements ServerPlayerConfigurationTask
Mappings:
Namespace Name
named net/minecraft/server/network/SendResourcePackTask
intermediary net/minecraft/class_8612
official ats
  • Field Details

    • KEY

      public static final ServerPlayerConfigurationTask.Key KEY
      Mappings:
      Namespace Name Mixin selector
      named KEY Lnet/minecraft/server/network/SendResourcePackTask;KEY:Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;
      intermediary field_45034 Lnet/minecraft/class_8612;field_45034:Lnet/minecraft/class_8605$class_8606;
      official a Lats;a:Lasy$a;
    • packProperties

      private final MinecraftServer.ServerResourcePackProperties packProperties
      Mappings:
      Namespace Name Mixin selector
      named packProperties Lnet/minecraft/server/network/SendResourcePackTask;packProperties:Lnet/minecraft/server/MinecraftServer$ServerResourcePackProperties;
      intermediary field_45035 Lnet/minecraft/class_8612;field_45035:Lnet/minecraft/server/MinecraftServer$class_7460;
      official b Lats;b:Lnet/minecraft/server/MinecraftServer$b;
  • Constructor Details

    • SendResourcePackTask

      public SendResourcePackTask(MinecraftServer.ServerResourcePackProperties packProperties)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/network/SendResourcePackTask;<init>(Lnet/minecraft/server/MinecraftServer$ServerResourcePackProperties;)V
      intermediary <init> Lnet/minecraft/class_8612;<init>(Lnet/minecraft/server/MinecraftServer$class_7460;)V
      official <init> Lats;<init>(Lnet/minecraft/server/MinecraftServer$b;)V
  • Method Details

    • sendPacket

      public void sendPacket(Consumer<Packet<?>> sender)
      Specified by:
      sendPacket in interface ServerPlayerConfigurationTask
      Mappings:
      Namespace Name Mixin selector
      named sendPacket Lnet/minecraft/server/network/ServerPlayerConfigurationTask;sendPacket(Ljava/util/function/Consumer;)V
      intermediary method_52376 Lnet/minecraft/class_8605;method_52376(Ljava/util/function/Consumer;)V
      official a Lasy;a(Ljava/util/function/Consumer;)V
    • getKey

      Specified by:
      getKey in interface ServerPlayerConfigurationTask
      Mappings:
      Namespace Name Mixin selector
      named getKey Lnet/minecraft/server/network/ServerPlayerConfigurationTask;getKey()Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;
      intermediary method_52375 Lnet/minecraft/class_8605;method_52375()Lnet/minecraft/class_8605$class_8606;
      official a Lasy;a()Lasy$a;