Method TransformInternalId
TransformInternalId(IResourceLocation)
Checks for an internal id transform function and uses it to modify the internal id value.
Declaration
public string TransformInternalId(IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
IResourceLocation | location | The location to transform the internal id of. |
Returns
Type | Description |
---|---|
String | If a transform func is set, use it to pull the local id; otherwise, the InternalId property of the location is used. |