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.iconGetter
PackSelectionModel.selected
PackSelectionModel.unselected
Methods 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 ResourceLocation
PackSelectionScreen.getPackIcon
(Pack pack) private ResourceLocation
PackSelectionScreen.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.enabledPacks
protected final it.unimi.dsi.fastutil.objects.Object2BooleanMap
<Pack> ExperimentsScreen.packs
Methods in net.minecraft.client.gui.screens.worldselection with parameters of type PackModifier and TypeMethodDescriptionprotected static Component
ExperimentsScreen.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 Pack
ClientPackSource.createBuiltinPack
(String id, Pack.ResourcesSupplier resources, Component title) protected Pack
ClientPackSource.createVanillaPack
(PackResources resources) Method parameters in net.minecraft.client.resources with type arguments of type PackModifier and TypeMethodDescriptionprotected void
ClientPackSource.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 RepositorySource
DownloadedPackSource.configureSource
(List<Pack> packs) -
Uses of Pack in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return PackModifier and TypeMethodDescriptionprivate static Pack
DataPackCommand.getPack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, boolean enabling) Methods in net.minecraft.server.commands with parameters of type PackModifier and TypeMethodDescriptionvoid
private static int
DataPackCommand.disablePack
(CommandSourceStack source, Pack pack) Disables the given pack.private static int
DataPackCommand.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 Pack
BuiltInPackSource.createBuiltinPack
(String id, Pack.ResourcesSupplier resources, Component title) protected Pack
ServerPacksSource.createBuiltinPack
(String id, Pack.ResourcesSupplier resources, Component title) protected abstract Pack
BuiltInPackSource.createVanillaPack
(PackResources resources) protected Pack
ServerPacksSource.createVanillaPack
(PackResources resources) Pack.hidden()
Returns a copy of the pack that is hidden.static Pack
Pack.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 void
BuiltInPackSource.discoverPacksInPath
(Path directoryPath, BiConsumer<String, Function<String, Pack>> packGetter) static String
PackRepository.displayPackList
(Collection<Pack> packs) private void
BuiltInPackSource.listBundledPacks
(Consumer<Pack> packConsumer) void
void
void
protected void
BuiltInPackSource.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 PackModifierConstructorDescriptionprivate
Pack
(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 Pack
static Pack
ResourcePackLoader.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 Pack
private static void
ResourcePackLoader.packFinder
(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType)