UNPKG
@nxg-org/mineflayer-custom-pvp
Version:
latest (1.7.16)
1.7.16
1.7.15
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.2
1.7.1
1.7.0
1.6.14
1.6.13
1.6.12
1.6.11
1.6.10
1.6.9
1.6.7
1.6.6
1.6.5
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
Intermediate functionality for bow and sword pvp.
nxg-org/mineflayer-custom-pvp
@nxg-org/mineflayer-custom-pvp
/
lib
/
calc
/
constants.d.ts
14 lines
(13 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
type
ProjectileInfo
= {
v0
:
number
;
g
:
number
; };
type
ProjectileInfos
= { [
name
:
string
]:
ProjectileInfo
; };
export
declare
const
trajectoryInfo
:
ProjectileInfos
;
export
declare
const
airResistance
: {
y
:
number
;
h
:
number
; };
export
{};