Uses of Record Class
net.minecraft.server.packs.repository.KnownPack
Packages that use KnownPack
Package
Description
-
Uses of KnownPack in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type KnownPackMethods in net.minecraft.client.multiplayer that return types with arguments of type KnownPackModifier and TypeMethodDescriptionKnownPacksManager.trySelectingPacks(List<KnownPack> packsToSelect) Method parameters in net.minecraft.client.multiplayer with type arguments of type KnownPackModifier and TypeMethodDescriptionKnownPacksManager.trySelectingPacks(List<KnownPack> packsToSelect) -
Uses of KnownPack in net.minecraft.core
Fields in net.minecraft.core with type parameters of type KnownPackModifier and TypeFieldDescriptionRegistrationInfo.knownPackInfoThe field for theknownPackInforecord component.Methods in net.minecraft.core that return types with arguments of type KnownPackModifier and TypeMethodDescriptionRegistrationInfo.knownPackInfo()Returns the value of theknownPackInforecord component.Method parameters in net.minecraft.core with type arguments of type KnownPackModifier and TypeMethodDescriptionstatic voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> ops, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> ops, RegistryDataLoader.RegistryData<T> registryData, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) Constructor parameters in net.minecraft.core with type arguments of type KnownPackModifierConstructorDescriptionRegistrationInfo(Optional<KnownPack> knownPackInfo, com.mojang.serialization.Lifecycle lifecycle) Creates an instance of aRegistrationInforecord class. -
Uses of KnownPack in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration with type parameters of type KnownPackModifier and TypeFieldDescriptionClientboundSelectKnownPacks.knownPacksThe field for theknownPacksrecord component.ServerboundSelectKnownPacks.knownPacksThe field for theknownPacksrecord component.Methods in net.minecraft.network.protocol.configuration that return types with arguments of type KnownPackModifier and TypeMethodDescriptionClientboundSelectKnownPacks.knownPacks()Returns the value of theknownPacksrecord component.ServerboundSelectKnownPacks.knownPacks()Returns the value of theknownPacksrecord component.Constructor parameters in net.minecraft.network.protocol.configuration with type arguments of type KnownPackModifierConstructorDescriptionClientboundSelectKnownPacks(List<KnownPack> knownPacks) Creates an instance of aClientboundSelectKnownPacksrecord class.ServerboundSelectKnownPacks(List<KnownPack> knownPacks) Creates an instance of aServerboundSelectKnownPacksrecord class. -
Uses of KnownPack in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type KnownPackModifier and TypeFieldDescriptionprivate static final Function<Optional<KnownPack>, RegistrationInfo> ResourceManagerRegistryLoadTask.REGISTRATION_INFO_CACHE -
Uses of KnownPack in net.minecraft.server.network.config
Fields in net.minecraft.server.network.config with type parameters of type KnownPackMethod parameters in net.minecraft.server.network.config with type arguments of type KnownPackModifier and TypeMethodDescriptionvoidSynchronizeRegistriesTask.handleResponse(List<KnownPack> acceptedPacks, Consumer<Packet<?>> connection) private voidSynchronizeRegistriesTask.sendRegistries(Consumer<Packet<?>> connection, Set<KnownPack> negotiatedPacks) Constructor parameters in net.minecraft.server.network.config with type arguments of type KnownPackModifierConstructorDescriptionSynchronizeRegistriesTask(List<KnownPack> knownPacks, LayeredRegistryAccess<RegistryLayer> registries) -
Uses of KnownPack in net.minecraft.server.packs
Fields in net.minecraft.server.packs with type parameters of type KnownPackModifier and TypeFieldDescriptionPackLocationInfo.knownPackInfoThe field for theknownPackInforecord component.Methods in net.minecraft.server.packs that return types with arguments of type KnownPackModifier and TypeMethodDescriptionPackLocationInfo.knownPackInfo()Returns the value of theknownPackInforecord component.PackResources.knownPackInfo()Constructor parameters in net.minecraft.server.packs with type arguments of type KnownPackModifierConstructorDescriptionPackLocationInfo(String id, Component title, PackSource source, Optional<KnownPack> knownPackInfo) Creates an instance of aPackLocationInforecord class. -
Uses of KnownPack in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as KnownPackFields in net.minecraft.server.packs.repository with type parameters of type KnownPackModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, KnownPack> KnownPack.STREAM_CODECMethods in net.minecraft.server.packs.repository that return KnownPack -
Uses of KnownPack in net.minecraft.server.packs.resources
Methods in net.minecraft.server.packs.resources that return types with arguments of type KnownPack