Interface Resource

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

public interface Resource extends Closeable
Mappings:
Namespace Name
official ve
intermediary net/minecraft/class_1652
named net/minecraft/resource/Resource
  • Method Details

    • getId

      Mappings:
      Namespace Name Mixin selector
      official a Lve;a()Lpc;
      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 Lve;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

      @Environment(CLIENT) boolean hasMetadata()
      Mappings:
      Namespace Name Mixin selector
      official c Lve;c()Z
      intermediary method_5889 Lnet/minecraft/class_1652;method_5889()Z
      named hasMetadata Lnet/minecraft/resource/Resource;hasMetadata()Z
    • method_21371

      @Environment(CLIENT) @Nullable <T> T method_21371(class_4457<T> class_4457)
      Mappings:
      Namespace Name Mixin selector
      official a Lve;a(Lup;)Ljava/lang/Object;
      intermediary method_21371 Lnet/minecraft/class_1652;method_21371(Lnet/minecraft/class_4457;)Ljava/lang/Object;
      named method_21371 Lnet/minecraft/resource/Resource;method_21371(Lnet/minecraft/class_4457;)Ljava/lang/Object;
    • getResourcePackName

      String getResourcePackName()
      Mappings:
      Namespace Name Mixin selector
      official d Lve;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;