Package net.minecraft.command.argument
Class SwizzleArgumentType
java.lang.Object
net.minecraft.command.argument.SwizzleArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
public class SwizzleArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
- Mappings:
Namespace Name named net/minecraft/command/argument/SwizzleArgumentType
intermediary net/minecraft/class_2273
official gx
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection
<String> private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet
<Direction.Axis> getSwizzle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse
(com.mojang.brigadier.StringReader stringReader) static SwizzleArgumentType
swizzle()
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, parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/SwizzleArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_10740
Lnet/minecraft/class_2273;field_10740:Ljava/util/Collection;
official a
Lgx;a:Ljava/util/Collection;
-
INVALID_SWIZZLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_SWIZZLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_SWIZZLE_EXCEPTION
Lnet/minecraft/command/argument/SwizzleArgumentType;INVALID_SWIZZLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_10741
Lnet/minecraft/class_2273;field_10741:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official b
Lgx;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
SwizzleArgumentType
public SwizzleArgumentType()
-
-
Method Details
-
swizzle
- Mappings:
Namespace Name Mixin selector named swizzle
Lnet/minecraft/command/argument/SwizzleArgumentType;swizzle()Lnet/minecraft/command/argument/SwizzleArgumentType;
intermediary method_9721
Lnet/minecraft/class_2273;method_9721()Lnet/minecraft/class_2273;
official a
Lgx;a()Lgx;
-
getSwizzle
public static EnumSet<Direction.Axis> getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getSwizzle
Lnet/minecraft/command/argument/SwizzleArgumentType;getSwizzle(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/EnumSet;
intermediary method_9720
Lnet/minecraft/class_2273;method_9720(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/EnumSet;
official a
Lgx;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/EnumSet;
-
parse
public EnumSet<Direction.Axis> parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/SwizzleArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
intermediary method_9722
Lnet/minecraft/class_2273;method_9722(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
official a
Lgx;a(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
-