Class EntitySelectorOptions
java.lang.Object
net.minecraft.commands.arguments.selector.options.EntitySelectorOptions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static final record
-
Field Summary
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
get
(EntitySelectorParser p_121448_, String p_121449_, int p_121450_) static void
register
(String p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) 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 p_121454_, EntitySelectorOptions.Modifier p_121455_, Predicate<EntitySelectorParser> p_121456_, Component p_121457_) -
bootStrap
public static void bootStrap() -
get
public static EntitySelectorOptions.Modifier get(EntitySelectorParser p_121448_, String p_121449_, int p_121450_) 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_)
-