Commit Graph

2752 Commits

Author SHA1 Message Date
Leijurv f7f0521093
not legacy 2023-07-22 23:29:07 -07:00
leijurv 886091df50
Merge branch 'elytra' into elytra 2023-07-22 23:08:45 -07:00
Leijurv 9707dd7ce8
redo checkedpositions given y descending iteration order 2023-07-22 23:02:29 -07:00
Babbaj b81d712a33
higher priority is good enough lol 2023-07-23 01:57:27 -04:00
Babbaj eec85b20be
fix bias in comparator 2023-07-23 01:45:39 -04:00
Babbaj c0ead0147a
use priority queue to bias upwards 2023-07-23 01:38:07 -04:00
Babbaj 9bfa2025d5
memoize isSafeLandingSPot 2023-07-23 01:14:19 -04:00
Babbaj bf63ffbc1d
cringe fence hater 😭 2023-07-23 01:01:59 -04:00
Babbaj 985148b49a
check for specific blocks to land on and anything non air is lava 2023-07-23 01:00:23 -04:00
Babbaj 9e78443595
resolve comment 2023-07-23 00:53:26 -04:00
Babbaj 58723a33ca
hate cherry pick now 2023-07-23 00:05:11 -04:00
Babbaj c9aa1658b2
improvements/fixes 2023-07-23 00:03:31 -04:00
Babbaj 7f9e50bbe2
initial safe landing impl 2023-07-23 00:02:46 -04:00
Babbaj 664375a678
make elytra play nice with CustomGoalProcess 2023-07-22 01:55:12 -04:00
Brady 097e30850f
Move `WalkOffCalculationContext` into `ElytraProcess` 2023-07-18 23:35:09 -05:00
Brady 218de1cb98
Requested changes 2023-07-18 16:48:00 -05:00
Babbaj 0239a2cad4
notificationOnPathComplete and disconnectOnArrival 2023-07-18 15:36:29 -04:00
Babbaj 38553b3324
behavior can't be null in onTick 2023-07-18 14:52:09 -04:00
Babbaj ba78c48a75
shutdown solverExecutor 2023-07-18 13:36:55 -04:00
Babbaj f4996137a3
minor code improvements 2023-07-18 13:36:55 -04:00
Babbaj ccd80dfc8f
that isn't necessary 2023-07-18 13:36:55 -04:00
Babbaj ff1b3e7c5f
simplify management of elytra state 2023-07-18 13:36:55 -04:00
Babbaj 2f0497756b
simplify icky code 2023-07-18 13:36:54 -04:00
Babbaj afe9359d3e
don't call onTick if we are pawsed 2023-07-18 13:36:54 -04:00
Babbaj 4b5d629df6
fix off by one error (causing the last point to be stuck in terrain) 2023-07-18 13:36:54 -04:00
Babbaj dbc0a46b10
call elytra event handlers from ElytraProcess 2023-07-18 13:36:54 -04:00
Babbaj 9a6241af8a
refactor elytra into being just a process 2023-07-18 13:36:53 -04:00
Brady 1b82bd1f33
pitch smooth look and setting for ticks 2023-07-17 17:58:08 -05:00
Brady Hahn 90cfd82810
Merge pull request #4056 from babbaj/elytra
consistent elytra setting naming
2023-07-16 20:30:35 -05:00
Brady 108dbdae5d
partially appease codacy 2023-07-16 20:29:30 -05:00
Brady 32a4c4644e
Move cull code 2023-07-16 20:21:40 -05:00
Leijurv edc92753cf
Revert "shrimple"
This reverts commit 0e567f2f90.
2023-07-16 18:17:53 -07:00
Leijurv 0e567f2f90
shrimple 2023-07-16 18:17:15 -07:00
Babbaj 41e8c69db9
consistent elytra setting naming 2023-07-16 18:58:42 -04:00
Babbaj f3bb5a0cb2
make sure BlockStateOctreeInterface doesn't use freed chunk pointers 2023-07-16 13:53:02 -04:00
Babbaj 76d3a13f58
cull far away chunks from the cache 2023-07-16 01:19:51 -04:00
Brady Hahn e579bf980d
Update NetherPath.java 2023-07-15 22:23:59 -05:00
Brady Hahn 716b3ae0d2
Update ElytraBehavior.java
i love github web editor
2023-07-15 22:23:35 -05:00
Babbaj b468b8eb95
landing procedure 2023-07-15 22:17:21 -04:00
Brady 1d109d4b9f
crucial performance optimization 2023-07-13 14:47:19 -05:00
Brady 29bf046aa8
BlockStateOctreeInterface 2023-07-13 14:28:51 -05:00
Babbaj d35571923f
appease brady 2023-07-13 14:35:33 -04:00
Babbaj 461f56c4d6
countdown instead of count up 2023-07-13 14:21:15 -04:00
Babbaj 0b5d5b8176
use ticksBetweenInventoryMoves 2023-07-12 22:54:04 -04:00
Babbaj 42771686c6
auto swap elytra 2023-07-12 16:42:14 -04:00
Brady 8f5105c454
trolled pt2 2023-07-11 22:50:35 -05:00
Brady 7c696b7055
trolled 2023-07-11 22:49:51 -05:00
Brady 349c951b55
Better handling of unsupported systems 2023-07-11 22:47:09 -05:00
Leijurv 5dc403e643
crucial performance optimization 2023-07-10 00:12:10 -07:00
Brady Hahn a8e1b16dee
Merge pull request #4048 from babbaj/elytra
don't send the whole chunk for small changes
2023-07-09 22:31:42 -07:00
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