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 gq
  • Field Details

    • EXAMPLES

      private static final Collection<String> 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 Lgq;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 Lgq;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • SwizzleArgumentType

      public SwizzleArgumentType()
  • Method Details

    • swizzle

      public static SwizzleArgumentType 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 Lgq;a()Lgq;
    • 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 Lgq;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 interface com.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 Lgq;a(Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet;
    • getExamples

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