Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Set Y motion to 0.42 instead of jumping

Opened this issue ยท 3 comments

commented

Let's say you want baritone to jump but have e.g. HighJump enabled. Anticheats would flag and/or ban you. This is currently solved by disabling the Module, a different approach would be to just set Y motion 0.42, which is the equivalent of jumping.

Sent from my Toaster using FastHub

commented

Turn off HighJump?

IMHO, Baritone is supposed to simulate user input (to some extent), not do hacky things like setting Y motion.

commented

@LoganDark Since unmodified Minecraft does exactly that when jumping, I wouldn't consider it too "hacky". It was just an alternative approach to a problem tho.

commented

@mrphax0r It's (almost) always good practice to call methods in the original code that do what you want rather than reimplementing it yourself. This way, yes, hacked and modded clients can hook into it. This is intentionally left the way it is because Baritone is not trying to bypass Minecraft, it's trying to control it as if it were a user.