Method Add
Add(object, IResourceLocation)
Add a new location.
Declaration
public void Add(object key, IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key to reference the location. |
IResourceLocation | location | The location to add. |
Add(object, IList<IResourceLocation>)
Add a list of locations.
Declaration
public void Add(object key, IList<IResourceLocation> locations)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key to reference the locations with. |
IList<IResourceLocation> | locations | The list of locations to store at the given key. |