cabaletta / cabaletta/baritone

Custom blocksToAvoid penalty

Open
#4,812 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
9.2k
Forks
2.1k
Avg merge
4d 3h
Merged PRs (30d)
3

Description

## Custom blocksToAvoid penalty
Being able to customise a blocks penalty value as an extension to blocksToAvoid

## Settings
- You can add a block penalty by specifying blocksToAvoid [block] [number]
- Default / max would be COST_INF by not specifying a number
- Min value would be 1.000 which would remove the block from the blocksToAvoid list

## Context
Pathing through water would have a higher cost because it is slower (as baritone hovers rather than swims through water) than walking on land.

Having a customisable penalty means it could walk on that block to reach its goal as a last resort instead of failing on the spot. (example being simply adding it to blocksToAvoid would not find a path if that was the only option)

Another one could be setting it to preferring soul sand if wearing soul speed boots

## Final checklist
- [x] I know how to properly use check boxes
- [x] I have not used any OwO's or UwU's in this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.