Commit Graph

2363 Commits

Author SHA1 Message Date
ZacSharp 8e58dd9e64
Merge branch '1.15.2' into 1.16.5 2023-07-04 16:48:41 +02:00
ZacSharp 45abbb7fa1
Merge branch '1.14.4' into 1.15.2 2023-07-04 16:48:36 +02:00
ZacSharp 1d983d5fdc
Merge branch '1.13.2' into 1.14.4 2023-07-04 16:48:31 +02:00
ZacSharp be54b8ee5b
Merge branch 'master' into 1.13.2 2023-07-04 16:47:58 +02:00
Brady 6654476da4
Make `blockFreeLook` depend on `freeLook` 2023-07-02 19:59:26 -05:00
Leijurv 8211ae4af5
memory leaks are joever 2023-06-29 21:59:31 -07:00
Brady 15f4253b3d
Clamp pitch to normal range 2023-06-24 21:48:44 -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
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 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
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 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
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
ZacSharp f55f7f19b4
Tab complete the datatype which will be parsed 2023-06-19 23:50:42 +02:00
leijurv bac5fd7438
Merge pull request #3999 from ZacSharp/pr/setting/tabCompleteSetingsLoadPath
Tab complete the file argument for `#settings load`
2023-06-18 17:25:27 -07:00
ZacSharp 5fd915ab8a
Tab complete the file argument for `#settings load` 2023-06-18 22:27:57 +02:00
leijurv a665605a5a
Merge pull request #3991 from ZacSharp/pr/guiclick/fixSelectionPreview
Fix `GuiClick` not rendering the outline of the selection being made
2023-06-16 20:29:25 -07:00
ZacSharp f1bf1e8663
Use IRenderer setup methods 2023-06-17 00:36:35 +02:00
ZacSharp ef4cdfd646
Fix render bug caused by color bug fix 2023-06-16 19:22:37 +02:00
leijurv c86643874d
Merge pull request #3936 from ZacSharp/pr/builder/fixPlaceableComparison
Fix considering states unplaceable regardless of buildIgnoreProperties
2023-06-15 19:36:25 -07:00
Brady 26a2945696
remove comment 2023-06-14 19:13:07 -05:00
Brady ea9245ad26
missed that 😩 2023-06-14 14:23:24 -05:00
Brady 8534e1ba55
💚 appease codacy 2023-06-14 14:04:34 -05:00
Brady ae66004b80
Custom registration of `Baritone` instances from `Minecraft` 2023-06-14 13:52:27 -05:00
Brady 5b39c0dd96
Remove `getMinecraft()` from `BlockStateInterface` 2023-06-14 12:18:50 -05:00
Brady 2db2d8be59
Steal `BaritoneList` from `bot-system` 2023-06-14 02:00:10 -05:00
Brady 75d47bb110
Fix all usages of `Helper.mc` 2023-06-14 01:53:29 -05:00
Brady dd7b492b0c
registerBehavior is called explicitly now 2023-06-13 23:21:20 -05:00
Brady c7f4e366e2
Remove `mc` references from `WorldProvider`
Also refactored a bit, should be a lot easier to merge upwards to new game versions
2023-06-13 23:07:26 -05:00
Brady 382f82b0e0
Move `Minecraft` to `IPlayerContext` 2023-06-13 21:17:42 -05:00
Brady ab3d9e9c47
I LOVE `final` 2023-06-13 21:13:34 -05:00
Brady 714ebb2c2d
Deprecate `Helper.mc` and begin to replace usages 2023-06-13 18:24:31 -05:00
leijurv 1b254a4811
Merge pull request #3979 from cabaletta/pr/feature/blockFreeLook
Allow free looking when breaking and placing blocks
2023-06-13 10:32:18 -07:00
Brady 76fe0d14d3
Simplify some player context references 2023-06-12 21:13:10 -05:00
Brady 2022d33d03
Fix incorrect references to player and world 2023-06-12 21:12:49 -05:00
Brady c8b8deb3d6
Ensure angle delta is producible with mouse movement 2023-06-12 21:04:30 -05:00
Brady 4885d49d20
Reorganize code 2023-06-12 20:00:03 -05:00
Brady 13fc58933d
Don't bother returning `serverRotations` if no free look 2023-06-12 19:03:03 -05:00
Brady c217a34f13
🐛 fix batch render color bug by backporting 1.17+ render code 2023-06-12 17:06:11 -05:00
Brady 5bdd5b0c0d
👌 appease leijurv 2023-06-12 16:50:02 -05:00
Brady 7da802a238
Fix `censorCoordinates` recalc bug
Adds `equals` and `toString` implementations where needed
Replaces `toString` equality check with actual `equals` check in `forceRevalidate`
2023-06-12 16:21:05 -05:00
leijurv e334aae608
Merge pull request #3974 from cabaletta/pr/sel-shape-masks
Add sphere and cylinder build commands to sel
2023-06-12 12:57:01 -07:00