Commit Graph

3437 Commits

Author SHA1 Message Date
Brady b8ede0a652
Remove unnecessary `IPlayerContext` argument 2023-06-29 22:54:55 -05:00
Brady 3eb7610f89
Block lookup optimization 2023-06-29 20:45:59 -05:00
Brady 5a48f4119e
Reduce number of raytraces when validating simulation 2023-06-29 19:15:06 -05:00
Brady 974b86aac1
Bump `nether-pathfinder` to 0.20 2023-06-29 18:50:29 -05:00
Brady f30cb916bd
Remove addressed TODO 2023-06-29 14:53:55 -05:00
Brady 494ebfa10d
More accurate `isActive` return value 2023-06-29 14:53:12 -05:00
Brady 222f53b105
Use `Arrays.fill` 2023-06-29 14:46:42 -05:00
Brady 12898df2f1
Reduce main thread recalculations after using a firework 2023-06-29 14:46:04 -05:00
Brady fbb66a0586
Tweaks 2023-06-29 14:14:49 -05:00
Brady 48462da473
Disable interp on relaxation 0 2023-06-28 21:47:37 -05:00
Brady 4b689bd946
Fix `Supplier` meme 2023-06-28 17:55:47 -05:00
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