Commit Graph

2299 Commits

Author SHA1 Message Date
Brady 2e8327cd8a
Wrong command... 2023-08-11 21:54:56 -05:00
Brady ac72ad717b
`bot execute` and `bot say` 2023-06-28 00:09:53 -05:00
Brady a3df7ebd4c
Always render nametag 2023-06-27 23:47:24 -05:00
Brady d24cd263bf
Fix rendering bot player in gui 2023-06-27 23:37:47 -05:00
Brady 5878c255e2
Manage bot inventories with gui 2023-06-27 23:29:15 -05:00
Brady ab54114bee
I think it works again 2023-06-26 21:04:19 -05:00
Brady 4899b4a3d0
De-bloat 2023-06-26 20:30:37 -05:00
Brady 2670f4a1f9
Merge branch 'master' into bot-system 2023-06-26 20:04:42 -05: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 5edada6111
Reorganize code 2023-06-13 11:45:58 -05:00
Brady efa4dc1d04
Use inner class implementation for `getAllBaritones`
`this.new` 😻
2023-06-13 11:36:24 -05:00
Brady b25d1a44a2
Fix NPE on bot respawn 2023-06-13 11:34:23 -05:00
Brady c8de6c027a
Rename `spec` package to `impl` 2023-06-13 10:59:08 -05:00
Brady 08c8a772a8
Merge branch 'master' into bot-system
# Conflicts:
#	src/api/java/baritone/api/Settings.java
#	src/launch/java/baritone/launch/mixins/MixinNetHandlerPlayClient.java
#	src/main/java/baritone/Baritone.java
#	src/main/java/baritone/BaritoneProvider.java
2023-06-13 00:52:06 -05: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