You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: