Uses of Interface
net.minecraft.server.packs.repository.Pack.ResourcesSupplier
Packages that use Pack.ResourcesSupplier
Package
Description
-
Uses of Pack.ResourcesSupplier in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String pId, Pack.ResourcesSupplier pResources, Component pTitle) -
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs
Classes in net.minecraft.server.packs that implement Pack.ResourcesSupplierModifier and TypeClassDescriptionstatic class
static class
-
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as Pack.ResourcesSupplierMethods in net.minecraft.server.packs.repository that return Pack.ResourcesSupplierModifier and TypeMethodDescriptionprotected Pack.ResourcesSupplier
FolderRepositorySource.FolderPackDetector.createDirectoryPack
(Path p_295493_) protected Pack.ResourcesSupplier
FolderRepositorySource.FolderPackDetector.createZipPack
(Path p_294522_) static Pack.ResourcesSupplier
BuiltInPackSource.fixedResources
(PackResources pResources) static Pack.ResourcesSupplier
BuiltInPackSource.fromName
(Function<PackLocationInfo, PackResources> onName) Methods in net.minecraft.server.packs.repository with parameters of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionprotected abstract Pack
BuiltInPackSource.createBuiltinPack
(String pId, Pack.ResourcesSupplier pResources, Component pTitle) protected Pack
ServerPacksSource.createBuiltinPack
(String pId, Pack.ResourcesSupplier pResources, Component pTitle) static Pack
Pack.readMetaAndCreate
(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, PackType pPackType, PackSelectionConfig pSelectionConfig) static Pack.Metadata
Pack.readPackMetadata
(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, int pVersion) Method parameters in net.minecraft.server.packs.repository with type arguments of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionstatic void
FolderRepositorySource.discoverPacks
(Path pFolder, DirectoryValidator pValidator, BiConsumer<Path, Pack.ResourcesSupplier> pOutput) Constructors in net.minecraft.server.packs.repository with parameters of type Pack.ResourcesSupplierModifierConstructorDescriptionPack
(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, Pack.Metadata pMetadata, PackSelectionConfig pSelectionConfig) private
Pack
(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, Pack.Metadata pMetadata, PackSelectionConfig pSelectionConfig, List<Pack> children) -
Uses of Pack.ResourcesSupplier in net.neoforged.neoforge.resource
Classes in net.neoforged.neoforge.resource that implement Pack.ResourcesSupplierFields in net.neoforged.neoforge.resource with type parameters of type Pack.ResourcesSupplierModifier and TypeFieldDescriptionprivate static Map
<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> ResourcePackLoader.modResourcePacks
Methods in net.neoforged.neoforge.resource that return Pack.ResourcesSupplierModifier and TypeMethodDescriptionstatic Pack.ResourcesSupplier
ResourcePackLoader.createPackForMod
(net.neoforged.neoforgespi.language.IModFileInfo mf) Methods in net.neoforged.neoforge.resource that return types with arguments of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionstatic Optional
<Pack.ResourcesSupplier> ResourcePackLoader.getPackFor
(String modId) Methods in net.neoforged.neoforge.resource with parameters of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionprivate static Pack.Metadata
ResourcePackLoader.readMeta
(PackType type, PackLocationInfo location, Pack.ResourcesSupplier resources) static Pack
ResourcePackLoader.readWithOptionalMeta
(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType type, PackSelectionConfig selectionConfig) Method parameters in net.neoforged.neoforge.resource with type arguments of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionstatic RepositorySource
ResourcePackLoader.buildPackFinder
(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, PackType packType) private static void
ResourcePackLoader.packFinder
(Map<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType)