Class PackDetector<T>
java.lang.Object
net.minecraft.server.packs.repository.PackDetector<T>
- Direct Known Subclasses:
FolderRepositorySource.FolderPackDetector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
createDirectoryPack
(Path path) protected abstract T
createZipPack
(Path path) detectPackResources
(Path p_path, List<ForbiddenSymlinkInfo> forbiddenSymlinkInfos)
-
Field Details
-
validator
-
-
Constructor Details
-
PackDetector
-
-
Method Details
-
detectPackResources
@Nullable public T detectPackResources(Path p_path, List<ForbiddenSymlinkInfo> forbiddenSymlinkInfos) throws IOException - Throws:
IOException
-
createZipPack
- Throws:
IOException
-
createDirectoryPack
- Throws:
IOException
-