Bot detects Blocks at Y=-1 as air until the bot's Y is less than 0. #3332
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
I'm creating a mining bot for 1.20.4. The bot can mine straight down to Y=0, before detecting that the deepslate block at Y=-1 is air. When it attempts to mine the block at y=-1, the bot gets kicked for invalid movement.
What did you try yet?
I tried mining the block for the bot. Once the bot is at y=-1, the bot detects the blocks type correctly and does not get kicked.
Your current code
I have a lot of other code that I'm using for my project, but the main bit of code for mining is as follows:
getStateMachinePath is how I access variables using a programming language I created, so that it becomes more modular. However, all that is important is "await bot.dig(.....,true)", which crashes the bot when at Y=0, and digging y=-1.
Expected behavior
Bot should be able to mine blocks at Y=-1 from y=0, and detect the correct block type of the block.
Additional context
The text was updated successfully, but these errors were encountered: