Commit Graph

3449 Commits

Author SHA1 Message Date
Brady 615266ed96
Replace manual calculation with util method 2023-06-24 21:57:00 -07:00
Brady 15f4253b3d
Clamp pitch to normal range 2023-06-24 21:48:44 -07:00
Brady 2ccd464a49
Utilize aim processor API for correct elytra simulation 2023-06-24 21:44:08 -07:00
Brady f2374edd8b
Merge branch 'master' into elytra
# Conflicts:
#	src/launch/java/baritone/launch/mixins/MixinMinecraft.java
#	src/main/java/baritone/Baritone.java
#	src/main/java/baritone/behavior/LookBehavior.java
2023-06-23 23:31:43 -07:00
leijurv 24b0bd2edf
Merge pull request #4019 from ZacSharp/pr/misc/rotation/fixMouseStuck
Fix getting stuck due to impossible rotations
2023-06-23 21:59:34 -07:00
Brady f56e0569a2
Add `minimumBoostTicks` 2023-06-23 16:30:10 -07:00
Brady c10903be69
Remove `firstFireworks` from `InventoryBehavior` 2023-06-23 16:17:59 -07:00
ZacSharp e3a1ac85cc
Fix waiting for impossible rotations 2023-06-23 04:22:35 +02:00
leijurv 1ea071de09
Merge pull request #4015 from cabaletta/pr/deterministicLookTarget
API for rotations produced by LookBehavior
2023-06-22 19:21:02 -07:00
Brady c9a18caf49
Register `LookBehavior` first
Since there's no event priority system, this is necessary to ensure anything else listening to the PRE `TickEvent` can accurately simulate rotations.
2023-06-22 20:38:00 -05:00
Brady bfae100cb9
Create `ITickableAimProcessor` 2023-06-22 20:35:22 -05:00
Brady 878a32228a
Add avoidance setting 2023-06-22 18:22:40 -05:00
Brady bce2c74a8e
NO MORE CONCUSSIONS! 2023-06-22 18:07:11 -05:00
Brady 90434b3178
A bit more flexibility 2023-06-22 12:54:30 -05:00
Brady 9cf5538058
Improve stepper collision detection 2023-06-22 12:50:06 -05:00
Brady f4a99253f4
Prevent head bonks 2023-06-22 12:08:30 -05:00
Brady b366b1b1d1
Fix other null checks 2023-06-22 11:40:45 -05:00
Brady Hahn a90e720956
Merge pull request #4017 from babbaj/elytra
simplify null check
2023-06-22 11:40:08 -05:00
Babbaj 535fd17a42
simplify null check 2023-06-22 08:30:25 -04:00
Brady 47dc0f9b94
Add missing exception null check to async completed callback 2023-06-21 21:30:04 -05:00
Brady 4776fa1876
Don't update `playerNear` on an empty path 2023-06-21 21:19:12 -05:00
leijurv b0ebbf4dfb
Merge pull request #4007 from ZacSharp/pr/schematics/mask/fixBinaryOperatorMaskOOB
Don't call `partOfMask` out of bounds in `BinaryOperatorMask`
2023-06-21 18:53:58 -07:00
leijurv 9d12a4ba3d
Merge pull request #4008 from ZacSharp/pr/pathing/goals/implHashCode
Implement `hashCode` for goals
2023-06-21 18:53:36 -07:00
leijurv 6dc953631b
Merge pull request #4006 from ZacSharp/pr/blockOptionalMeta/tabCompleteProperties
Tab completion improvements
2023-06-21 18:53:06 -07:00
Brady 0aff31b768
Perfect elytra simulation 2023-06-21 18:59:44 -05:00
Brady 0682e63707
Apply processor to RotationMoveEvent 2023-06-21 17:39:04 -05:00
Brady 7e426bd2e8
AimProcessor API 2023-06-21 17:35:47 -05:00
Brady 367ce5fa17
cherry pick Allow freeLook when using elytra 2023-06-21 14:55:40 -05:00
Brady 877fd25608
Distinguish unexpected exceptions in path calc 2023-06-21 00:52:43 -05:00
Brady cfd9a69052
Revert how PathManager tick works 2023-06-21 00:21:37 -05:00
Brady d42bfcfa53
Fix NPE 2023-06-20 23:15:45 -05:00
Brady defa6399e2
Tweak hitbox constraints 2023-06-20 23:01:07 -05:00
Brady 699e8bdea6
troll concurrency fix for rn 2023-06-20 22:36:27 -05:00
Brady 2eb912835a
Restore interp values 2023-06-20 21:28:30 -05:00
Brady bd7a57f7aa
We do a little trolling 2023-06-20 21:27:54 -05:00
Brady e76f79214e
Replace `pathAt` with `NetherPath` 2023-06-20 21:07:21 -05:00
Brady 141a48a15e
Some refactoring, more precise `goingTo` 2023-06-20 20:30:10 -05:00
Brady fa158c6e67
Remove unnecessary conversions to Vec3d 2023-06-20 20:18:56 -05:00
Brady 7a12ef530c
Cancel solver on behavior cancel 2023-06-20 20:11:34 -05:00
Brady 1d092a7165
Compute angles on another thread between ticks 2023-06-20 20:09:53 -05:00
Brady 57a17e907e
Add missing `CallbackInfo` 2023-06-20 17:30:38 -05:00
Brady 2a82f6048a
Implement POST TickEvent with new `onPostTick` callback 2023-06-20 17:18:30 -05:00
Brady 4076263afa
Un-scuff PRE TickEvent injector 2023-06-20 17:00:42 -05:00
Brady e3c8283158
Move solver into separate method 2023-06-20 15:15:02 -05:00
Brady 0aad3470d9
Differ between no pitch solution and no solution at all 2023-06-20 15:05:59 -05:00
Brady Hahn 553c85f0f6
Merge pull request #4011 from babbaj/elytra
fix 0.5 offset in elytra path rendering
2023-06-20 14:49:00 -05:00
Babbaj c057081f07
fix 0.5 offset in elytra path rendering 2023-06-20 15:48:12 -04:00
Brady 7d22a71507
Only count unchanged ticks when using elytra 2023-06-20 13:50:26 -05:00
Brady 0ecabdd047
Update `nether-pathfinder` to 0.18 2023-06-20 13:43:42 -05:00
Brady 6c6b44ee65
Recalculate path if stuck 2023-06-20 13:43:14 -05:00