Commit Graph

3376 Commits

Author SHA1 Message Date
Brady 5126ec9c36
interp double 2023-06-28 17:49:33 -05:00
Brady d640ebb02d
Reliability improvements 2023-06-28 17:47:01 -05:00
Brady 0bb6f1b094
Invalidate `pendingSolution` 2023-06-28 01:05:22 -05:00
Brady bb39fea415
Considerations 2023-06-28 01:04:08 -05:00
Brady 7a61ab8137
We need event priorities. 2023-06-28 00:58:51 -05:00
Brady 7861860187
Clarify 2023-06-28 00:48:28 -05:00
Brady 70166f385d
That should be in the other tick method 2023-06-28 00:47:20 -05:00
Brady 03ee30bca9
Call elytra `tick()` from the process 2023-06-28 00:46:14 -05:00
Brady c48de32860
`PitchResult` 2023-06-27 16:31:08 -05:00
Brady 3b31387092
Render simulation line from player pos 2023-06-27 13:02:01 -05:00
Brady ff12832a21
whoops 2023-06-27 12:30:41 -05:00
Brady 4ccaf681c5
Somewhat functional `elytraAutoJump`, but mostly scuffed 2023-06-27 02:54:53 -05:00
Brady 02fc62f1c4
Stop simulation when goal reached 2023-06-26 18:37:06 -05:00
Brady 04a5a1a620
Replace `bool firework` with `ticksBoosted` in `solvePitch` 2023-06-26 16:58:29 -05:00
Brady 3e94cac567
clarity 2023-06-26 16:25:21 -05:00
Brady 452b2c278b
Fix `renderElytraSimulation` 2023-06-26 16:21:15 -05:00
Brady db0bfbe722
Move elytra simulation into new method 2023-06-26 16:12:56 -05:00
Brady f0148a625e
Move `steps` into `solvePitch` 2023-06-26 16:04:05 -05:00
Brady 0b5a310f18
Move firework boost calculation into `solvePitch` 2023-06-26 15:35:40 -05:00
Brady c18715b8d7
Reset `minimumBoostTicks` to 0 earlier 2023-06-26 14:00:38 -05:00
Brady d244a39040
Make `MixinEntityLivingBase` extend `MixinEntity` 2023-06-26 13:57:24 -05:00
Brady 0981114b78
Create `FireworkBoost` class for additional boost context
Also initialize `boostedEntity` in `EntityFireworkRocket` if `null` since it's lazily initialized in `onUpdate()`
2023-06-26 13:55:18 -05:00
Brady 9bd0856445
lol 2023-06-25 15:32:02 -07:00
Brady 9d1addd114
Add `smoothLook` setting 2023-06-25 15:28:06 -07:00
Brady 1902e6c1f3
Reset `minimumBoostTicks` to 0 when not boosted 2023-06-24 22:37:21 -07:00
Brady a1a3d93dc1
Add `renderElytraSimulation` setting 2023-06-24 22:27:38 -07:00
Brady 32b7c82650
Add `renderHitboxRaytraces` setting 2023-06-24 22:11:08 -07:00
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