Interface Resource

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ResourceImpl

@Environment(CLIENT) public interface Resource extends Closeable
Mappings:
Namespace Name
official ceo
intermediary net/minecraft/class_1652
named net/minecraft/resource/Resource
  • Method Details

    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lceo;a()Lnf;
      intermediary method_10364 Lnet/minecraft/class_1652;method_10364()Lnet/minecraft/class_1653;
      named getId Lnet/minecraft/resource/Resource;getId()Lnet/minecraft/util/Identifier;
    • getInputStream

      InputStream getInputStream()
      Mappings:
      Namespace Name Mixin selector
      official b Lceo;b()Ljava/io/InputStream;
      intermediary method_5888 Lnet/minecraft/class_1652;method_5888()Ljava/io/InputStream;
      named getInputStream Lnet/minecraft/resource/Resource;getInputStream()Ljava/io/InputStream;
    • hasMetadata

      boolean hasMetadata()
      Mappings:
      Namespace Name Mixin selector
      official c Lceo;c()Z
      intermediary method_5889 Lnet/minecraft/class_1652;method_5889()Z
      named hasMetadata Lnet/minecraft/resource/Resource;hasMetadata()Z
    • getMetadata

      @Nullable <T extends ResourceMetadataProvider> T getMetadata(String key)
      Mappings:
      Namespace Name Mixin selector
      official a Lceo;a(Ljava/lang/String;)Lcfe;
      intermediary method_5887 Lnet/minecraft/class_1652;method_5887(Ljava/lang/String;)Lnet/minecraft/class_1669;
      named getMetadata Lnet/minecraft/resource/Resource;getMetadata(Ljava/lang/String;)Lnet/minecraft/client/resource/ResourceMetadataProvider;
    • getResourcePackName

      String getResourcePackName()
      Mappings:
      Namespace Name Mixin selector
      official d Lceo;d()Ljava/lang/String;
      intermediary method_10365 Lnet/minecraft/class_1652;method_10365()Ljava/lang/String;
      named getResourcePackName Lnet/minecraft/resource/Resource;getResourcePackName()Ljava/lang/String;