Package net.citizensnpcs.api
Class LocationLookup
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
net.citizensnpcs.api.LocationLookup
- All Implemented Interfaces:
- Runnable
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetMetadata(String key) getNearbyNPCs(NPC npc) getNearbyNPCs(Location base, double dist) getNearbyNPCs(World world, double[] min, double[] max) getNearbyPlayers(NPC npc) getNearbyPlayers(Location base, double dist) getNearbyPlayers(World base, double[] min, double[] max) getNearbyVisiblePlayers(Entity entity, double range) getNearbyVisiblePlayers(Entity base, double[] min, double[] max) getNearbyVisiblePlayers(Entity base, Location location, double range) voidonJoin(PlayerJoinEvent event) voidonQuit(PlayerQuitEvent event) voidonWorldUnload(WorldUnloadEvent event) registerMetadata(String key, BiConsumer<LocationLookup.PerPlayerMetadata<T>, PlayerJoinEvent> onJoin) voidrun()Methods inherited from class org.bukkit.scheduler.BukkitRunnablecancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
- 
Constructor Details- 
LocationLookuppublic LocationLookup()
- 
LocationLookup
 
- 
- 
Method Details- 
getMetadata
- 
getNearbyNPCs
- 
getNearbyNPCs
- 
getNearbyNPCs
- 
getNearbyPlayers
- 
getNearbyPlayers
- 
getNearbyPlayers
- 
getNearbyVisiblePlayers
- 
getNearbyVisiblePlayers
- 
getNearbyVisiblePlayers
- 
onJoin
- 
onQuit
- 
onWorldUnload
- 
registerMetadatapublic <T> LocationLookup.PerPlayerMetadata<T> registerMetadata(String key, BiConsumer<LocationLookup.PerPlayerMetadata<T>, PlayerJoinEvent> onJoin) 
- 
runpublic void run()
 
-