HorseNuggets / TerminatorPlus

the epic plugin
Eclipse Public License 2.0
148 stars 53 forks source link

Custom `Goal` class to set the bot's target to either a `LivingEntity` or a `Location` #33

Closed Badbird5907 closed 3 years ago

Badbird5907 commented 3 years ago

I've tested this, should work flawlessly edit: nope

Badbird5907 commented 3 years ago

I forgot to set the goal to null once the bot reaches the goal...

Badbird5907 commented 3 years ago

wait don't merge this there's some problems with a custom location goal (bot keeps moving)

Badbird5907 commented 3 years ago

Update: @joeybalardeta found the source of the problem: the bot offset is being applied every tick

Badbird5907 commented 3 years ago

yeah theres some bug where the bot would instantly set the goal to y=1, can't find out why

Badbird5907 commented 3 years ago

I'm going to close this PR until I get it working