Skip to content

Commit 7016c19

Browse files
typings: add entityAtCursor to bot (#3200)
1 parent 2e02cee commit 7016c19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ export interface Bot extends TypedEmitter<BotEvents> {
408408

409409
waitForChunksToLoad: () => Promise<void>
410410

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

413414
waitForTicks: (ticks: number) => Promise<void>

0 commit comments

Comments
 (0)