Commit Graph

27 Commits

Author SHA1 Message Date
Babbaj 31d1656c48
safer landing 2023-07-29 00:22:52 -04:00
Babbaj 601a781983
improve control flow (fixes behavior.onTick() being called twice) 2023-07-24 08:21:46 -04:00
Babbaj f14bb282f0
add null check to resetState 2023-07-24 04:41:19 -04:00
Babbaj 293b556b56
add dimension checks 2023-07-23 20:46:12 -04:00
Babbaj 75e8035551
safe landing improvements 2023-07-23 14:26:31 -04:00
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 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 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 f4996137a3
minor code improvements 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 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