Package net.neoforged.fml.jarcontents
Interface JarResourceVisitor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
visit
- Parameters:
relativePath- The path of the file, relative to the root of the jar.resource- A resource in the Jar file. Please note that this object will be reused for the next object when this method is called again for the same jar file, so if you need to hold onto this object outside your visitor, useJarResource.retain().
-