Uses of Record Class
net.minecraft.registry.VersionedIdentifier
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of VersionedIdentifier in net.minecraft.client.resource
Modifier and TypeFieldDescriptionprivate final Map
<VersionedIdentifier, String> ClientDataPackManager.knownPacks
Modifier and TypeMethodDescriptionClientDataPackManager.getCommonKnownPacks
(List<VersionedIdentifier> serverKnownPacks) Modifier and TypeMethodDescriptionClientDataPackManager.getCommonKnownPacks
(List<VersionedIdentifier> serverKnownPacks) -
Uses of VersionedIdentifier in net.minecraft.network.packet.c2s.config
Modifier and TypeFieldDescriptionprivate final List
<VersionedIdentifier> SelectKnownPacksC2SPacket.knownPacks
The field for theknownPacks
record component.Modifier and TypeMethodDescriptionSelectKnownPacksC2SPacket.knownPacks()
Returns the value of theknownPacks
record component. -
Uses of VersionedIdentifier in net.minecraft.network.packet.s2c.config
Modifier and TypeFieldDescriptionprivate final List
<VersionedIdentifier> SelectKnownPacksS2CPacket.knownPacks
The field for theknownPacks
record component.Modifier and TypeMethodDescriptionSelectKnownPacksS2CPacket.knownPacks()
Returns the value of theknownPacks
record component. -
Uses of VersionedIdentifier in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, VersionedIdentifier> VersionedIdentifier.PACKET_CODEC
private static final Function
<Optional<VersionedIdentifier>, RegistryEntryInfo> RegistryLoader.RESOURCE_ENTRY_INFO_GETTER
Modifier and TypeMethodDescriptionstatic VersionedIdentifier
VersionedIdentifier.createVanilla
(String path) 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) 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) -
Uses of VersionedIdentifier in net.minecraft.registry.entry
Modifier and TypeFieldDescriptionprivate final Optional
<VersionedIdentifier> RegistryEntryInfo.knownPackInfo
The field for theknownPackInfo
record component.Modifier and TypeMethodDescriptionRegistryEntryInfo.knownPackInfo()
Returns the value of theknownPackInfo
record component.ModifierConstructorDescriptionRegistryEntryInfo
(Optional<VersionedIdentifier> optional, com.mojang.serialization.Lifecycle lifecycle) -
Uses of VersionedIdentifier in net.minecraft.resource
Modifier and TypeFieldDescriptionstatic final VersionedIdentifier
VanillaResourcePackProvider.VANILLA_ID
Modifier and TypeFieldDescriptionprivate final Optional
<VersionedIdentifier> ResourcePackInfo.knownPackInfo
The field for theknownPackInfo
record component.Modifier and TypeMethodDescriptionResource.getKnownPackInfo()
default Optional
<VersionedIdentifier> ResourcePack.getKnownPackInfo()
ResourcePackInfo.knownPackInfo()
Returns the value of theknownPackInfo
record component.ModifierConstructorDescriptionResourcePackInfo
(String string, Text text, ResourcePackSource resourcePackSource, Optional<VersionedIdentifier> optional) -
Uses of VersionedIdentifier in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final List
<VersionedIdentifier> SynchronizeRegistriesTask.knownPacks
Modifier and TypeMethodDescriptionvoid
SynchronizeRegistriesTask.onSelectKnownPacks
(List<VersionedIdentifier> clientKnownPacks, Consumer<Packet<?>> sender) private void
SynchronizeRegistriesTask.syncRegistryAndTags
(Consumer<Packet<?>> sender, Set<VersionedIdentifier> commonKnownPacks) ModifierConstructorDescriptionSynchronizeRegistriesTask
(List<VersionedIdentifier> knownPacks, CombinedDynamicRegistries<ServerDynamicRegistryType> registries)