Package net.minecraft.command.argument
Class UuidArgumentType
java.lang.Object
net.minecraft.command.argument.UuidArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<UUID>
public class UuidArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<UUID>
- Mappings:
Namespace Name named net/minecraft/command/argument/UuidArgumentType
intermediary net/minecraft/class_5242
official gf
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection
<String> static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final Pattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
getUuid
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse
(com.mojang.brigadier.StringReader stringReader) static UuidArgumentType
uuid()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
INVALID_UUID
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_UUID- Mappings:
Namespace Name Mixin selector named INVALID_UUID
Lnet/minecraft/command/argument/UuidArgumentType;INVALID_UUID:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_24318
Lnet/minecraft/class_5242;field_24318:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lgf;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/UuidArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_24319
Lnet/minecraft/class_5242;field_24319:Ljava/util/Collection;
official b
Lgf;b:Ljava/util/Collection;
-
VALID_CHARACTERS
- Mappings:
Namespace Name Mixin selector named VALID_CHARACTERS
Lnet/minecraft/command/argument/UuidArgumentType;VALID_CHARACTERS:Ljava/util/regex/Pattern;
intermediary field_24320
Lnet/minecraft/class_5242;field_24320:Ljava/util/regex/Pattern;
official c
Lgf;c:Ljava/util/regex/Pattern;
-
-
Constructor Details
-
UuidArgumentType
public UuidArgumentType()
-
-
Method Details
-
getUuid
public static UUID getUuid(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getUuid
Lnet/minecraft/command/argument/UuidArgumentType;getUuid(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/UUID;
intermediary method_27645
Lnet/minecraft/class_5242;method_27645(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/UUID;
official a
Lgf;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/UUID;
-
uuid
- Mappings:
Namespace Name Mixin selector named uuid
Lnet/minecraft/command/argument/UuidArgumentType;uuid()Lnet/minecraft/command/argument/UuidArgumentType;
intermediary method_27643
Lnet/minecraft/class_5242;method_27643()Lnet/minecraft/class_5242;
official a
Lgf;a()Lgf;
-
parse
public UUID parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<UUID>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/UuidArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/util/UUID;
intermediary method_27644
Lnet/minecraft/class_5242;method_27644(Lcom/mojang/brigadier/StringReader;)Ljava/util/UUID;
official a
Lgf;a(Lcom/mojang/brigadier/StringReader;)Ljava/util/UUID;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<UUID>
-