CLASS net/minecraft/class_5912 net/minecraft/resource/ResourceFactory COMMENT Provides resource access. METHOD method_14486 getResource (Lnet/minecraft/class_2960;)Ljava/util/Optional; 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 return {@link Optional#empty()}. COMMENT COMMENT

The returned resource must be closed to avoid resource leaks. ARG 1 id COMMENT the resource identifier to search for