类 EntitySelectorOptions
java.lang.Object
net.minecraft.commands.arguments.selector.options.EntitySelectorOptions
-
嵌套类概要
嵌套类修饰符和类型类说明static interface
(专用程序包) static final record
-
字段概要
字段修饰符和类型字段说明static 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> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static 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 pParser, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder)
-
字段详细资料
-
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
-
-
构造器详细资料
-
EntitySelectorOptions
public EntitySelectorOptions()
-
-
方法详细资料
-
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 - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
suggestNames
public static void suggestNames(EntitySelectorParser pParser, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder)
-