Package net.minecraft.command.arguments
Class EntityOptions
java.lang.Object
net.minecraft.command.arguments.EntityOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypestatic final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final Map<String,EntityOptions.OptionHandler> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic EntityOptions.IFilterget(EntitySelectorParser p_202017_0_, String p_202017_1_, int p_202017_2_) static voidregister(String p_202024_0_, EntityOptions.IFilter p_202024_1_, Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_) static voidsuggestNames(EntitySelectorParser p_202049_0_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_202049_1_)
-
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
-
EntityOptions
public EntityOptions()
-
-
Method Details
-
register
public static void register(String p_202024_0_, EntityOptions.IFilter p_202024_1_, Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_) -
bootStrap
public static void bootStrap() -
get
public static EntityOptions.IFilter get(EntitySelectorParser p_202017_0_, String p_202017_1_, int p_202017_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
suggestNames
public static void suggestNames(EntitySelectorParser p_202049_0_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_202049_1_)
-