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 aso
-
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
Laso;a:Larv$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
Laso;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
Laso;c:Ljp;
-
-
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>
Laso;<init>(Ljava/util/List;Ljp;)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
Larv;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
Laso;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
Laso;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
Larv;a()Larv$a;
-