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 p_99990_) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager pTextureManager, Pack pPack) 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 pOnListChanged, Function<Pack, ResourceLocation> pIconGetter, PackRepository pRepository, Consumer<PackRepository> pOutput) -
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 pPack) 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 pMinecraft, Collection<Pack> pEnabledPacks) -
Uses of Pack in net.minecraft.client.resources
Methods in net.minecraft.client.resources that return PackModifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String pId, Pack.ResourcesSupplier pResources, Component pTitle) protected Pack
ClientPackSource.createVanillaPack
(PackResources pResources) Method parameters in net.minecraft.client.resources with type arguments of type PackModifier and TypeMethodDescriptionprotected void
ClientPackSource.populatePackList
(BiConsumer<String, Function<String, Pack>> pPopulator) -
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> pPacks) Method parameters in net.minecraft.client.resources.server with type arguments of type PackModifier and TypeMethodDescriptionprivate static RepositorySource
DownloadedPackSource.configureSource
(List<Pack> pPacks) -
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> p_136816_, String p_136817_, boolean p_136818_) Methods in net.minecraft.server.commands with parameters of type PackModifier and TypeMethodDescriptionvoid
private static int
DataPackCommand.disablePack
(CommandSourceStack pSource, Pack pPack) Disables the given pack.private static int
DataPackCommand.enablePack
(CommandSourceStack pSource, Pack pPack, DataPackCommand.Inserter pPriorityCallback) 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 pId, Pack.ResourcesSupplier pResources, Component pTitle) protected Pack
ServerPacksSource.createBuiltinPack
(String pId, Pack.ResourcesSupplier pResources, Component pTitle) protected abstract Pack
BuiltInPackSource.createVanillaPack
(PackResources pResources) protected Pack
ServerPacksSource.createVanillaPack
(PackResources pResources) Pack.hidden()
Returns a copy of the pack that is hidden.static Pack
Pack.readMetaAndCreate
(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, PackType pPackType, PackSelectionConfig pSelectionConfig) 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> pIds) Pack.getChildren()
PackRepository.getSelectedPacks()
PackRepository.rebuildSelected
(Collection<String> pIds) Pack.streamSelfAndChildren()
Method parameters in net.minecraft.server.packs.repository with type arguments of type PackModifier and TypeMethodDescriptionprotected void
BuiltInPackSource.discoverPacksInPath
(Path pDirectoryPath, BiConsumer<String, Function<String, Pack>> pPackGetter) static String
PackRepository.displayPackList
(Collection<Pack> pPacks) private void
BuiltInPackSource.listBundledPacks
(Consumer<Pack> pPackConsumer) void
void
void
protected void
BuiltInPackSource.populatePackList
(BiConsumer<String, Function<String, Pack>> pPopulator) 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 pLocation, Pack.ResourcesSupplier pResources, Pack.Metadata pMetadata, PackSelectionConfig pSelectionConfig, 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)