@nxg-org/mineflayer-physics-util
Version:
Provides functionality for more accurate entity and projectile tracking.
17 lines (16 loc) • 720 B
TypeScript
import type { IndexedData } from "minecraft-data";
import type { Bot } from "mineflayer";
import { PhysicsUtilWrapper } from "./wrapper";
declare module "mineflayer" {
interface Bot {
physicsUtil: PhysicsUtilWrapper;
}
}
export default function loader(bot: Bot): void;
export declare function initSetup(data: IndexedData): void;
export { EPhysicsCtx, PhysicsWorldSettings } from "./physics/settings";
export { BaseSimulator } from "./simulators";
export { EntityPhysics, BotcraftPhysics } from "./physics/engines";
export { EntityState } from "./physics/states";
export { ControlStateHandler } from "./physics/player";
export type { SimulationGoal, Controller, OnGoalReachFunction } from "./simulators";