baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Break blocks from near to far, place blocks from far to near. Support…

Open 0xhtml opened this issue 9 months ago • 1 comments

… replaceable blocks. e.g. don't mine single layer snow before placing

0xhtml avatar Apr 13 '25 19:04 0xhtml

This completely breaks breaking replaceable blocks.

https://github.com/user-attachments/assets/de9ecbd2-f5f3-464a-a822-5e4d6fd6ec74

Besides that, it would be nice if you split your changes into multiple commits. Changing the iteration order is mostly white space changes (plus the new fields), but since you combined it with moving lots of checks around it is hard to see what you did.

Also, since you combined int triples into BetterBlockPos wherever you came by one, I'd like to let you know that using ints in places which are executed a lot is done intentionally to avoid allocating and throwing away a thousand BetterBlockPos objects per tick. Obviously, allocating the same position multiple times is right against that goal.

ZacSharp avatar Apr 14 '25 21:04 ZacSharp