Total newbie basic problem - cannot wipeout blocks or use /position command
Hi,
What I am trying to do is surely trivial. I am using Python to try and wipeout all my blocks I have created. It simply doesn't work. No blocks are erased. To be more accurate it seems to partially work in that if I create 100 blocks, I can then destroy them but blocks I created previously still remain.
Also, I know this is another issue but when I issue the /position command I get the message "Unknown command position". Again this makes no sense according to the documentation
Many thanks
Pete...
-
Hey there!
I would recommend using code like this:
When you type "Go" in chat, the action will trigger.
This will wipe out a square near by the player on the ground. It does this by replacing the blocks with "air", essentially erasing them. You can increase the size of the amount taken out by playing around with the coordinate numbers. Remember the area taken out is relative to the player, not the bot.
You can make this number quite big, but keep in mind there is still a limit, and the game will get you with a red error once the limit is reached.
Hope that helps!
0 -
Hi, Peter! I hope you are getting things sorted out about the destroyed blocks.
When you go into chat, and you type /p you will see a list of commands beginning with p. There is no position command.
This is a different thing from this commands in Python, such as agent.position or player.position, which are functions which return a location.
Let us know if you need any more help
0
Please sign in to leave a comment.
Comments
2 comments