Package net.minecraft.commands.arguments
Class UuidArgument
java.lang.Object
net.minecraft.commands.arguments.UuidArgument
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<UUID>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Patternstatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final Collection<String>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic UUIDgetUuid(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_113854_, String p_113855_) parse(com.mojang.brigadier.StringReader p_113852_) static UuidArgumentuuid()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentTypelistSuggestions
- 
Field Details- 
ERROR_INVALID_UUIDpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID_UUID
- 
EXAMPLES
- 
ALLOWED_CHARACTERS
 
- 
- 
Constructor Details- 
UuidArgumentpublic UuidArgument()
 
- 
- 
Method Details- 
getUuidpublic static UUID getUuid(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_113854_, String p_113855_) 
- 
uuid
- 
parsepublic UUID parse(com.mojang.brigadier.StringReader p_113852_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<UUID>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<UUID>
 
 
-