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 official ez
intermediary net/minecraft/class_2273
named net/minecraft/command/argument/SwizzleArgumentType
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Collection<String>
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis>
getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
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
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Lez;a:Ljava/util/Collection;
intermediary field_10740
Lnet/minecraft/class_2273;field_10740:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/SwizzleArgumentType;EXAMPLES:Ljava/util/Collection;
-
INVALID_SWIZZLE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_SWIZZLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lez;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_10741
Lnet/minecraft/class_2273;field_10741:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INVALID_SWIZZLE_EXCEPTION
Lnet/minecraft/command/argument/SwizzleArgumentType;INVALID_SWIZZLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
SwizzleArgumentType
public SwizzleArgumentType()
-
-
Method Details
-
swizzle
- Mappings:
Namespace Name Mixin selector official a
Lez;a()Lez;
intermediary method_9721
Lnet/minecraft/class_2273;method_9721()Lnet/minecraft/class_2273;
named swizzle
Lnet/minecraft/command/argument/SwizzleArgumentType;swizzle()Lnet/minecraft/command/argument/SwizzleArgumentType;
-
getSwizzle
public static EnumSet<Direction.Axis> getSwizzle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)- Mappings:
Namespace Name Mixin selector official a
Lez;a(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;
named getSwizzle
Lnet/minecraft/command/argument/SwizzleArgumentType;getSwizzle(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 official a
Lez;a(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
intermediary method_9722
Lnet/minecraft/class_2273;method_9722(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
named parse
Lnet/minecraft/command/argument/SwizzleArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
-