Package net.minecraft.resource
Interface Resource
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ResourceImpl
public interface Resource extends Closeable
- Mappings:
Namespace Name official acw
intermediary net/minecraft/class_3298
named net/minecraft/resource/Resource
-
Method Summary
Modifier and Type Method Description Identifier
getId()
InputStream
getInputStream()
<T> T
getMetadata(ResourceMetadataReader<T> metaReader)
String
getResourcePackName()
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lacw;a()Lwb;
intermediary method_14483
Lnet/minecraft/class_3298;method_14483()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/resource/Resource;getId()Lnet/minecraft/util/Identifier;
-
getInputStream
InputStream getInputStream()- Mappings:
Namespace Name Mixin selector official b
Lacw;b()Ljava/io/InputStream;
intermediary method_14482
Lnet/minecraft/class_3298;method_14482()Ljava/io/InputStream;
named getInputStream
Lnet/minecraft/resource/Resource;getInputStream()Ljava/io/InputStream;
-
getMetadata
- Mappings:
Namespace Name Mixin selector official a
Lacw;a(Lacd;)Ljava/lang/Object;
intermediary method_14481
Lnet/minecraft/class_3298;method_14481(Lnet/minecraft/class_3270;)Ljava/lang/Object;
named getMetadata
Lnet/minecraft/resource/Resource;getMetadata(Lnet/minecraft/resource/metadata/ResourceMetadataReader;)Ljava/lang/Object;
-
getResourcePackName
String getResourcePackName()- Mappings:
Namespace Name Mixin selector official d
Lacw;d()Ljava/lang/String;
intermediary method_14480
Lnet/minecraft/class_3298;method_14480()Ljava/lang/String;
named getResourcePackName
Lnet/minecraft/resource/Resource;getResourcePackName()Ljava/lang/String;
-