Uses of Interface
net.minecraft.server.packs.repository.Pack.ResourcesSupplier
Package
Description
-
Uses of Pack.ResourcesSupplier in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) -
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs
Modifier and TypeClassDescriptionstatic class
static class
-
Uses of Pack.ResourcesSupplier in net.minecraft.server.packs.repository
Modifier 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 p_295971_) static Pack.ResourcesSupplier
BuiltInPackSource.fromName
(Function<PackLocationInfo, PackResources> onName) Modifier and TypeMethodDescriptionprotected abstract Pack
BuiltInPackSource.createBuiltinPack
(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected Pack
ServerPacksSource.createBuiltinPack
(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) static Pack
Pack.readMetaAndCreate
(PackLocationInfo p_326065_, Pack.ResourcesSupplier p_252210_, PackType p_250595_, PackSelectionConfig p_326429_) static Pack.Metadata
Pack.readPackMetadata
(PackLocationInfo p_326060_, Pack.ResourcesSupplier p_326166_, int p_326341_) Modifier and TypeMethodDescriptionstatic void
FolderRepositorySource.discoverPacks
(Path p_248794_, DirectoryValidator p_294483_, BiConsumer<Path, Pack.ResourcesSupplier> p_248580_) ModifierConstructorDescriptionPack
(PackLocationInfo p_326123_, Pack.ResourcesSupplier p_249377_, Pack.Metadata p_326375_, PackSelectionConfig p_326282_) private
Pack
(PackLocationInfo p_326123_, Pack.ResourcesSupplier p_249377_, Pack.Metadata p_326375_, PackSelectionConfig p_326282_, List<Pack> children) -
Uses of Pack.ResourcesSupplier in net.neoforged.neoforge.resource
Modifier and TypeFieldDescriptionprivate static Map
<net.neoforged.neoforgespi.locating.IModFile, Pack.ResourcesSupplier> ResourcePackLoader.modResourcePacks
Modifier and TypeMethodDescriptionstatic Pack.ResourcesSupplier
ResourcePackLoader.createPackForMod
(net.neoforged.neoforgespi.language.IModFileInfo mf) Modifier and TypeMethodDescriptionstatic Optional
<Pack.ResourcesSupplier> ResourcePackLoader.getPackFor
(String modId) Modifier 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) Modifier 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)