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 Details

    • getOfflinePlayer0

      org.bukkit.OfflinePlayer getOfflinePlayer0()
    • getLocation0

      org.bukkit.Location getLocation0()
      Gets the location of the player.

      Please consider using Entity.getLocation() or Entity.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

      default boolean equals0(Object other)
    • toString0

      default String toString0()