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 att
  • 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 Latt;a:Lasy$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 Latt;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 Latt;c:Ljx;
  • 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> Latt;<init>(Ljava/util/List;Ljx;)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
    • 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 Latt;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 Latt;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 Lasy;a()Lasy$a;