Package org.spongepowered.api
Interface ResourceKey.Factory
- Enclosing interface:
- ResourceKey
public static interface ResourceKey.Factory
A factory to generate
ResourceKey
s.-
Method Summary
Modifier and TypeMethodDescriptionResolves a resource key from a string, usingResourceKey.MINECRAFT_NAMESPACE
if no namespace is found withinformatted
.
-
Method Details
-
of
-
of
-
resolve
Resolves a resource key from a string, usingResourceKey.MINECRAFT_NAMESPACE
if no namespace is found withinformatted
.- Parameters:
formatted
- The formatted string to parse- Returns:
- A new resource key
-