Interface AngleResolver
An
ArgumentResolver
capable of resolving
an angle value using a CommandSourceStack
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfloat
resolve
(CommandSourceStack sourceStack) Resolves the argument with the given command source stack.
-
Method Details
-
resolve
float resolve(CommandSourceStack sourceStack) throws com.mojang.brigadier.exceptions.CommandSyntaxException Resolves the argument with the given command source stack.- Parameters:
sourceStack
- source stack- Returns:
- the resolved angle in degrees.
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-