mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-22 06:02:07 +02:00
added no_cheat to docs
This commit is contained in:
parent
25c4f68be7
commit
ca4ef4114a
1 changed files with 1 additions and 0 deletions
|
@ -503,6 +503,7 @@ export async function placeBlock(bot, blockType, x, y, z, no_cheat=false) {
|
|||
* @param {number} x, the x coordinate of the block to place.
|
||||
* @param {number} y, the y coordinate of the block to place.
|
||||
* @param {number} z, the z coordinate of the block to place.
|
||||
* @param {boolean} no_cheat, overrides cheat mode to place the block normally. Defaults to false.
|
||||
* @returns {Promise<boolean>} true if the block was placed, false otherwise.
|
||||
* @example
|
||||
* let position = world.getPosition(bot);
|
||||
|
|
Loading…
Add table
Reference in a new issue