Interface ResourcePack

All Known Implementing Classes:
AbstractFileResourcePack, DefaultResourcePack, DirectoryResourcePack, ZipResourcePack

@Environment(CLIENT) public interface ResourcePack
Mappings:
Namespace Name
official bwf
intermediary net/minecraft/class_1655
named net/minecraft/resource/ResourcePack
  • Method Details

    • open

      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbwf;a(Lkl;)Ljava/io/InputStream;
      intermediary method_5897 Lnet/minecraft/class_1655;method_5897(Lnet/minecraft/class_1653;)Ljava/io/InputStream;
      named open Lnet/minecraft/resource/ResourcePack;open(Lnet/minecraft/util/Identifier;)Ljava/io/InputStream;
    • contains

      boolean contains(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official b Lbwf;b(Lkl;)Z
      intermediary method_5900 Lnet/minecraft/class_1655;method_5900(Lnet/minecraft/class_1653;)Z
      named contains Lnet/minecraft/resource/ResourcePack;contains(Lnet/minecraft/util/Identifier;)Z
    • getNamespaces

      Set<String> getNamespaces()
      Mappings:
      Namespace Name Mixin selector
      official c Lbwf;c()Ljava/util/Set;
      intermediary method_5901 Lnet/minecraft/class_1655;method_5901()Ljava/util/Set;
      named getNamespaces Lnet/minecraft/resource/ResourcePack;getNamespaces()Ljava/util/Set;
    • parseMetadata

      <T extends ResourceMetadataProvider> T parseMetadata(MetadataSerializer serializer, String key) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbwf;a(Lbwt;Ljava/lang/String;)Lbwr;
      intermediary method_5898 Lnet/minecraft/class_1655;method_5898(Lnet/minecraft/class_1671;Ljava/lang/String;)Lnet/minecraft/class_1669;
      named parseMetadata Lnet/minecraft/resource/ResourcePack;parseMetadata(Lnet/minecraft/util/MetadataSerializer;Ljava/lang/String;)Lnet/minecraft/client/resource/ResourceMetadataProvider;
    • getIcon

      BufferedImage getIcon() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbwf;a()Ljava/awt/image/BufferedImage;
      intermediary method_5896 Lnet/minecraft/class_1655;method_5896()Ljava/awt/image/BufferedImage;
      named getIcon Lnet/minecraft/resource/ResourcePack;getIcon()Ljava/awt/image/BufferedImage;
    • getName

      String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbwf;b()Ljava/lang/String;
      intermediary method_5899 Lnet/minecraft/class_1655;method_5899()Ljava/lang/String;
      named getName Lnet/minecraft/resource/ResourcePack;getName()Ljava/lang/String;