Class SwizzleArgument

java.lang.Object
net.minecraft.command.arguments.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 Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • ERROR_INVALID

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID
  • Constructor Details

    • SwizzleArgument

      public SwizzleArgument()
  • Method Details

    • swizzle

      public static SwizzleArgument swizzle()
    • getSwizzle

      public static EnumSet<Direction.Axis> getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> p_197291_0_, String p_197291_1_)
    • parse

      public EnumSet<Direction.Axis> parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<EnumSet<Direction.Axis>>