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
/
util
/
customAttack.d.ts
4 lines
(3 loc)
•
159 B
TypeScript
View Raw
1
2
3
4
import
{
Bot
}
from
"mineflayer"
;
import
{
Entity
}
from
"prismarine-entity"
;
export
declare
function
attack
(
bot
:
Bot
,
target
:
Entity
,
swing
?:
boolean
):
void
;