Interface ArgumentResolver<T>
- Type Parameters:
T
- resolved type
- All Known Subinterfaces:
BlockPositionResolver
,EntitySelectorArgumentResolver
,FinePositionResolver
,PlayerProfileListResolver
,PlayerSelectorArgumentResolver
,SelectorArgumentResolver<T>
An
ArgumentResolver
is capable of resolving
an argument value using a CommandSourceStack
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(CommandSourceStack sourceStack) Resolves the argument with the given command source stack.
-
Method Details
-
resolve
T resolve(CommandSourceStack sourceStack) throws com.mojang.brigadier.exceptions.CommandSyntaxException Resolves the argument with the given command source stack.- Parameters:
sourceStack
- source stack- Returns:
- resolved
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-