Class SendCodeOfConductTask

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

public class SendCodeOfConductTask extends Object implements ServerPlayerConfigurationTask
Mappings:
Namespace Name
named net/minecraft/server/network/SendCodeOfConductTask
intermediary net/minecraft/class_11754
official ayi
  • Field Details

    • KEY

      public static final ServerPlayerConfigurationTask.Key KEY
      Mappings:
      Namespace Name Mixin selector
      named KEY Lnet/minecraft/server/network/SendCodeOfConductTask;KEY:Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;
      intermediary field_62064 Lnet/minecraft/class_11754;field_62064:Lnet/minecraft/class_8605$class_8606;
      official a Layi;a:Laxn$a;
    • textSupplier

      private final Supplier<String> textSupplier
      Mappings:
      Namespace Name Mixin selector
      named textSupplier Lnet/minecraft/server/network/SendCodeOfConductTask;textSupplier:Ljava/util/function/Supplier;
      intermediary field_62065 Lnet/minecraft/class_11754;field_62065:Ljava/util/function/Supplier;
      official b Layi;b:Ljava/util/function/Supplier;
  • Constructor Details

    • SendCodeOfConductTask

      public SendCodeOfConductTask(Supplier<String> textSupplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/network/SendCodeOfConductTask;<init>(Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_11754;<init>(Ljava/util/function/Supplier;)V
      official <init> Layi;<init>(Ljava/util/function/Supplier;)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 Laxn;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 b Laxn;b()Laxn$a;