Skip to content

Commit

Permalink
typings: add entityAtCursor to bot (#3200)
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowRunescape committed Oct 15, 2023
1 parent 2e02cee commit 7016c19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ export interface Bot extends TypedEmitter<BotEvents> {

waitForChunksToLoad: () => Promise<void>

entityAtCursor: (maxDistance?: number) => Entity | null
nearestEntity: (filter?: (entity: Entity) => boolean) => Entity | null

waitForTicks: (ticks: number) => Promise<void>
Expand Down

0 comments on commit 7016c19

Please sign in to comment.