Package devs.beer.nativepackets.api
Interface EntityLookupAccess
Thread-safe snapshots of known entity identities and online players.
-
Method Summary
Modifier and TypeMethodDescriptionentityUuid(int entityId) Returns the known entity UUID, ornullwhen the ID is unknown.playerByEntityId(int entityId) Returns the online Bukkit player for an entity ID, ornull.playerByUuid(UUID uuid) Returns the online Bukkit player for a UUID, ornull.
-
Method Details
-
entityUuid
Returns the known entity UUID, ornullwhen the ID is unknown. -
playerByEntityId
Returns the online Bukkit player for an entity ID, ornull. -
playerByUuid
Returns the online Bukkit player for a UUID, ornull.
-