Commit Graph

776 Commits

Author SHA1 Message Date
ZacSharp 448e454cc8
Merge branch '1.17.1' into 1.18.2 2023-07-12 18:56:17 +02:00
ZacSharp cbf0d79c9c
Merge branch '1.16.5' into 1.17.1 2023-07-06 13:30:25 +02:00
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
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 bfae100cb9
Create `ITickableAimProcessor` 2023-06-22 20:35:22 -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 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 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 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 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
Leijurv 6c8f2698d6
cherry pick remainWithExistingLookDirection from fork 2023-06-18 19:31:51 -07:00
leijurv 411c43d90e
Merge pull request #3992 from ZacSharp/pr/blockOptionalMeta/useStackHashesInBlockOptionalMetaLookup
Actually use stack hashes
2023-06-18 17:25:53 -07:00
ZacSharp 6aeb73b5bd
Fix `CylinderMask` with horizontal alignment 2023-06-18 19:18:46 +02:00
ZacSharp e00e0032b4
Actually use stack hashes 2023-06-17 01:40:19 +02:00
Brady ea9245ad26
missed that 😩 2023-06-14 14:23:24 -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 75d47bb110
Fix all usages of `Helper.mc` 2023-06-14 01:53:29 -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 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 8a65a1cfc5
🐛 fix incorrect comparison operator 2023-06-12 16:52:20 -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
Brady bb36ebfc0c
Use `IPlayerContext` for all `RotationUtils` methods
Deprecates all old overloads
2023-06-11 20:09:37 -05:00
Brady 4317dca024
Determine target mode (client/server) in `updateTarget` 2023-06-11 18:35:34 -05:00
Brady 77ca36c794
Use `playerRotations` in `reachableOffset` 2023-06-11 15:49:04 -05:00
Brady fbe28e397e
Make setting disabled by default 2023-06-11 12:38:13 -05:00
Brady 364ae87ef8
Add `blockFreeLook` setting 2023-06-11 12:36:53 -05:00
Brady ffd00080f2
Mask binary operators 2023-06-11 11:27:51 -05:00
Brady 9729e63d98
Create and utilize new `Mask` type
Added factory method to `MaskSchematic` for creation using a `Mask`
Sort-of mocks the schematic structure, without the block states ofc
2023-06-09 17:25:29 -05:00
Brady f232bbdb15
Clean up formatting 2023-06-08 16:36:32 -05:00
Brady 26574b4a9b
Add optional axis parameter for `#sel cyl` 2023-06-08 16:32:33 -05:00
Brady b6c52cd8e1
Cache mask in a `boolean[][][]` 2023-06-08 11:52:13 -05:00
Brady 34abbfb5da
appease codacy 2023-06-07 17:38:26 -05:00
Brady 0d14bde583
Working sphere/cylinder build commands for `#sel` 2023-06-07 16:31:52 -05:00
Brady 80ec9023ce
Replace `JAVA_ONLY_SETTINGS` array with `@JavaOnly` annotation 2023-06-04 12:31:34 -05:00
leijurv 415fa048ba
Merge pull request #3924 from ZacSharp/pr/blockOptionalMetaProperties
Extend BlockOptionalMeta parsing to parse block properties
2023-05-23 15:57:10 -07:00
ZacSharp 271c2ff636
Extend BlockOptionalMeta parsing to parse block properties 2023-04-24 23:49:23 +02:00