Bot: Difference between revisions

From Minecraft Parkour Wiki
Content added Content deleted
m (arguments)
(update)
Line 7: Line 7:




stop
stop, stop_air


sneak, sneak_air
stop_air


sneak45, sneak45_air
sneak


walk, walk_air
sneak_air


walk45, walk45_air
sneak45


sprint, sprint_air
sneak45_air


sprint45, sprint45_air
walk

walk_air

walk45

walk45_air

sprint

sprint_air

sprint45

sprint45_air


walkjump
walkjump

walkjump_air


walkjump45
walkjump45

walkjump45_air


sprintjump
sprintjump

sprintjump_air


sprintjump45
sprintjump45

sprintjump45_air


Lsprintjump
Lsprintjump

Lsprintjump_air


Rsprintjump
Rsprintjump

Rsprintjump_air


Lsprintjump45
Lsprintjump45


Rsprintjump45
Lsprintjump_air


== Special Tokens ==
Rsprintjump45
'''Momentum''', '''MM''', and '''|''' sets the previous actions as momentum (resets the position minus the last tick)

'''Blocks''' and '''b''' convert the output landing distance to blocks (± 0.6 to X and Z if nonzero)

'''Meters''', and '''m''' convert the output landing distance to meters (same values as default)

'''Position''', '''pos''', and '''p''' convert the output to (used when you're not calculating jump distance)


== Usage ==
Rsprintjump45_air
The parser reads the actions and tokens from left to right. Actions and tokens should be separated by spaces.


The '''Momentum''' token can be used anywhere between two actions.
== Special Functions ==
'''Momentum''', '''MM''', and '''|''' sets the previous actions as momentum (resets the position)


'''Blocks''' and '''b''' convert the output to block distance 0.6 to X and Z if nonzero)
The '''Blocks''', '''Meters''', and '''Position''' tokens are to be used at the end of the sequence (mutually exclusive).

Revision as of 18:01, 7 January 2021

Actions:

Actions take two arguments:

  • Ticks : int
  • Direction (optional) : float


stop, stop_air

sneak, sneak_air

sneak45, sneak45_air

walk, walk_air

walk45, walk45_air

sprint, sprint_air

sprint45, sprint45_air

walkjump

walkjump45

sprintjump

sprintjump45

Lsprintjump

Rsprintjump

Lsprintjump45

Rsprintjump45

Special Tokens

Momentum, MM, and | sets the previous actions as momentum (resets the position minus the last tick)

Blocks and b convert the output landing distance to blocks (± 0.6 to X and Z if nonzero)

Meters, and m convert the output landing distance to meters (same values as default)

Position, pos, and p convert the output to (used when you're not calculating jump distance)

Usage

The parser reads the actions and tokens from left to right. Actions and tokens should be separated by spaces.

The Momentum token can be used anywhere between two actions.

The Blocks, Meters, and Position tokens are to be used at the end of the sequence (mutually exclusive).