Class SendResourcePackTask

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

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

    • KEY

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

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

    • SendResourcePackTask

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

    • sendPacket

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

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