Interface WorldIdentifier
Namespaced identifier used to query worlds from squaremap.
Mirrors Minecraft's Identifier. This means the same rules apply regarding allowed characters.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionasString()Get the string representation of thisWorldIdentifier.static WorldIdentifierCreate a newWorldIdentifierfrom the provided namespace and value strings.Gets the namespace string of thisWorldIdentifier.static WorldIdentifierParse a colon separated identifier string into a newWorldIdentifier.value()Gets the value string of thisWorldIdentifier.
-
Method Details
-
namespace
-
value
-
asString
String asString()Get the string representation of thisWorldIdentifier.- Returns:
- string representation
-
create
Create a newWorldIdentifierfrom the provided namespace and value strings.- Parameters:
namespace- namespace stringvalue- value string- Returns:
- new
WorldIdentifier
-
parse
Parse a colon separated identifier string into a newWorldIdentifier.- Parameters:
identifierString- identifier string- Returns:
- new
WorldIdentifier
-