Uses of Record Class
net.minecraft.server.packs.repository.KnownPack
Package
Description
-
Uses of KnownPack in net.minecraft.client.multiplayer
-
Uses of KnownPack in net.minecraft.core
Modifier and TypeFieldDescriptionRegistrationInfo.knownPackInfo
The field for theknownPackInfo
record component.Modifier and TypeMethodDescriptionRegistrationInfo.knownPackInfo()
Returns the value of theknownPackInfo
record component.Modifier and TypeMethodDescriptionstatic void
RegistrySynchronization.packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
RegistrySynchronization.packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) ModifierConstructorDescriptionRegistrationInfo
(Optional<KnownPack> knownPackInfo, com.mojang.serialization.Lifecycle lifecycle) Creates an instance of aRegistrationInfo
record class. -
Uses of KnownPack in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionClientboundSelectKnownPacks.knownPacks
The field for theknownPacks
record component.ServerboundSelectKnownPacks.knownPacks
The field for theknownPacks
record component.Modifier and TypeMethodDescriptionClientboundSelectKnownPacks.knownPacks()
Returns the value of theknownPacks
record component.ServerboundSelectKnownPacks.knownPacks()
Returns the value of theknownPacks
record component.ModifierConstructorDescriptionClientboundSelectKnownPacks
(List<KnownPack> knownPacks) Creates an instance of aClientboundSelectKnownPacks
record class.ServerboundSelectKnownPacks
(List<KnownPack> knownPacks) Creates an instance of aServerboundSelectKnownPacks
record class. -
Uses of KnownPack in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate static final Function
<Optional<KnownPack>, RegistrationInfo> RegistryDataLoader.REGISTRATION_INFO_CACHE
-
Uses of KnownPack in net.minecraft.server.network.config
Modifier and TypeMethodDescriptionvoid
SynchronizeRegistriesTask.handleResponse
(List<KnownPack> p_326076_, Consumer<Packet<?>> p_326167_) private void
SynchronizeRegistriesTask.sendRegistries
(Consumer<Packet<?>> p_325923_, Set<KnownPack> p_326322_) ModifierConstructorDescriptionSynchronizeRegistriesTask
(List<KnownPack> p_326209_, LayeredRegistryAccess<RegistryLayer> p_326049_) -
Uses of KnownPack in net.minecraft.server.packs
Modifier and TypeFieldDescriptionPackLocationInfo.knownPackInfo
The field for theknownPackInfo
record component.Modifier and TypeMethodDescriptionPackLocationInfo.knownPackInfo()
Returns the value of theknownPackInfo
record component.PackResources.knownPackInfo()
ModifierConstructorDescriptionPackLocationInfo
(String id, Component title, PackSource source, Optional<KnownPack> knownPackInfo) Creates an instance of aPackLocationInfo
record class. -
Uses of KnownPack in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, KnownPack> KnownPack.STREAM_CODEC
-
Uses of KnownPack in net.minecraft.server.packs.resources