Skip to content

takumitoma/mc-cactus-farm-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Cactus Farm Builder 👋

License: MIT

Minecraft bots that build cactus farms in Minecraft Survival Mode. Created using Javascript (Node) and the Mineflayer library.

2023-01-16_21 45 47 Note: The bots will dig down the pillars below them after they build up to the top

Install

Clone this repository and run

npm install

Usage

  1. Update config.json. An example of one is in the examples folder.

  2. In the terminal, run

    node index.js

    This will spawn all the bots one by one. Wait for all of them to spawn.

  3. Create a flat land without any blocks in the air to let the bots build the cactus farm.

  4. Run the following command to move the bots to their initial positions to build.

    cactus goto X Y Z

    The bots will be positioned in the following format and order.

    goto_chart

    X, Y, Z indicate the Minecraft coordinates of the bot located at 1 in the diagram.

    Example

    While choosing numOfBots: "4" in config.json

    cactus goto 5.5 -60 3.5

    Example_goto
    Where Cactus_Farm_Bot_1's new position is now 5.5 -60 3.5.

  5. Supply the bots with materials to build the cactus farm. Run the following command to start building the cactus farm from the bot's current Y coordinate upwards to the Y coordinate Y.

    cactus build Y

    Example

    cactus build 60

    If any of the bots have insufficient number of items to finish this build, this command fails and the bots with insufficient items will announce how much items they need in the chat.

Author

👤 TakumiXD

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published