issue with #litematica
Operating system: Windows 11 Java version: default Minecraft version: 1.21.8 Baritone version: the newest one Other mods (if used): meteor client and some other qol mods
How to reproduce
run #litematica with any build that has a block taller than 1 block(ie, oak fence) sometimes the bot will try to jump and place the block below you and it goes into an infinite loop
And yet another case of "the builder is stupid". I even had a fix for this quite some time back, but it caused other problems so things didn't change.
As for why this happens: During building placement costs and throwaway block selection are overwritten to allow placing blocks from the schematic at no cost, but that overwrite doesn't check whether the block to be placed is canWalkOn, causing stupid behavior such as pillaring up with fences.
Simply adding that check lead to Baritone getting stuck standing inside the position where it wanted to place, so I also had to adjust the goal location to be next to the block to be placed, which in turn made it no longer place the block below first, which is were I gave up.