cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
6.93k stars 1.41k forks source link

[Bug] Schematic builder tries to path to an unexisting block after finishing a layer #1349

Open hykilpikonna opened 4 years ago

hykilpikonna commented 4 years ago

#build always tries to go to a block location that doesn't exist in the schematic every time it finishes building a layer after about layer 120.

Basically, it tries to do this:

image

There is definitely nothing wrong with the schematic file because it was trying to do this on several layers already. On the previous occurrences, it did fine when I did #stop and then redo #build for every layer, but doing that for every layer is just too inconvenient.

Also, it worked properly when I separated the schematic into two separate ones by y level and build the upper half.

Some information

Operating system: Windows Java version: 1.8 Minecraft version: 1.14.4 Baritone version: 1.4.4

Exception, error or logs

[19:38:55] [main/INFO]: [CHAT] [Baritone] Favoring size: 5348
[19:38:55] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=416,y=188,z=832} to JankyComposite Primary: GoalComposite[GoalBlock{x=416,y=188,z=839}, GoalBlock{x=416,y=188,z=838}] Fallback: GoalComposite[]
[19:38:55] [main/INFO]: [CHAT] [Baritone] Took 113ms, 86438 movements considered
[19:38:55] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks
[19:38:55] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=416,y=188,z=832} to JankyComposite Primary: GoalComposite[GoalBlock{x=416,y=188,z=839}, GoalBlock{x=416,y=188,z=838}] Fallback: GoalComposite[]. 3930 nodes considered
[19:38:56] [main/INFO]: [CHAT] [Baritone] bb pls get me some blocks. dirt, netherrack, cobble
[19:38:56] [main/INFO]: [CHAT] [Baritone] Movement returns status UNREACHABLE
[19:38:56] [main/INFO]: [CHAT] [Baritone] Favoring size: 5348
[19:38:56] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=416,y=188,z=832} to JankyComposite Primary: GoalComposite[GoalBlock{x=416,y=188,z=839}, GoalBlock{x=416,y=188,z=838}] Fallback: GoalComposite[]
[19:38:56] [main/INFO]: [CHAT] [Baritone] Took 102ms, 86438 movements considered
[19:38:56] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks
[19:38:56] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=416,y=188,z=832} to JankyComposite Primary: GoalComposite[GoalBlock{x=416,y=188,z=839}, GoalBlock{x=416,y=188,z=838}] Fallback: GoalComposite[]. 3930 nodes considered
[19:38:56] [main/INFO]: [CHAT] [Baritone] bb pls get me some blocks. dirt, netherrack, cobble
[19:38:56] [main/INFO]: [CHAT] [Baritone] Movement returns status UNREACHABLE
...

How to reproduce

hykilpikonna commented 4 years ago

Oh and configs:

allowInventory true
assumeWalkOnWater true
acceptableThrowawayItems minecraft:dirt,minecraft:cobblestone,minecraft:netherrack,minecraft:stone
blocksToAvoidBreaking chest,furnace,bricks
allowParkour true
allowParkourPlace true
avoidance true
maxFallHeightNoWater 255
maxFallHeightBucket 63
chatControl false
buildInLayers true
legitMineIncludeDiagonals true
5HT2 commented 4 years ago

Please add a brief but descriptive title

aUniqueUser commented 4 years ago

Please add a brief but descriptive title