Package net.minecraft.resources
Interface IResource
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
SimpleResource
public interface IResource extends java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
ResourceLocation
getLocation()
<T> T
getMetadata(IMetadataSectionSerializer<T> p_199028_1_)
java.lang.String
getSourceName()
-
-
-
Method Detail
-
getLocation
ResourceLocation getLocation()
-
getInputStream
java.io.InputStream getInputStream()
-
getMetadata
@Nullable <T> T getMetadata(IMetadataSectionSerializer<T> p_199028_1_)
-
getSourceName
java.lang.String getSourceName()
-
-