Uses of Record Class
net.minecraft.registry.SerializableRegistries.SerializedRegistryEntry
Package
Description
-
Uses of SerializableRegistries.SerializedRegistryEntry in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate final Map
<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> ClientRegistries.DynamicRegistries.dynamicRegistries
Modifier and TypeMethodDescriptionvoid
ClientRegistries.DynamicRegistries.put
(RegistryKey<? extends Registry<?>> registryRef, List<SerializableRegistries.SerializedRegistryEntry> entries) void
ClientRegistries.putDynamicRegistry
(RegistryKey<? extends Registry<?>> registryRef, List<SerializableRegistries.SerializedRegistryEntry> entries) -
Uses of SerializableRegistries.SerializedRegistryEntry in net.minecraft.network.packet.s2c.config
Modifier and TypeFieldDescriptionprivate final List
<SerializableRegistries.SerializedRegistryEntry> DynamicRegistriesS2CPacket.entries
The field for theentries
record component.Modifier and TypeMethodDescriptionDynamicRegistriesS2CPacket.entries()
Returns the value of theentries
record component.ModifierConstructorDescriptionDynamicRegistriesS2CPacket
(RegistryKey<? extends Registry<?>> registryKey, List<SerializableRegistries.SerializedRegistryEntry> list) -
Uses of SerializableRegistries.SerializedRegistryEntry in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, SerializableRegistries.SerializedRegistryEntry> SerializableRegistries.SerializedRegistryEntry.PACKET_CODEC
Modifier and TypeMethodDescriptionstatic void
SerializableRegistries.forEachSyncedRegistry
(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) void
RegistryLoader.Loader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter) RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, DynamicRegistryManager registryManager, List<RegistryLoader.Entry<?>> entries) (package private) static <E> void
RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> loadingErrors) private static <T> void
SerializableRegistries.serialize
(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, RegistryLoader.Entry<T> entry, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback)