public abstract class BundledResourceLocation extends Object implements ResourceLocation
| Modifier | Constructor and Description |
|---|---|
protected |
BundledResourceLocation(String subfolder) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getStream(String name)
Returns the Resource as a InputStream
|
URL |
getURL(String name)
Returns the Resource's URL
|
protected BundledResourceLocation(String subfolder)
public InputStream getStream(String name)
ResourceLocationgetStream in interface ResourceLocationname - The path relative to the location (usally the filename)ResourceLocation.getStream(String)public URL getURL(String name)
ResourceLocationgetURL in interface ResourceLocationname - The path relative to the location (usally the filename)ResourceLocation.getURL(String)Copyright © 2015. All rights reserved.