Package net.minecraft.command.arguments
Class EntityOptions
- java.lang.Object
-
- net.minecraft.command.arguments.EntityOptions
-
public class EntityOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EntityOptions.IFilter
(package private) static class
EntityOptions.OptionHandler
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_ENTITY_TYPE_INVALID
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_GAME_MODE_INVALID
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_INAPPLICABLE_OPTION
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_LEVEL_NEGATIVE
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_LIMIT_TOO_SMALL
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_RANGE_NEGATIVE
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_SORT_UNKNOWN
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_UNKNOWN_OPTION
private static java.util.Map<java.lang.String,EntityOptions.OptionHandler>
OPTIONS
-
Constructor Summary
Constructors Constructor Description EntityOptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
bootStrap()
static EntityOptions.IFilter
get(EntitySelectorParser p_202017_0_, java.lang.String p_202017_1_, int p_202017_2_)
static void
register(java.lang.String p_202024_0_, EntityOptions.IFilter p_202024_1_, java.util.function.Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_)
static void
suggestNames(EntitySelectorParser p_202049_0_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_202049_1_)
-
-
-
Field Detail
-
OPTIONS
private static final java.util.Map<java.lang.String,EntityOptions.OptionHandler> 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
-
-
Method Detail
-
register
public static void register(java.lang.String p_202024_0_, EntityOptions.IFilter p_202024_1_, java.util.function.Predicate<EntitySelectorParser> p_202024_2_, ITextComponent p_202024_3_)
-
bootStrap
public static void bootStrap()
-
get
public static EntityOptions.IFilter get(EntitySelectorParser p_202017_0_, java.lang.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_)
-
-