Uses of Class
net.minecraft.server.packs.repository.Pack
Packages that use Pack
Package
Description
- 
Uses of Pack in net.minecraft.client.gui.screens.packsFields 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 p_99990_) private ResourceLocationPackSelectionScreen.loadPackIcon(TextureManager p_100017_, Pack p_100018_) 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 p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) 
- 
Uses of Pack in net.minecraft.client.gui.screens.worldselectionFields in net.minecraft.client.gui.screens.worldselection with type parameters of type PackModifier and TypeFieldDescription(package private) final Collection<Pack>ConfirmExperimentalFeaturesScreen.enabledPacksprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<Pack>ExperimentsScreen.packsMethods in net.minecraft.client.gui.screens.worldselection with parameters of type PackModifier and TypeMethodDescriptionprivate static ComponentExperimentsScreen.getHumanReadableTitle(Pack p_270861_) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type PackModifierConstructorDescriptionConfirmExperimentalFeaturesScreen(Collection<Pack> p_252011_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_250152_) PackList(Minecraft p_249776_, Collection<Pack> p_251183_) 
- 
Uses of Pack in net.minecraft.client.resourcesMethods in net.minecraft.client.resources that return PackModifier and TypeMethodDescriptionprotected PackClientPackSource.createBuiltinPack(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) protected PackClientPackSource.createVanillaPack(PackResources p_250048_) Method parameters in net.minecraft.client.resources with type arguments of type PackModifier and TypeMethodDescriptionprotected voidClientPackSource.populatePackList(BiConsumer<String, Function<String, Pack>> p_249851_) 
- 
Uses of Pack in net.minecraft.client.resources.serverMethods in net.minecraft.client.resources.server that return types with arguments of type PackModifier and TypeMethodDescriptionDownloadedPackSource.loadRequestedPacks(List<PackReloadConfig.IdAndPath> p_314642_) Method parameters in net.minecraft.client.resources.server with type arguments of type PackModifier and TypeMethodDescriptionprivate static RepositorySourceDownloadedPackSource.configureSource(List<Pack> p_314416_) 
- 
Uses of Pack in net.minecraft.server.commandsMethods in net.minecraft.server.commands that return PackModifier and TypeMethodDescriptionprivate static PackDataPackCommand.getPack(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136816_, String p_136817_, boolean p_136818_) Methods in net.minecraft.server.commands with parameters of type PackModifier and TypeMethodDescriptionvoidprivate static intDataPackCommand.disablePack(CommandSourceStack p_136826_, Pack p_136827_) private static intDataPackCommand.enablePack(CommandSourceStack p_136829_, Pack p_136830_, DataPackCommand.Inserter p_136831_) Method parameters in net.minecraft.server.commands with type arguments of type Pack
- 
Uses of Pack in net.minecraft.server.packs.repositoryFields in net.minecraft.server.packs.repository with type parameters of type PackMethods in net.minecraft.server.packs.repository that return PackModifier and TypeMethodDescriptionstatic PackPack.create(String p_252257_, Component p_248717_, boolean p_248811_, Pack.ResourcesSupplier p_248969_, Pack.Info p_251314_, Pack.Position p_252110_, boolean p_250237_, PackSource p_248524_) protected abstract PackBuiltInPackSource.createBuiltinPack(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected PackServerPacksSource.createBuiltinPack(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) protected abstract PackBuiltInPackSource.createVanillaPack(PackResources p_251690_) protected PackServerPacksSource.createVanillaPack(PackResources p_250283_) Pack.hidden()Returns a copy of the pack that is hidden.static PackPack.readMetaAndCreate(String p_249649_, Component p_248632_, boolean p_251594_, Pack.ResourcesSupplier p_252210_, PackType p_250595_, Pack.Position p_248706_, PackSource p_251233_) 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> p_10521_) Pack.getChildren()PackRepository.getSelectedPacks()PackRepository.rebuildSelected(Collection<String> p_10518_) Pack.streamSelfAndChildren()Method parameters in net.minecraft.server.packs.repository with type arguments of type PackModifier and TypeMethodDescriptionprotected voidBuiltInPackSource.discoverPacksInPath(Path p_250013_, BiConsumer<String, Function<String, Pack>> p_249898_) <T> intprivate voidBuiltInPackSource.listBundledPacks(Consumer<Pack> p_249128_) voidvoidvoidprotected voidBuiltInPackSource.populatePackList(BiConsumer<String, Function<String, Pack>> p_250341_) 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(String p_252218_, boolean p_248829_, Pack.ResourcesSupplier p_249377_, Component p_251718_, Pack.Info p_250162_, Pack.Position p_251298_, boolean p_249753_, PackSource p_251608_, List<Pack> children) 
- 
Uses of Pack in net.neoforged.neoforge.resourceMethods in net.neoforged.neoforge.resource that return PackModifier and TypeMethodDescriptionprivate static Packstatic PackResourcePackLoader.readWithOptionalMeta(String id, Component title, boolean required, Pack.ResourcesSupplier resources, PackType type, Pack.Position position, PackSource source) Method parameters in net.neoforged.neoforge.resource with type arguments of type PackModifier and TypeMethodDescriptionprivate static Packprivate static voidResourcePackLoader.packFinder(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType)