Interface IFakePlayer
public interface IFakePlayer
The interface that is implemented by all fake players to allow easy identification.
It also contains some internal methods that are used by the generated subclass. It is not recommended to use these methods.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanorg.bukkit.LocationGets the location of the player.org.bukkit.OfflinePlayerdefault intdefault String
-
Method Details
-
getOfflinePlayer0
org.bukkit.OfflinePlayer getOfflinePlayer0() -
getLocation0
org.bukkit.Location getLocation0()Gets the location of the player.Please consider using
Entity.getLocation()orEntity.getLocation(Location)instead.Those methods create defensive copies of the location; this method does not.
- Returns:
- The location of the player.
-
hashCode0
default int hashCode0() -
equals0
-
toString0
-