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 id, Pack.ResourcesSupplier resources, Component title) -
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 resources) 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 id, Pack.ResourcesSupplier resources, Component title) protected Pack
ServerPacksSource.createBuiltinPack
(String id, Pack.ResourcesSupplier resources, Component title) static Pack
Pack.readMetaAndCreate
(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType packType, PackSelectionConfig selectionConfig) static Pack.Metadata
Pack.readPackMetadata
(PackLocationInfo location, Pack.ResourcesSupplier resources, int version) Method parameters in net.minecraft.server.packs.repository with type arguments of type Pack.ResourcesSupplierModifier and TypeMethodDescriptionstatic void
FolderRepositorySource.discoverPacks
(Path folder, DirectoryValidator validator, BiConsumer<Path, Pack.ResourcesSupplier> output) Constructors in net.minecraft.server.packs.repository with parameters of type Pack.ResourcesSupplierModifierConstructorDescriptionPack
(PackLocationInfo location, Pack.ResourcesSupplier resources, Pack.Metadata metadata, PackSelectionConfig selectionConfig) private
Pack
(PackLocationInfo location, Pack.ResourcesSupplier resources, Pack.Metadata metadata, PackSelectionConfig selectionConfig, 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)