Commit Graph

706 Commits

Author SHA1 Message Date
Brady 1d092a7165
Compute angles on another thread between ticks 2023-06-20 20:09:53 -05:00
Brady 2a82f6048a
Implement POST TickEvent with new `onPostTick` callback 2023-06-20 17:18:30 -05:00
Brady 14ff90ccf1
remaining ticks mojang incident 2023-06-19 23:12:46 -05:00
0x22 cd1c07deef
added elytraFireworkSetbackUseDelay setting. 2023-06-19 22:22:57 -04: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
Brady 90f401a067
Remove legacy raytracing methods 2023-06-19 15:19:32 -05:00
0x22 6741dff12b
replaced (PI / 180) constants, RotationUtils calcVec3dFromRotation->calcLookDirectionFromRotation and named local variables. 2023-06-19 14:17:54 -04:00
Brady 9e10faa4c5
Elytra inventory modifications
- Use `throwaway` to switch items
- Remove inventory settings
- Prioritizes boost fireworks, but works without
- Avoids explosion fireworks
2023-06-19 12:32:25 -05:00
Brady 67efb7a5b6
Add `experimentalRaytrace` setting for native raytrace
Update `nether-pathfinder` to 0.15
2023-06-19 00:34:22 -05:00
Brady 0886f176b3
Make elytra API changes 2023-06-18 21:46:03 -05:00
Brady Hahn d2b1398cea
Merge branch 'elytra' into elytra 2023-06-18 21:39:09 -05:00
Leijurv 6c8f2698d6
cherry pick remainWithExistingLookDirection from fork 2023-06-18 19:31:51 -07:00
Brady 1837b66bb5
Add `BlockChangeEvent`
Moves the cache repack on block change functionality into `GameEventHandler`
2023-06-18 21:24:13 -05:00
leijurv 411c43d90e
Merge pull request #3992 from ZacSharp/pr/blockOptionalMeta/useStackHashesInBlockOptionalMetaLookup
Actually use stack hashes
2023-06-18 17:25:53 -07:00
rfresh2 8dc32ae03c
firework inv management + pause/resume 2023-06-18 13:34:55 -07:00
Brady 68901695ca
Add experimental takeoff feature 2023-06-18 13:23:41 -05:00
ZacSharp 6aeb73b5bd
Fix `CylinderMask` with horizontal alignment 2023-06-18 19:18:46 +02:00
Brady d4e6a84ec9
Remove usage of realms Pair class 2023-06-18 10:57:13 -05:00
Brady 688bbb83c8
Rename `wasteFireworks` to `conserveFireworks` and invert 2023-06-18 00:11:40 -05:00
Brady c5475498ca
so cute 2023-06-17 01:39:21 -05:00
Brady 37167746b5
Merge remote-tracking branch 'origin/master' into elytra 2023-06-16 22:52:24 -05:00
ZacSharp e00e0032b4
Actually use stack hashes 2023-06-17 01:40:19 +02:00
Brady 91bf7d726b
Un-scuff and add setting 2023-06-14 16:32:56 -05:00
Brady bde0c620ad
Allow freeLook when using elytra 2023-06-14 16:11:11 -05:00
Brady 7b6f9b3eb6
Merge remote-tracking branch 'origin/master' into elytra 2023-06-14 15:48:16 -05: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
Leijurv b9054cdfc9
use more fireworks 2023-06-11 22:22:01 -07:00
Leijurv 35a996e2b0
firework more often 2023-06-11 20:59:28 -07: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
Leijurv 705a5a0712
elytra prototype mvp 2023-06-11 00:33:35 -07: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
ZacSharp e4cd35ac33
Add maxYLevelWhileMining setting 2023-04-24 23:11:55 +02:00
Leijurv 790a4f6769
command to load settings from a specific file 2023-03-01 00:25:49 -08:00
Leijurv f1ead19b6e
option to only move inventory when stationary 2023-02-28 23:44:33 -08:00
leijurv c1a9621dfa
Merge pull request #3768 from wagyourtail/1.12/fasterworldscanner
replace the world scanner with a 500x faster one
2023-01-28 10:18:59 -08:00
Leijurv d6d9af65fb
reformat 2023-01-15 01:04:15 -08:00
leijurv bc8c823045
Merge pull request #3775 from ZacSharp/pr/frostwalker
Allow pathing to use frostwalker
2023-01-12 14:51:35 -08:00
leijurv fba3828479
Merge pull request #3735 from ZacSharp/pr/breakNextToLava
Allow breaking next to some liquids
2023-01-12 10:08:09 -08:00
ZacSharp b2f66241d5
Merge remote-tracking branch 'upstream/master' into pr/frostwalker 2022-12-30 15:57:17 +01:00
Wagyourtail 853dadd906
Merge remote-tracking branch 'origin/master' into 1.12/fasterworldscanner 2022-12-27 23:58:13 -07:00
Wagyourtail 98a748afb3
fix stream limit. immutable's in BOML 2022-12-27 22:42:38 -07:00
Wagyourtail 6260c6d3d7
apply suggestions 2022-12-24 12:11:26 -07:00
leijurv cfdbc851a0
Merge pull request #3600 from Imeguras/master
Added the ability to use KmM as abreviatures
2022-12-24 00:14:04 -08:00
leijurv e2538abcb1
Merge pull request #3743 from ZacSharp/patch-11
Fix Registry.unregister
2022-12-24 00:05:42 -08:00
leijurv 1697293f12
Merge pull request #3479 from scorbett123/caching_performance_upgrade
Caching performance upgrade
2022-12-23 23:57:14 -08:00
ZacSharp e1095962a1
Fix Registry.unregister 2022-11-28 23:07:30 +01:00
ZacSharp eabd1150b0
Allow breaking next to some liquids 2022-11-22 15:15:33 +01:00
ZacSharp ba3ca47f8c
Add buildIgnoreProperties setting 2022-10-23 01:42:31 +02:00
scorbett123 4699b46744
Merge branch 'master' into caching_performance_upgrade 2022-10-03 21:25:23 +01:00
rycbar0 025f6235f9 litematica command works and added schematic selection if more than 1 schematic is loaded
bug: if schematic origin isnt minimum corner schematic is built in the wrong place
2022-09-30 17:53:31 +02:00
schmar03 d928e705b9 LitematicaCommand added to build loaded schematics 2022-09-28 12:09:38 +02:00
ZacSharp da998eb469
Complete frostwalker usage 2022-08-29 16:59:01 +02:00
Imeguras 344085f4ef
Added the ability to use KmM as abreviatures
for example 1m is equals to 1 million  while 1K is 1000
2022-08-08 12:00:48 +01:00
Leijurv 85ab317c6c
simplify, remove setting changed event, always construct new precomputeddata 2022-07-14 21:35:30 -07: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
ZacSharp 221eba11dd
Deal with others replacing the chat gui 2022-05-20 01:31:09 +02:00
Leijurv dc6b32a154
Merge pull request #3356 from wagyourtail/forceAllowBreak
add `allowBreakAnyway` setting
2022-03-31 14:08:13 -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
Wagyourtail 511941c714
reimplement death and bed waypoints 2022-03-15 18:39:19 -07: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
Leijurv a5638bdba1
Merge pull request #3137 from scorbett123/remove_container_memory
Remove container memory
2022-02-01 23:56:49 -08:00
Entropy5 3adfa16db8 Option to ignore direction of certain blocks during building (because otherwise baritone just keeps breaking and replacing the same block) 2021-12-17 06:24:34 +01:00
scorbett123 90fcffdf2a Remove container memory
Signed-off-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
2021-12-12 19:50:27 +00:00
Wagyourtail 9dc9edbbee fix tabbing 2021-10-27 13:53:13 -06:00
Wagyourtail 2980bb0320 match leij's backwards compat suggestion 2021-10-27 13:45:30 -06:00
wagyourtail 084798bd1b
Update src/api/java/baritone/api/Settings.java 2021-10-26 13:41:24 -06:00
wagyourtail 1c27b9b712
Update src/api/java/baritone/api/Settings.java 2021-10-26 13:34:10 -06:00
wagyourtail 1ca736692d
more closely match the existing docs and add discourageBreaking 2021-10-15 17:58:13 -06:00
wagyourtail 4dc4795cb7
AvoidBreak means never. 2021-10-15 00:00:48 -06:00
Leijurv 14178fcd14
rewrite comment since we haven't used pos.getY() in literally YEARS 2021-08-25 22:20:13 -07:00