Babbaj
|
dc53a95bef
|
don't send the whole chunk for small changes
|
2023-07-10 00:45:12 -04:00 |
Brady
|
eec4edea05
|
Remove old pack method
|
2023-07-09 20:00:35 -07:00 |
Babbaj
|
96a64b454e
|
optimize uploading chunk data
|
2023-07-09 22:29:31 -04:00 |
Brady
|
7a935fb2ea
|
Fix simulation not respecting `ignoreLava`
|
2023-07-09 09:12:21 -07:00 |
Brady
|
c0cdfb7781
|
Add commands for pathfinder reset and chunk repack
|
2023-07-07 19:44:59 -07:00 |
Brady
|
487b3a759a
|
`mostRecentGoal`, fixes immediate goal clear
|
2023-07-07 18:35:02 -07:00 |
Brady
|
fe67489419
|
Combine `VALIDATE_PATH` and `LOCATE_JUMP` states
|
2023-07-07 14:38:11 -07:00 |
Brady
|
308b9bbfea
|
Apply minimum fall height to regular falls too
|
2023-07-07 13:26:43 -07:00 |
Brady
|
bfb4ffcafc
|
Reset context on world load/unload
|
2023-07-07 11:19:18 -07:00 |
Brady
|
537100a5e5
|
Nether seed setting and automatic context reset
|
2023-07-07 10:44:56 -07:00 |
Brady
|
b6bf4427ef
|
Use soft references for nether chunk packing queue
|
2023-07-07 00:30:07 -07:00 |
Brady
|
8de239f468
|
Use soft references for chunks queued for packing
|
2023-07-06 23:15:35 -07:00 |
Brady
|
ecfd664f30
|
Fix `isSafeToCancel()` return value
|
2023-07-06 20:11:50 -07:00 |
Brady
|
c4ac23837f
|
Set `safeToCancel` to `false` while flying
|
2023-07-06 19:31:37 -07:00 |
Brady
|
aeeb001205
|
Fix some codacy issues
|
2023-07-06 19:02:13 -07:00 |
Brady
|
2552eb8dca
|
Add setting documentation
|
2023-07-06 18:57:51 -07:00 |
Brady
|
4c0c263d11
|
trolling
|
2023-07-03 13:28:53 -05:00 |
Brady
|
c8259d3e90
|
ZOOM
|
2023-07-03 13:27:23 -05:00 |
Brady
|
d892ef54f0
|
Merge branch 'master' into elytra
|
2023-07-02 20:04:04 -05:00 |
Brady
|
6654476da4
|
Make `blockFreeLook` depend on `freeLook`
|
2023-07-02 19:59:26 -05:00 |
Brady
|
dee7df1534
|
I HATE OLD MIXIN!!!!
awesome buggy 0.7.11 hates referencing shadows in mixin superclasses wooooooo
|
2023-07-01 19:38:38 -05:00 |
Brady
|
ccd737d0a1
|
Actually fix Forge by reverting Mixin change completely
|
2023-07-01 18:38:13 -05:00 |
Brady
|
14b5a0cec3
|
Fix Forge support
|
2023-07-01 17:28:23 -05:00 |
Brady
|
2f7dc2397e
|
Better start position selection and validation
|
2023-07-01 01:32:03 -05:00 |
Brady
|
3498082f2b
|
Better state switch and start path halfway down fall
|
2023-06-30 20:53:42 -05:00 |
Brady
|
83066fc57c
|
Find jump off spot using INSANE custom CalculationContext
|
2023-06-30 20:42:03 -05:00 |
Brady
|
d32f1b2a16
|
Add hit pos raytrace method to context
|
2023-06-30 20:38:45 -05:00 |
Leijurv
|
8211ae4af5
|
memory leaks are joever
|
2023-06-29 21:59:31 -07:00 |
Brady
|
4590ba3ff8
|
Use separate executor for solver
|
2023-06-29 23:35:12 -05:00 |
Brady
|
b4578931d3
|
Reduce passing around of `ignoreLava`
|
2023-06-29 22:59:15 -05:00 |
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
|
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 |
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 |
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 |
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 |
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 |
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
|
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 |
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
|
d2b1398cea
|
Merge branch 'elytra' into elytra
|
2023-06-18 21:39:09 -05:00 |
Leijurv
|
6c8f2698d6
|
cherry pick remainWithExistingLookDirection from fork
|
2023-06-18 19:31:51 -07: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 |