Class EntitySelectorOptions

java.lang.Object
net.minecraft.command.EntitySelectorOptions

public class EntitySelectorOptions extends Object
Mappings:
Namespace Name
named net/minecraft/command/EntitySelectorOptions
intermediary net/minecraft/class_2306
official hg
  • Field Details

    • OPTIONS

      private static final Map<String,EntitySelectorOptions.SelectorOption> OPTIONS
      Mappings:
      Namespace Name Mixin selector
      named OPTIONS Lnet/minecraft/command/EntitySelectorOptions;OPTIONS:Ljava/util/Map;
      intermediary field_10891 Lnet/minecraft/class_2306;field_10891:Ljava/util/Map;
      official i Lhg;i:Ljava/util/Map;
    • UNKNOWN_OPTION_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_OPTION_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named UNKNOWN_OPTION_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;UNKNOWN_OPTION_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_10885 Lnet/minecraft/class_2306;field_10885:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official a Lhg;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • INAPPLICABLE_OPTION_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INAPPLICABLE_OPTION_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INAPPLICABLE_OPTION_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;INAPPLICABLE_OPTION_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_10887 Lnet/minecraft/class_2306;field_10887:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official b Lhg;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • NEGATIVE_DISTANCE_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NEGATIVE_DISTANCE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NEGATIVE_DISTANCE_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;NEGATIVE_DISTANCE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_10890 Lnet/minecraft/class_2306;field_10890:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official c Lhg;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • NEGATIVE_LEVEL_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NEGATIVE_LEVEL_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named NEGATIVE_LEVEL_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;NEGATIVE_LEVEL_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_10893 Lnet/minecraft/class_2306;field_10893:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official d Lhg;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • TOO_SMALL_LEVEL_EXCEPTION

      public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TOO_SMALL_LEVEL_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named TOO_SMALL_LEVEL_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;TOO_SMALL_LEVEL_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_10886 Lnet/minecraft/class_2306;field_10886:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official e Lhg;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • IRREVERSIBLE_SORT_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType IRREVERSIBLE_SORT_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named IRREVERSIBLE_SORT_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;IRREVERSIBLE_SORT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_10888 Lnet/minecraft/class_2306;field_10888:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official f Lhg;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • INVALID_MODE_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_MODE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_MODE_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;INVALID_MODE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_10889 Lnet/minecraft/class_2306;field_10889:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official g Lhg;g:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • INVALID_TYPE_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_TYPE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named INVALID_TYPE_EXCEPTION Lnet/minecraft/command/EntitySelectorOptions;INVALID_TYPE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_10892 Lnet/minecraft/class_2306;field_10892:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official h Lhg;h:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • EntitySelectorOptions

      public EntitySelectorOptions()
  • Method Details

    • putOption

      private static void putOption(String id, EntitySelectorOptions.SelectorHandler handler, Predicate<EntitySelectorReader> condition, Text description)
      Mappings:
      Namespace Name Mixin selector
      named putOption Lnet/minecraft/command/EntitySelectorOptions;putOption(Ljava/lang/String;Lnet/minecraft/command/EntitySelectorOptions$SelectorHandler;Ljava/util/function/Predicate;Lnet/minecraft/text/Text;)V
      intermediary method_9961 Lnet/minecraft/class_2306;method_9961(Ljava/lang/String;Lnet/minecraft/class_2306$class_2307;Ljava/util/function/Predicate;Lnet/minecraft/class_2561;)V
      official a Lhg;a(Ljava/lang/String;Lhg$a;Ljava/util/function/Predicate;Lxp;)V
    • register

      public static void register()
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/command/EntitySelectorOptions;register()V
      intermediary method_9960 Lnet/minecraft/class_2306;method_9960()V
      official a Lhg;a()V
    • getHandler

      public static EntitySelectorOptions.SelectorHandler getHandler(EntitySelectorReader reader, String option, int restoreCursor) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named getHandler Lnet/minecraft/command/EntitySelectorOptions;getHandler(Lnet/minecraft/command/EntitySelectorReader;Ljava/lang/String;I)Lnet/minecraft/command/EntitySelectorOptions$SelectorHandler;
      intermediary method_9976 Lnet/minecraft/class_2306;method_9976(Lnet/minecraft/class_2303;Ljava/lang/String;I)Lnet/minecraft/class_2306$class_2307;
      official a Lhg;a(Lhf;Ljava/lang/String;I)Lhg$a;
    • suggestOptions

      public static void suggestOptions(EntitySelectorReader reader, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionBuilder)
      Mappings:
      Namespace Name Mixin selector
      named suggestOptions Lnet/minecraft/command/EntitySelectorOptions;suggestOptions(Lnet/minecraft/command/EntitySelectorReader;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V
      intermediary method_9930 Lnet/minecraft/class_2306;method_9930(Lnet/minecraft/class_2303;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V
      official a Lhg;a(Lhf;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V