Class UuidArgument
java.lang.Object
net.minecraft.commands.arguments.UuidArgument
- All Implemented Interfaces:
ArgumentType<UUID>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Patternstatic final SimpleCommandExceptionTypeprivate static final Collection<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UUIDgetUuid(CommandContext<CommandSourceStack> source, String name) parse(StringReader reader) static UuidArgumentuuid()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentType
listSuggestions, parse
-
Field Details
-
ERROR_INVALID_UUID
-
EXAMPLES
-
ALLOWED_CHARACTERS
-
-
Constructor Details
-
UuidArgument
public UuidArgument()
-
-
Method Details
-
getUuid
-
uuid
-
parse
- Specified by:
parsein interfaceArgumentType<UUID>- Throws:
CommandSyntaxException
-
getExamples
- Specified by:
getExamplesin interfaceArgumentType<UUID>
-