Murat65536
053b88d7cd
Make cost calculation use settings in CalculationContext.
2025-05-14 15:13:12 -04:00
Murat Bayraktar
8d790ebe74
Merge branch 'cabaletta:1.19.4' into magma-block-detection
2025-05-14 19:07:56 +00:00
ZacSharp
31b30e3a31
Migrate allowJumpAt256 to allowJumpAtBuildLimit in settings files
2025-05-10 20:24:26 +02:00
Murat Bayraktar
21954f74a9
Merge branch 'cabaletta:1.19.4' into magma-block-detection
2025-05-10 15:24:44 +00:00
ZacSharp
f86f0ab6cd
Fix height vs. max build height mixup
2025-05-10 15:51:20 +02:00
Murat65536
6dd5d843d5
Make magma blocks disallowed if setting is turned off.
2025-05-10 08:53:26 -04:00
Murat Bayraktar
40e83423bc
Update build limits ( #4736 )
...
* Update minimum build limit
* Update MovementDescend.java to work for any minimum height
* Update RenderCommand.java for dynamic build heights.
* Fix so it actually compiles.
* Small syntax change.
* Simpler formatting
* Fix more height issues.
* Remove allowJumpAt256 as redundant.
* Remove allowJumpAt256 as redundant.
* Update CalculationContext.java
* Update Settings.java
* Update Settings.java
* Deprecate allowJumpAt256.
* Re-introduce build limit jump setting.
* Update MovementParkour.java
* Update CalculationContext.java
* Update Settings.java
* Update CalculationContext.java
* Update src/api/java/baritone/api/Settings.java
Co-authored-by: ZacSharp <68165024+ZacSharp@users.noreply.github.com >
---------
Co-authored-by: Murat65536 <bob65536@proton.me >
Co-authored-by: ZacSharp <68165024+ZacSharp@users.noreply.github.com >
2025-05-09 22:36:17 -07:00
Murat65536
f4b51586e8
Add setting that controls sneaking on magma blocks.
2025-05-09 22:02:22 -04:00
Murat65536
267d677d79
Make MovementDiagonal not account sprint cost reduction on sneak.
2025-05-09 21:09:56 -04:00
Murat65536
0815697d30
Make MovementPillar literally always sneak because why not.
2025-05-09 20:41:19 -04:00
Murat65536
f504d26dfd
Add magma block functionality to MovementParkour.
2025-05-09 20:15:36 -04:00
Murat65536
373757a63a
Implement MovementFall magma block detection.
2025-05-09 18:53:03 -04:00
Murat65536
7317a5c9c4
Fix ascend.
2025-05-08 20:33:27 -04:00
Murat65536
8eebeb9772
Magma block detection for MovementDiagonal.
2025-05-08 18:51:37 -04:00
Murat65536
292f13d05e
Small change.
2025-05-08 18:24:54 -04:00
Murat65536
974a3416d8
Integrate some magma block avoidance functionality.
2025-05-08 18:10:34 -04:00
ZacSharp
7aab08ae0f
Don't let servers trick users into running arbitrary Baritone commands
...
As of now there shouldn't be any exploitable commands, but better be safe
2025-04-22 00:50:02 +02:00
leijurv
2fc8490c72
Merge pull request #4712 from ZacSharp/pr/1.19.4/misc/moreExceptionMessages
...
Add messages to more exceptions and improve some existing ones
2025-04-19 00:08:40 -07:00
leijurv
ddc2820418
Merge pull request #4713 from ZacSharp/pr/1.19.4/misc/useMinecraftEyeHeight
...
Use minecraft method to determine sneaking eye height
2025-04-18 15:30:30 -07:00
ZacSharp
9e1e89b91f
Fix ancient comment
2025-04-18 23:34:16 +02:00
ZacSharp
7c4036dfb1
Don't leak coordinates in exceptions
2025-04-18 23:28:39 +02:00
ZacSharp
bbaa602fe9
Use minecraft method to determine sneaking eye height
...
Co-authored-by: Matthew Herber <matthewherber@sbcglobal.net >
2025-04-18 22:49:03 +02:00
ZacSharp
921822acd7
Add messages to more exceptions and improve some existing ones
2025-04-18 00:58:16 +02:00
leijurv
f019b81bd9
Merge pull request #2527 from ZacSharp/itemFollowing
...
Item following
2025-03-29 20:42:14 -07:00
Ic3Tank
fd13d5cbdc
Expose current layer in IBuilderProcess
2025-03-16 11:14:51 +01:00
ZacSharp
209b51b253
Fix parsing invalid ResourceLocations once again
...
This is to fix `ItemById` by making `filterPrefixNamespaced` not fail on invalid prefixes
2025-03-15 20:16:06 +01:00
ZacSharp
3fa0f34c1e
Remove unused import
2025-03-15 20:14:50 +01:00
ZacSharp
bf0c47c85c
✨ Command to pickup items
2025-03-15 20:14:38 +01:00
leijurv
9de3074041
Merge pull request #4662 from ZacSharp/pr/1.19.4/mine/fixCanWalkThroughButAvoidBreaking
...
Fix `MineProcess` stalling on blocks which are `canWalkThrough` but shouldn't be broken
2025-03-14 11:49:00 -07:00
leijurv
37a95aea97
Merge pull request #4661 from ZacSharp/pr/1.19.4/schematics/betterErrorMessage
...
Improve error messages from `#build`
2025-03-14 11:48:27 -07:00
leijurv
3116405953
Merge pull request #4660 from ZacSharp/pr/1.19.4/elytra/keepNetherPathfinderClasses
...
Fix nether-pathfinder with optimized forge/neoforge builds
2025-03-14 11:48:10 -07:00
ZacSharp
b8ac867fb9
Break from eye level outwards
...
We might be standing inside passable blocks (e.g. sugar cane) so the
block at foot level is occluded by the one at eye level.
This does still break if we are standing inside a non-target with a
target above or below.
2025-03-13 19:32:35 +01:00
ZacSharp
3f6c87a8ed
Better error message for unsupported formats
2025-03-08 23:35:23 +01:00
ZacSharp
bf08c4fcf4
Improve error messages from #build
2025-02-27 18:36:35 +01:00
ZacSharp
f357eb230b
Remove spam
2025-02-27 15:55:09 +01:00
ZacSharp
f3086c2231
Filter blocks where avoidBreaking returns false
...
shaft-mining checks `avoidBreaking` so not checking it here can cause
Baritone to walk to a position and then do nothing.
2025-02-27 15:36:59 +01:00
ZacSharp
002415425a
Slightly rephrase compatibility message
...
We cannot distinguish between unsupported systems and failures on supported systems
so strongly implying the former is potentially misleading.
2025-02-26 17:05:40 +01:00
rfresh2
590f5d98ee
fix forge mixin crash
...
cherry-picked from 7902517663
2025-02-26 16:12:21 +01:00
leijurv
849072f8ca
Merge pull request #4636 from Lyzev/1.19.4
...
add(Settings): added settings to control block placement in fluid sources and flowing fluids
2025-02-08 10:57:21 -08:00
Lyzev
59157c1ee0
fix(CostOfPlacingAt): improve fluid placement checks in CalculationContext
2025-02-08 12:15:55 +01:00
Lyzev
cdfa86c977
add(Settings): added settings to control block placement in fluid sources and flowing fluids
2025-02-06 18:48:51 +01:00
cattyn
64fdad424f
added maximum distance setting for FollowProcess
2024-12-28 14:29:05 +03:00
rfresh2
1a258b2bec
fix litematica remapping error
2024-11-18 11:20:52 -08:00
leijurv
93dee4fd19
Merge pull request #4532 from babbaj/fix-loops
...
fix loops in path
2024-10-21 14:03:42 -07:00
Babbaj
f6657846d3
fix loops in path ( fixes #4528 )
2024-10-21 02:09:31 -04:00
leijurv
db163867df
Merge pull request #4531 from ZacSharp/pr/1.19.4/pathing/canWalkOnSoulSand
...
Allow walking on soul sand once again
2024-10-20 20:02:43 -07:00
leijurv
58fcf328b9
Merge pull request #4530 from ZacSharp/pr/1.19.4/builder/fixPositionOutOfBounds
...
Handle positions going out of bounds between ticks
2024-10-20 20:01:25 -07:00
ZacSharp
991d822557
Make soul sand canWalkOn again
2024-10-20 21:23:38 +02:00
ZacSharp
c25b1325da
Handle positions going out of bounds between ticks
...
They also have to be removed rather than ignored because they won't be scanned
again and would stay in `incorrectPositions` indefinitely.
2024-10-20 18:34:17 +02:00
ZacSharp
ea1de44ca8
Don't call shape.bounds() on empty shapes
...
`minecraft:moving_piston` is the only block I currently know which could cause this to crash.
2024-10-20 18:13:15 +02:00