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