Class SelectorArgumentResolver
java.lang.Object
fr.fidorial.command.argument.resolvers.SelectorArgumentResolver
- All Implemented Interfaces:
ArgumentResolver<List<Entity>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(CommandSource sender) Resolves the argument with the given command source.
-
Constructor Details
-
SelectorArgumentResolver
-
-
Method Details
-
resolve
public List<Entity> resolve(CommandSource sender) throws com.mojang.brigadier.exceptions.CommandSyntaxException Description copied from interface:ArgumentResolverResolves the argument with the given command source.- Specified by:
resolvein interfaceArgumentResolver<List<Entity>>- Parameters:
sender- source- Returns:
- resolved
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- if an error occurs while parsing
-