File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 311
311
- [ bot.activateEntityAt(entity, position)] ( #botactivateentityatentity-position )
312
312
- [ bot.consume()] ( #botconsume )
313
313
- [ bot.fish()] ( #botfish )
314
- - [ bot.activateItem(offHand=false)] ( #botactivateitemoffhandfalse )
314
+ - [ bot.activateItem(offHand=false, DegreeX, DegreeY )] ( #botactivateitemoffhandfalse )
315
315
- [ bot.deactivateItem()] ( #botdeactivateitem )
316
316
- [ bot.useOn(targetEntity)] ( #botuseontargetentity )
317
317
- [ bot.attack(entity, swing = true)] ( #botattackentity-swing--true )
@@ -1996,12 +1996,15 @@ This function returns a `Promise`, with `void` as its argument when fishing ends
1996
1996
Use fishing rod
1997
1997
1998
1998
1999
- #### bot.activateItem(offHand=false)
1999
+ #### bot.activateItem(offHand=false, DegreeX, DegreeY )
2000
2000
2001
2001
Activates the currently held item. This is how you eat, shoot bows, throw an
2002
2002
egg, activate firework rockets, etc.
2003
2003
2004
2004
Optional parameter is ` false ` for main hand and ` true ` for off hand.
2005
+ * ` DegreeX ` Optional defaults to bot's current pitch
2006
+ * ` DegreeY ` Optional defaults to bot's current yaw
2007
+
2005
2008
2006
2009
#### bot.deactivateItem()
2007
2010
You can’t perform that action at this time.
0 commit comments