Interface Source
- All Known Implementing Classes:
ConsoleSource,EntitySource,PlayerSource
public interface Source
A simple wrapper around
CommandSourceStack.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionsource()Gets the underlyingsenderfrom thesource stack.stack()Gets theCommandSourceStack.
-
Method Details
-
stack
@NonNull CommandSourceStack stack()Gets theCommandSourceStack.- Returns:
- the command source stack
-
source
@NonNull CommandSender source()Gets the underlyingsenderfrom thesource stack.Specific implementations may override this method with a more specific return type.
- Returns:
- the source
-