CLASS net/minecraft/class_3298 net/minecraft/resource/Resource COMMENT A resource of binary data. COMMENT COMMENT

The resource must be closed before disposal to avoid resource leaks. COMMENT COMMENT @see ResourceFactory#getResource(Identifier) COMMENT @see ResourceManager#getAllResources(Identifier) METHOD method_14480 getResourcePackName ()Ljava/lang/String; COMMENT Returns the user-friendly name of the pack this resource is from. METHOD method_14481 getMetadata (Lnet/minecraft/class_3270;)Ljava/lang/Object; COMMENT Returns a metadata of this resource by the {@code metaReader}, or {@code null} COMMENT if no such metadata exists. ARG 1 metaReader COMMENT the metadata reader METHOD method_14482 getInputStream ()Ljava/io/InputStream; COMMENT Returns the input stream of this resource. COMMENT COMMENT

This input stream is closed when this resource is closed. METHOD method_14483 getId ()Lnet/minecraft/class_2960; COMMENT Returns the location of this resource. COMMENT COMMENT

Within each resource pack, this location is a unique identifer for a COMMENT resource; however, in a resource manager, there may be multiple resources COMMENT with the same location available. METHOD method_14484 hasMetadata ()Z COMMENT Returns if this resource has any metadata.