Commit Graph

3026 Commits

Author SHA1 Message Date
Leijurv 93fa6cf875
introduce MAYBE and fix more allocation cases 2022-07-14 21:42:38 -07:00
Leijurv 5b7bee977b
also don't construct an optional for slabs 2022-07-14 21:38:38 -07:00
Leijurv 8018dac396
fix default case that instantiated an optional for non stairs 2022-07-14 21:38:02 -07:00
Leijurv 85ab317c6c
simplify, remove setting changed event, always construct new precomputeddata 2022-07-14 21:35:30 -07:00
scorbett123 6b0fb1721b These should be all the suggested changes for the caching of can walk through block states 2022-07-14 17:18:02 +01:00
scorbett123 fdcdcbb85f Switch to using an int[] for storing precomputed data, and also use lazy loading 2022-07-14 12:49:47 +01:00
Leijurv 4e2095d251
almost forgot 2022-07-09 22:15:20 -07:00
Leijurv 51275b3a65
make #paws be an alias for #pause 2022-07-09 22:06:39 -07:00
scorbett123 8d480cefb9 Switch to throwable and readd check for glass / stained glass 2022-07-06 14:45:54 +01:00
scorbett123 3e7f9039c4 Don't construct new optionals in movement helper 2022-07-06 14:38:33 +01:00
Leijurv 49828baae3
Merge pull request #3296 from ZacSharp/findImprovements
Find improvements
2022-07-05 15:32:02 -07:00
Leijurv a73e1185dc
Merge pull request #3533 from Echocage/SprintFix
Fix for a sprint bug that can cause death
2022-07-05 15:27:10 -07:00
Echocage 441dceb731 Narrowed scope and we now only call canSprintFromDescendInto when our next & next_next movements are both MovementDescends 2022-06-29 17:54:28 -05:00
Echocage 57c4f9e103 Undid previous change, updated to instead check the next and the next_next block 2022-06-27 18:38:54 -05:00
Echocage 2741fc2683 Swapped the order of checks within canSprintFromDescendInto 2022-06-27 15:06:27 -05:00
scorbett123 868c023dbd Fix a couple of things I missed 2022-06-08 14:20:25 +01:00
scorbett123 e7c357ab7f Make precomputed data refresh every 200 ticks (10 seconds) 2022-06-08 14:14:14 +01:00
scorbett123 9e1a5008ed Move caching functions into MovementHelper 2022-06-07 21:52:24 +01:00
scorbett123 a6557121a0 fix github actions compiling. 2022-05-31 15:08:52 +01:00
scorbett123 2dad6262cf Remove some benchmarking and fix loading of settings. 2022-05-31 14:56:23 +01:00
scorbett123 af1eb58bb8 Implement Leijurv's precomputed data idea 2022-05-31 14:43:58 +01:00
Leijurv 17a2aa42e9
Merge pull request #3463 from ZacSharp/patch-8
Deal with others replacing the chat gui
2022-05-23 13:47:22 -07:00
Leijurv 231f671400
Merge pull request #3433 from ZacSharp/patch-7
Fix "missing null"
2022-05-23 13:46:27 -07:00
ZacSharp 221eba11dd
Deal with others replacing the chat gui 2022-05-20 01:31:09 +02:00
ZacSharp ad40a9225e
Fix leaking incorrect positions
It was only cleared when the previous one was canceled, not when it was directly replaced by the next one.
2022-05-03 23:25:01 +02:00
Leijurv cbef05838d
Merge pull request #3388 from scorbett123/make_eta_show_ticks
Improve output to user in eta command
2022-04-19 16:33:37 -07:00
scorbett123 2cf973809a eta command should default to NaN not just not showing the eta as suggested by ZacSharp 2022-04-12 12:15:42 +01:00
scorbett123 65974e15ba Improve output to user in eta command 2022-04-11 18:36:48 +01:00
Leijurv dc6b32a154
Merge pull request #3356 from wagyourtail/forceAllowBreak
add `allowBreakAnyway` setting
2022-03-31 14:08:13 -07:00
Leijurv 76f593e4bb
Merge pull request #3342 from PhlegethonAcheron/master
Added usage syntax to the documentation for buildValidSubstitutes and buildSubstitutes
2022-03-31 14:07:42 -07:00
Leijurv 15b991a48e
Merge pull request #3309 from wagyourtail/patch-2
fix inner class attribute being stripped
2022-03-31 14:01:45 -07:00
Leijurv 702d0790bc
Merge pull request #3327 from scorbett123/fix-chunk-saving-crash
If context.player() returns none we don't want to use its position for pruning.
2022-03-31 13:58:11 -07:00
Wagyourtail 2953e2c522
make codacy happy 2022-03-24 18:16:19 -07:00
Wagyourtail bf450b7d68
rename to allowBreakAnyway 2022-03-24 17:34:31 -07:00
Wagyourtail 4e6b6d97ce
add forceAllowBreak setting 2022-03-24 17:33:33 -07:00
PhlegethonAcheron 6aadd00e72 Added usage syntax to the documentation for buildValidSubstitutes and buildSubstitutes 2022-03-20 15:41:25 -04:00
scorbett123 e036f5360c If context.player() returns none we don't want to use its position for pruning. 2022-03-16 20:12:56 +00:00
Leijurv 8c2aae2ddc
Merge pull request #3324 from wagyourtail/master
reimplement death and bed waypoints
2022-03-15 19:06:50 -07:00
Wagyourtail 511941c714
reimplement death and bed waypoints 2022-03-15 18:39:19 -07:00
wagyourtail e58220e2c4
fix inner class attribute being stripped 2022-03-08 19:45:05 -07:00
Leijurv 02711a73ed
fix codacy 2022-03-08 15:14:00 -08:00
Leijurv 25d418e96b
1.15 is deprecated 2022-03-08 15:04:34 -08:00
Leijurv 10430f8142
bump to 1.18.2 2022-03-08 15:01:48 -08:00
Leijurv 8aba97b577
update for 1.8.3 2022-03-08 15:00:14 -08:00
Leijurv 8fe5b2369a
Merge pull request #3301 from wagyourtail/toolmaterial-fix
fix modded toolmaterials (1.12.2)
2022-03-08 14:45:45 -08:00
Wagyourtail dc6c87b58d
fix modded toolmaterials 2022-03-07 15:53:13 -07:00
ZacSharp ef4e19002b
Provide more information for #find
Always log something to chat so people don't think it's broken and make sure they know about the restriction to cached blocks.
2022-03-05 22:27:27 +01:00
ZacSharp e6ee5fc6b8
Make positions from #find clickable 2022-03-05 21:42:27 +01:00
Leijurv b19c935da1
Merge pull request #3256 from ehylo/master
Update Setup and Usage guides
2022-02-09 16:35:54 -08:00
ehylo 0ade37f14f
Update Setup and Usage guides
Also fix 2 settings that just don't have a description for some reason, and add some information to the find command because that also for some reason did not have anything there. The descriptions I put may not be detailed enough so please let me know if things should change
2022-02-08 21:13:51 -08:00