UNPKG

@nxg-org/mineflayer-custom-pvp

Version:

Intermediate functionality for bow and sword pvp.

18 lines (17 loc) 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.airResistance = exports.trajectoryInfo = void 0; exports.trajectoryInfo = { bow: { v0: 3, g: 0.05 }, crossbow: { v0: 3.15, g: 0.05 }, crossbow_firework: { v0: 1.6, g: 0.00 }, trident: { v0: 2.5, g: 0.05 }, snowball: { v0: 1.5, g: 0.03 }, egg: { v0: 1.5, g: 0.03 }, ender_pearl: { v0: 1.5, g: 0.03 }, splash_potion: { v0: 0.4, g: 0.03 }, }; exports.airResistance = { y: 0.01, h: 0.01 };