Interface EntityLookupAccess


@AnyThread public interface EntityLookupAccess
Thread-safe snapshots of known entity identities and online players.
  • Method Summary

    Modifier and Type
    Method
    Description
    entityUuid(int entityId)
    Returns the known entity UUID, or null when the ID is unknown.
    playerByEntityId(int entityId)
    Returns the online Bukkit player for an entity ID, or null.
    Returns the online Bukkit player for a UUID, or null.
  • Method Details

    • entityUuid

      UUID entityUuid(int entityId)
      Returns the known entity UUID, or null when the ID is unknown.
    • playerByEntityId

      Object playerByEntityId(int entityId)
      Returns the online Bukkit player for an entity ID, or null.
    • playerByUuid

      Object playerByUuid(UUID uuid)
      Returns the online Bukkit player for a UUID, or null.