CLASS net/minecraft/class_5912 net/minecraft/resource/ResourceFactory COMMENT Provides resource access. METHOD method_14486 getResource (Lnet/minecraft/class_2960;)Lnet/minecraft/class_3298; COMMENT Finds and returns the corresponding resource for a resource's identifier. COMMENT COMMENT

Starts by scanning each resource pack from highest priority to lowest. If no resource packs were found COMMENT to contain the requested entry, will throw a {@code FileNotFoundException}. COMMENT COMMENT

The returned resource must be closed to avoid resource leaks. COMMENT COMMENT @throws java.io.FileNotFoundException if the identified resource could not be found, or could not be loaded. COMMENT @throws IOException if the identified resource was found but a stream to it could not be opened. ARG 1 id COMMENT the resource identifier to search for