Commit Graph

3416 Commits

Author SHA1 Message Date
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
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
ZacSharp 41d730fb04
Forgot to include target pos 2023-06-20 03:20:44 +02:00
ZacSharp 30278a1c52
Implement `hashCode` for goals 2023-06-20 02:44:29 +02:00
ZacSharp d87d1ab9b5
Don't call `partOfMask` out of bounds 2023-06-20 02:00:08 +02:00
ZacSharp 31c9072970
Forgot to git add 2023-06-20 01:36:09 +02:00
ZacSharp f7a20a3acf
Don't swallow random exceptions, don't bother with CommandExceptions 2023-06-20 01:32:18 +02: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
ZacSharp b111fd2f3e
Don't construct malformed `ResourceLocation`s
Later mc versions throw an exception when you construct a malformed `ResourceLocation`.
2023-06-20 00:02:56 +02:00
ZacSharp 84777c2437
Don't complete more than what's supported 2023-06-20 00:01:33 +02:00
ZacSharp 13742df877
Complete the last argument, not the first one 2023-06-20 00:00:52 +02:00
Babbaj e57a84ded4
use legacy raytrace with ignore liquid to get out of lava 2023-06-19 17:58:06 -04:00
ZacSharp f55f7f19b4
Tab complete the datatype which will be parsed 2023-06-19 23:50:42 +02:00
ZacSharp e43200865c
Move this to the right place 2023-06-19 23:48:07 +02:00
ZacSharp 1de2d55965
Tab complete block properties 2023-06-19 23:05:46 +02: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