Class EntitySelectorOptions
java.lang.Object
net.minecraft.commands.arguments.selector.options.EntitySelectorOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
(package private) static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final Map
<String, EntitySelectorOptions.Option> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
get
(EntitySelectorParser pParser, String pId, int pCursor) static void
register
(String pId, EntitySelectorOptions.Modifier pHandler, Predicate<EntitySelectorParser> pPredicate, Component pTooltip) static void
suggestNames
(EntitySelectorParser p_121441_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121442_)
-
Field Details
-
OPTIONS
-
ERROR_UNKNOWN_OPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_UNKNOWN_OPTION -
ERROR_INAPPLICABLE_OPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_INAPPLICABLE_OPTION -
ERROR_RANGE_NEGATIVE
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_RANGE_NEGATIVE -
ERROR_LEVEL_NEGATIVE
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_LEVEL_NEGATIVE -
ERROR_LIMIT_TOO_SMALL
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_LIMIT_TOO_SMALL -
ERROR_SORT_UNKNOWN
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_SORT_UNKNOWN -
ERROR_GAME_MODE_INVALID
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_GAME_MODE_INVALID -
ERROR_ENTITY_TYPE_INVALID
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_ENTITY_TYPE_INVALID
-
-
Constructor Details
-
EntitySelectorOptions
public EntitySelectorOptions()
-
-
Method Details
-
register
public static void register(String pId, EntitySelectorOptions.Modifier pHandler, Predicate<EntitySelectorParser> pPredicate, Component pTooltip) -
bootStrap
public static void bootStrap() -
get
public static EntitySelectorOptions.Modifier get(EntitySelectorParser pParser, String pId, int pCursor) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
suggestNames
public static void suggestNames(EntitySelectorParser p_121441_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121442_)
-