Package org.spongepowered.api.resource
Interface ResourcePath.Factory
- Enclosing interface:
- ResourcePath
public static interface ResourcePath.Factory
A factory to create
ResourcePath
s.-
Method Summary
Modifier and TypeMethodDescriptionof
(ResourceKey key) Creates a newResourcePath
using the givenResourceKey
.
-
Method Details
-
of
Creates a newResourcePath
using the givenResourceKey
.- Parameters:
key
- The key object- Returns:
- A new path object
-