Class SynchronizeRegistriesTask

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

public class SynchronizeRegistriesTask extends Object implements ServerPlayerConfigurationTask
Mappings:
Namespace Name
named net/minecraft/server/network/SynchronizeRegistriesTask
intermediary net/minecraft/class_9223
official asc
  • Field Details

    • KEY

      public static final ServerPlayerConfigurationTask.Key KEY
      Mappings:
      Namespace Name Mixin selector
      named KEY Lnet/minecraft/server/network/SynchronizeRegistriesTask;KEY:Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;
      intermediary field_49028 Lnet/minecraft/class_9223;field_49028:Lnet/minecraft/class_8605$class_8606;
      official a Lasc;a:Larj$a;
    • knownPacks

      private final List<VersionedIdentifier> knownPacks
      Mappings:
      Namespace Name Mixin selector
      named knownPacks Lnet/minecraft/server/network/SynchronizeRegistriesTask;knownPacks:Ljava/util/List;
      intermediary field_49029 Lnet/minecraft/class_9223;field_49029:Ljava/util/List;
      official b Lasc;b:Ljava/util/List;
    • registries

      Mappings:
      Namespace Name Mixin selector
      named registries Lnet/minecraft/server/network/SynchronizeRegistriesTask;registries:Lnet/minecraft/registry/CombinedDynamicRegistries;
      intermediary field_49030 Lnet/minecraft/class_9223;field_49030:Lnet/minecraft/class_7780;
      official c Lasc;c:Ljt;
  • Constructor Details

    • SynchronizeRegistriesTask

      public SynchronizeRegistriesTask(List<VersionedIdentifier> knownPacks, CombinedDynamicRegistries<ServerDynamicRegistryType> registries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/network/SynchronizeRegistriesTask;<init>(Ljava/util/List;Lnet/minecraft/registry/CombinedDynamicRegistries;)V
      intermediary <init> Lnet/minecraft/class_9223;<init>(Ljava/util/List;Lnet/minecraft/class_7780;)V
      official <init> Lasc;<init>(Ljava/util/List;Ljt;)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 Larj;a(Ljava/util/function/Consumer;)V
    • syncRegistryAndTags

      private void syncRegistryAndTags(Consumer<Packet<?>> sender, Set<VersionedIdentifier> commonKnownPacks)
      Mappings:
      Namespace Name Mixin selector
      named syncRegistryAndTags Lnet/minecraft/server/network/SynchronizeRegistriesTask;syncRegistryAndTags(Ljava/util/function/Consumer;Ljava/util/Set;)V
      intermediary method_56925 Lnet/minecraft/class_9223;method_56925(Ljava/util/function/Consumer;Ljava/util/Set;)V
      official a Lasc;a(Ljava/util/function/Consumer;Ljava/util/Set;)V
    • onSelectKnownPacks

      public void onSelectKnownPacks(List<VersionedIdentifier> clientKnownPacks, Consumer<Packet<?>> sender)
      Mappings:
      Namespace Name Mixin selector
      named onSelectKnownPacks Lnet/minecraft/server/network/SynchronizeRegistriesTask;onSelectKnownPacks(Ljava/util/List;Ljava/util/function/Consumer;)V
      intermediary method_56923 Lnet/minecraft/class_9223;method_56923(Ljava/util/List;Ljava/util/function/Consumer;)V
      official a Lasc;a(Ljava/util/List;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 Larj;a()Larj$a;