Package net.minecraft.server.network
Class SynchronizeRegistriesTask
java.lang.Object
net.minecraft.server.network.SynchronizeRegistriesTask
- All Implemented Interfaces:
ServerPlayerConfigurationTask
- Mappings:
Namespace Name named net/minecraft/server/network/SynchronizeRegistriesTask
intermediary net/minecraft/class_9223
official asc
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.network.ServerPlayerConfigurationTask
ServerPlayerConfigurationTask.Key
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerPlayerConfigurationTask.Key
private final List
<VersionedIdentifier> private final CombinedDynamicRegistries
<ServerDynamicRegistryType> -
Constructor Summary
ConstructorDescriptionSynchronizeRegistriesTask
(List<VersionedIdentifier> knownPacks, CombinedDynamicRegistries<ServerDynamicRegistryType> registries) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
void
onSelectKnownPacks
(List<VersionedIdentifier> clientKnownPacks, Consumer<Packet<?>> sender) void
sendPacket
(Consumer<Packet<?>> sender) private void
syncRegistryAndTags
(Consumer<Packet<?>> sender, Set<VersionedIdentifier> commonKnownPacks)
-
Field Details
-
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
- 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
- Specified by:
sendPacket
in interfaceServerPlayerConfigurationTask
- 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 interfaceServerPlayerConfigurationTask
- 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;
-