Class PlayerSource
java.lang.Object
org.incendo.cloud.paper.util.sender.EntitySource
org.incendo.cloud.paper.util.sender.PlayerSource
- All Implemented Interfaces:
Source
-
Method Summary
Modifier and TypeMethodDescriptionsource()Gets the underlyingsenderfrom thesource stack.final @NonNull CommandSourceStackstack()Gets theCommandSourceStack.
-
Method Details
-
source
Description copied from class:EntitySourceGets the underlyingsenderfrom thesource stack.Specific implementations may override this method with a more specific return type.
- Specified by:
sourcein interfaceSource- Overrides:
sourcein classEntitySource- Returns:
- the source
-
stack
Description copied from interface:SourceGets theCommandSourceStack.
-