Class DefaultResourcePack

java.lang.Object
net.minecraft.resource.DefaultResourcePack
All Implemented Interfaces:
ResourcePack

@Environment(CLIENT)
public class DefaultResourcePack
extends Object
implements ResourcePack
Mappings:
Namespace Name
official bna
intermediary net/minecraft/class_1249
named net/minecraft/resource/DefaultResourcePack
  • Field Details

    • field_5226

      public static final Set<String> field_5226
      Mappings:
      Namespace Name Mixin selector
      official a Lbna;a:Ljava/util/Set;
      intermediary field_5226 Lnet/minecraft/class_1249;field_5226:Ljava/util/Set;
      named field_5226 Lnet/minecraft/resource/DefaultResourcePack;field_5226:Ljava/util/Set;
    • field_5227

      private final Map<String,​File> field_5227
      Mappings:
      Namespace Name Mixin selector
      official b Lbna;b:Ljava/util/Map;
      intermediary field_5227 Lnet/minecraft/class_1249;field_5227:Ljava/util/Map;
      named field_5227 Lnet/minecraft/resource/DefaultResourcePack;field_5227:Ljava/util/Map;
  • Constructor Details

    • DefaultResourcePack

      public DefaultResourcePack​(Map<String,​File> map)
  • Method Details

    • method_4369

      public InputStream method_4369​(Identifier identifier) throws IOException
      Specified by:
      method_4369 in interface ResourcePack
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(Ljy;)Ljava/io/InputStream;
      intermediary method_4369 Lnet/minecraft/class_1260;method_4369(Lnet/minecraft/class_1605;)Ljava/io/InputStream;
      named method_4369 Lnet/minecraft/resource/ResourcePack;method_4369(Lnet/minecraft/util/Identifier;)Ljava/io/InputStream;
    • getInputStream

      public InputStream getInputStream​(Identifier identifier) throws FileNotFoundException
      Throws:
      FileNotFoundException
      Mappings:
      Namespace Name Mixin selector
      official c Lbna;c(Ljy;)Ljava/io/InputStream;
      intermediary method_4349 Lnet/minecraft/class_1249;method_4349(Lnet/minecraft/class_1605;)Ljava/io/InputStream;
      named getInputStream Lnet/minecraft/resource/DefaultResourcePack;getInputStream(Lnet/minecraft/util/Identifier;)Ljava/io/InputStream;
    • method_4350

      private InputStream method_4350​(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official d Lbna;d(Ljy;)Ljava/io/InputStream;
      intermediary method_4350 Lnet/minecraft/class_1249;method_4350(Lnet/minecraft/class_1605;)Ljava/io/InputStream;
      named method_4350 Lnet/minecraft/resource/DefaultResourcePack;method_4350(Lnet/minecraft/util/Identifier;)Ljava/io/InputStream;
    • method_4371

      public boolean method_4371​(Identifier identifier)
      Specified by:
      method_4371 in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b(Ljy;)Z
      intermediary method_4371 Lnet/minecraft/class_1260;method_4371(Lnet/minecraft/class_1605;)Z
      named method_4371 Lnet/minecraft/resource/ResourcePack;method_4371(Lnet/minecraft/util/Identifier;)Z
    • method_4372

      public Set<String> method_4372()
      Specified by:
      method_4372 in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      official c Lbnk;c()Ljava/util/Set;
      intermediary method_4372 Lnet/minecraft/class_1260;method_4372()Ljava/util/Set;
      named method_4372 Lnet/minecraft/resource/ResourcePack;method_4372()Ljava/util/Set;
    • method_4368

      public <T extends ResourceMetadataProvider> T method_4368​(MetadataSerializer metadataSerializer, String string) throws IOException
      Specified by:
      method_4368 in interface ResourcePack
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a(Lbny;Ljava/lang/String;)Lbnw;
      intermediary method_4368 Lnet/minecraft/class_1260;method_4368(Lnet/minecraft/class_1275;Ljava/lang/String;)Lnet/minecraft/class_1273;
      named method_4368 Lnet/minecraft/resource/ResourcePack;method_4368(Lnet/minecraft/util/MetadataSerializer;Ljava/lang/String;)Lnet/minecraft/client/resource/ResourceMetadataProvider;
    • method_4367

      public BufferedImage method_4367() throws IOException
      Specified by:
      method_4367 in interface ResourcePack
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnk;a()Ljava/awt/image/BufferedImage;
      intermediary method_4367 Lnet/minecraft/class_1260;method_4367()Ljava/awt/image/BufferedImage;
      named method_4367 Lnet/minecraft/resource/ResourcePack;method_4367()Ljava/awt/image/BufferedImage;
    • getName

      public String getName()
      Specified by:
      getName in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      official b Lbnk;b()Ljava/lang/String;
      intermediary method_4370 Lnet/minecraft/class_1260;method_4370()Ljava/lang/String;
      named getName Lnet/minecraft/resource/ResourcePack;getName()Ljava/lang/String;