Interface Target
- All Known Implementing Classes:
 GameProfileTarget, PlayerTarget, UniqueIdTarget, UsernameTarget
public interface Target
Abstraction for (possibly offline) target players.
- 
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic TargetbyGameProfile(UUID uniqueId, String userName) Create the target by their unique ID and username.static TargetbyPlayer(HumanEntity player) Create the target from a player object.static TargetbyUniqueId(UUID uniqueId) Create the target by their unique ID.static TargetbyUsername(String username) Create the target by their username. 
- 
Method Details
- 
byUsername
 - 
byUniqueId
 - 
byPlayer
Create the target from a player object. - 
byGameProfile
 
 -