Uses of Class
net.minecraft.server.packs.repository.Pack
Packages that use Pack
Package
Description
-
Uses of Pack in net.minecraft.client.gui.screens.packs
Fields in net.minecraft.client.gui.screens.packs declared as PackFields in net.minecraft.client.gui.screens.packs with type parameters of type PackModifier and TypeFieldDescription(package private) final Function<Pack, ResourceLocation> PackSelectionModel.iconGetterPackSelectionModel.selectedPackSelectionModel.unselectedMethods in net.minecraft.client.gui.screens.packs that return types with arguments of type PackModifier and TypeMethodDescriptionPackSelectionModel.EntryBase.getOtherList()PackSelectionModel.SelectedPackEntry.getOtherList()PackSelectionModel.UnselectedPackEntry.getOtherList()PackSelectionModel.EntryBase.getSelfList()PackSelectionModel.SelectedPackEntry.getSelfList()PackSelectionModel.UnselectedPackEntry.getSelfList()Methods in net.minecraft.client.gui.screens.packs with parameters of type PackModifier and TypeMethodDescriptionprivate ResourceLocationPackSelectionScreen.getPackIcon(Pack pack) private ResourceLocationPackSelectionScreen.loadPackIcon(TextureManager textureManager, Pack pack) Constructors in net.minecraft.client.gui.screens.packs with parameters of type PackModifierConstructorDescriptionSelectedPackEntry(Pack p_99954_) UnselectedPackEntry(Pack p_99963_) Constructor parameters in net.minecraft.client.gui.screens.packs with type arguments of type PackModifierConstructorDescriptionPackSelectionModel(Runnable onListChanged, Function<Pack, ResourceLocation> iconGetter, PackRepository repository, Consumer<PackRepository> output) -
Uses of Pack in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type PackModifier and TypeFieldDescription(package private) final Collection<Pack> ConfirmExperimentalFeaturesScreen.enabledPacksprotected final it.unimi.dsi.fastutil.objects.Object2BooleanMap<Pack> ExperimentsScreen.packsMethods in net.minecraft.client.gui.screens.worldselection with parameters of type PackModifier and TypeMethodDescriptionprotected static ComponentExperimentsScreen.getHumanReadableTitle(Pack pack) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type PackModifierConstructorDescriptionConfirmExperimentalFeaturesScreen(Collection<Pack> enabledPacks, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback) PackList(Minecraft minecraft, Collection<Pack> enabledPacks) -
Uses of Pack in net.minecraft.client.resources
Methods in net.minecraft.client.resources that return PackModifier and TypeMethodDescriptionprotected PackClientPackSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component title) protected PackClientPackSource.createVanillaPack(PackResources resources) Method parameters in net.minecraft.client.resources with type arguments of type PackModifier and TypeMethodDescriptionprotected voidClientPackSource.populatePackList(BiConsumer<String, Function<String, Pack>> populator) -
Uses of Pack in net.minecraft.client.resources.server
Methods in net.minecraft.client.resources.server that return types with arguments of type PackModifier and TypeMethodDescriptionDownloadedPackSource.loadRequestedPacks(List<PackReloadConfig.IdAndPath> packs) Method parameters in net.minecraft.client.resources.server with type arguments of type PackModifier and TypeMethodDescriptionprivate static RepositorySourceDownloadedPackSource.configureSource(List<Pack> packs) -
Uses of Pack in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return PackModifier and TypeMethodDescriptionprivate static PackDataPackCommand.getPack(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, boolean enabling) Methods in net.minecraft.server.commands with parameters of type PackModifier and TypeMethodDescriptionvoidprivate static intDataPackCommand.disablePack(CommandSourceStack source, Pack pack) Disables the given pack.private static intDataPackCommand.enablePack(CommandSourceStack source, Pack pack, DataPackCommand.Inserter priorityCallback) Enables the given pack.Method parameters in net.minecraft.server.commands with type arguments of type Pack -
Uses of Pack in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository with type parameters of type PackMethods in net.minecraft.server.packs.repository that return PackModifier and TypeMethodDescriptionprotected abstract PackBuiltInPackSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component title) protected PackServerPacksSource.createBuiltinPack(String id, Pack.ResourcesSupplier resources, Component title) protected abstract PackBuiltInPackSource.createVanillaPack(PackResources resources) protected PackServerPacksSource.createVanillaPack(PackResources resources) Pack.hidden()Returns a copy of the pack that is hidden.static PackPack.readMetaAndCreate(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType packType, PackSelectionConfig selectionConfig) Pack.withChildren(List<Pack> children) Returns a copy of the pack with the provided children in place of any children this pack currently has.Methods in net.minecraft.server.packs.repository that return types with arguments of type PackModifier and TypeMethodDescriptionPackRepository.discoverAvailable()PackRepository.getAvailablePacks()PackRepository.getAvailablePacks(Collection<String> ids) Pack.getChildren()PackRepository.getSelectedPacks()PackRepository.rebuildSelected(Collection<String> ids) Pack.streamSelfAndChildren()Method parameters in net.minecraft.server.packs.repository with type arguments of type PackModifier and TypeMethodDescriptionprotected voidBuiltInPackSource.discoverPacksInPath(Path directoryPath, BiConsumer<String, Function<String, Pack>> packGetter) static StringPackRepository.displayPackList(Collection<Pack> packs) private voidBuiltInPackSource.listBundledPacks(Consumer<Pack> packConsumer) voidvoidvoidprotected voidBuiltInPackSource.populatePackList(BiConsumer<String, Function<String, Pack>> populator) Pack.withChildren(List<Pack> children) Returns a copy of the pack with the provided children in place of any children this pack currently has.Constructor parameters in net.minecraft.server.packs.repository with type arguments of type PackModifierConstructorDescriptionprivatePack(PackLocationInfo location, Pack.ResourcesSupplier resources, Pack.Metadata metadata, PackSelectionConfig selectionConfig, List<Pack> children) -
Uses of Pack in net.neoforged.neoforge.resource
Methods in net.neoforged.neoforge.resource that return PackModifier and TypeMethodDescriptionprivate static Packstatic PackResourcePackLoader.readWithOptionalMeta(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType type, PackSelectionConfig selectionConfig) Methods in net.neoforged.neoforge.resource that return types with arguments of type PackModifier and TypeMethodDescriptionResourcePackLoader.expandAndRemoveRootChildren(Stream<Pack> packs, Collection<Pack> availablePacks) Method parameters in net.neoforged.neoforge.resource with type arguments of type PackModifier and TypeMethodDescriptionResourcePackLoader.expandAndRemoveRootChildren(Stream<Pack> packs, Collection<Pack> availablePacks) ResourcePackLoader.expandAndRemoveRootChildren(Stream<Pack> packs, Collection<Pack> availablePacks) private static Packprivate static voidResourcePackLoader.packFinder(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType)