minecrafthawkeye
Version:
Minecraft bot for equations when shooting an arrow
9 lines (8 loc) • 339 B
TypeScript
import { Vec3 } from 'vec3';
import { Weapons } from './types';
import { Block } from 'prismarine-block';
export declare const calculateArrowTrayectory: (currentPos: Vec3, itemSpeed: number, pitch: number, yaw: number, ammunitionType?: Weapons) => {
totalTicks: number;
blockInTrayect: Block;
arrowTrajectoryPoints: Vec3[];
};