cabaletta / cabaletta/baritone

Baritone won't stop mining logs if metadata is used (e.g. #mine 4 log:2)

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

Description

Baritone doesn't stop mining logs after he got given amount.
If I tell him mine 64 birch logs he will never stop even when having more than 64 pieces in inventory or mined.
Seems like issue/merge ([#mine log:0 #818](https://github.com/cabaletta/baritone/issues/818)) only partly solved the whole problem.

Logs **working** (baritone stops):
- log:0 (oak)
- log2:0 (acacia)

Logs **not working** (baritone mines to infinity):
- log:1 (spruce)
- log:2 (birch)
- log:3 (jungle)
- log2:1 (dark oak)

## Some information
Operating system: W10 x64
Java version: 1.8.0_251
Minecraft version: 1.12.2
Baritone version: 1.2.14
Forge mods (if used): -

## Logs
```
[18:23:22] [Client thread/INFO]: [CHAT] [Baritone] > mine 1 minecraft:log:2
[18:23:22] [Client thread/INFO]: [CHAT] [Baritone] Mining [BlockOptionalMeta{block=Block{minecraft:log},meta=2}]
[18:23:22] [Client thread/INFO]: [baritone.ke:a:-1]: Currently have 0 valid items
[18:23:22] [Client thread/INFO]: [baritone.ke:a:-1]: Currently have 0 valid items
[18:23:22] [Client thread/INFO]: [baritone.ke:a:-1]: Currently have 0 valid items
[18:23:22] [Client thread/INFO]: [baritone.ke:a:-1]: Currently have 0 valid items
[...]
```

## How to reproduce
Bug/not as intended behavior
- find a birch tree
- do #mine 4 log:2
- will never stop even if you have 4 birch_logs

Expected/intended behavior
- find a oak tree
- do #mine 4 log:0
- stops after getting 4 oak_logs

## Modified settings
allowPlace false
freeLook false
replantCrops false
legitMine true

## Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [x] I have included logs, exceptions and / or steps to reproduce the issue.
- [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.