LookAtMySuitBot/js/node_modules/mineflayer-collectblock/lib/Inventory.d.ts

8 lines
466 B
TypeScript
Raw Normal View History

2023-12-24 20:08:39 -05:00
import { Bot } from 'mineflayer';
import { Callback } from './CollectBlock';
import { Vec3 } from 'vec3';
import { Item } from 'prismarine-item';
export declare type ItemFilter = (item: Item) => boolean;
export declare function emptyInventoryIfFull(bot: Bot, chestLocations: Vec3[], itemFilter: ItemFilter, cb?: Callback): Promise<void>;
export declare function emptyInventory(bot: Bot, chestLocations: Vec3[], itemFilter: ItemFilter, cb?: Callback): Promise<void>;