Method CanProvide
CanProvide(Type, IResourceLocation)
Determine if this provider can provide the specified object type from the specified location.
Declaration
public virtual bool CanProvide(Type t, IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
Type | t | |
IResourceLocation | location | The resource location of the object. |
Returns
Type | Description |
---|---|
bool | True if this provider can create the specified object. |