UNPKG

mineflayer-mouse

Version:

First-class **battle-tested** simple API for emulating real Minecraft mouse control in Mineflayer. You should use it for digging (mining) or placing blocks and entity attacking or using and using items!

5 lines (4 loc) 294 B
import { Entity } from 'prismarine-entity'; import { IndexedData, Entity as EntityData } from 'minecraft-data'; export declare const isEntityAttackable: (data: IndexedData, entity: Entity) => any; export declare function isArmorStandAttackable(entity: Entity, entityData: EntityData): boolean;