Class SwizzleArgument
java.lang.Object
net.minecraft.commands.arguments.coordinates.SwizzleArgument
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
public class SwizzleArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final Collection<String>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis>getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120811_, String p_120812_) parse(com.mojang.brigadier.StringReader p_120809_) static SwizzleArgumentswizzle()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- 
EXAMPLES
- 
ERROR_INVALIDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID
 
- 
- 
Constructor Details- 
SwizzleArgumentpublic SwizzleArgument()
 
- 
- 
Method Details- 
swizzle
- 
getSwizzlepublic static EnumSet<Direction.Axis> getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120811_, String p_120812_) 
- 
parsepublic EnumSet<Direction.Axis> parse(com.mojang.brigadier.StringReader p_120809_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
 
 
-