Commit Graph

3183 Commits

Author SHA1 Message Date
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
Brady 14ff90ccf1
remaining ticks mojang incident 2023-06-19 23:12:46 -05:00
Brady 5d7655fbdf
Fix silly 0x integer wraparound trolle 2023-06-19 22:52:27 -05:00
Brady ee0a6c2523
Use new single trace `isVisible` api 2023-06-19 21:45:52 -05:00
Brady 753b1cf1c3
Interpolate path positions
- Update `nether-pathfinder` to 0.17
- Utilize new batched visibility raytracing to efficiently trace bounding box paths
2023-06-19 21:38:08 -05:00
0x22 cd1c07deef
added elytraFireworkSetbackUseDelay setting. 2023-06-19 22:22:57 -04:00
Brady Hahn 9d05043fa0
Merge pull request #4005 from babbaj/elytra
use legacy raytrace with ignore liquid to get out of lava
2023-06-19 18:04:14 -05:00
Babbaj 5f709eef9c
use world raytrace 2023-06-19 18:26:00 -04:00
Babbaj e57a84ded4
use legacy raytrace with ignore liquid to get out of lava 2023-06-19 17:58:06 -04:00
Brady 959b4cddbd
Remove unneeded `while (true)` 2023-06-19 15:29:30 -05:00
Brady 82156250df
Update `nether-pathfinder` to 0.16 2023-06-19 15:20:04 -05:00
Brady 90f401a067
Remove legacy raytracing methods 2023-06-19 15:19:32 -05:00
Brady c6a6624045
Reorder fields 2023-06-19 15:16:11 -05:00
Brady 7d17ace15d
Reset recalculating flag on `clear` 2023-06-19 15:15:29 -05:00
Brady 8d3b0c8f07
Always enforce `sinceFirework` 2023-06-19 14:10:41 -05:00
0x22 6741dff12b
replaced (PI / 180) constants, RotationUtils calcVec3dFromRotation->calcLookDirectionFromRotation and named local variables. 2023-06-19 14:17:54 -04:00
Brady 9e10faa4c5
Elytra inventory modifications
- Use `throwaway` to switch items
- Remove inventory settings
- Prioritizes boost fireworks, but works without
- Avoids explosion fireworks
2023-06-19 12:32:25 -05:00
Brady Hahn 579e6d6e4c
Merge pull request #4003 from rycbar0/elytra
prevent <player> went off with a bang
2023-06-19 12:12:15 -05:00
rycbar0 a32ac59ec1 prevent <player> went off with a bang 2023-06-19 12:44:32 +02:00
Leijurv 2b259d6dee
cuter debug 2023-06-18 23:09:43 -07:00
Brady 67efb7a5b6
Add `experimentalRaytrace` setting for native raytrace
Update `nether-pathfinder` to 0.15
2023-06-19 00:34:22 -05:00
Brady 1da7ab2c22
Fix raytracer rendering 2023-06-18 23:58:20 -05:00
Brady 1257a0128c
Remove unnecessary `Baritone` casts 2023-06-18 21:46:56 -05:00
Brady 0886f176b3
Make elytra API changes 2023-06-18 21:46:03 -05:00
Brady 7a8f8e8d47
fix noob error from resolving merge conflicts 2023-06-18 21:42:04 -05:00
Brady Hahn 7046927394
Merge pull request #3996 from rfresh2/elytra
firework inv management + pause/resume
2023-06-18 21:41:11 -05:00
Brady Hahn d2b1398cea
Merge branch 'elytra' into elytra 2023-06-18 21:39:09 -05:00
Brady 9808f62fe4
Send chunks to nether-pathfinder on `BlockUpdateEvent` 2023-06-18 21:25:00 -05:00
Brady 1837b66bb5
Add `BlockChangeEvent`
Moves the cache repack on block change functionality into `GameEventHandler`
2023-06-18 21:24:13 -05:00
Leijurv efae476bc0
solved 2023-06-18 18:16:13 -07:00
Leijurv a236031435
fix raytracer 2023-06-18 18:09:45 -07:00
Leijurv 812be14375
debug 2023-06-18 18:06:32 -07:00
Brady 1dbfc9abe3
optimize block lookups and move goingTo to local 2023-06-18 19:57:29 -05:00
rfresh2 8dc32ae03c
firework inv management + pause/resume 2023-06-18 13:34:55 -07:00
Brady 68901695ca
Add experimental takeoff feature 2023-06-18 13:23:41 -05:00
0x22 aec683d80f
fast raytrace 2023-06-18 12:21:01 -04:00
Brady d4e6a84ec9
Remove usage of realms Pair class 2023-06-18 10:57:13 -05:00
Brady d66b8f1dd8
Extract `currentSpeed` into variable 2023-06-18 00:13:55 -05:00
Brady 688bbb83c8
Rename `wasteFireworks` to `conserveFireworks` and invert 2023-06-18 00:11:40 -05:00
Brady da31a643b3
unscuff 2023-06-17 23:56:08 -05:00
Babbaj 76c5c1155f
Fix ElytraCommand throwing exception for invalid goals 2023-06-18 00:51:07 -04:00
Leijurv 94027d17f2
gaming 2023-06-17 20:12:05 -07:00
Leijurv fef7ba4701
tweaks 2023-06-17 20:03:30 -07:00
Brady fcf8cd35d2
Handle exception to ensure `recalculating` is reset 2023-06-17 19:58:19 -05:00
Brady 91609f4ebf
Use player bounding box in isClear 2023-06-17 19:36:29 -05:00
Brady 64a5ceabd8
Fix the regular pathfinder issue 2023-06-17 15:35:26 -05:00
Brady 4c2984a9a0
Consistent `path` prefix for methods 2023-06-17 14:21:32 -05:00
Brady d1a6de06e2
😼 `PathManager` 2023-06-17 14:15:57 -05:00
Brady 0290b344dc
Cancel before shutting down executor 2023-06-17 02:33:43 -05:00