GithubHelp home page GithubHelp logo

myrmecoman / minecraft-building-turtle Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 138 KB

A minecraft turtle able to build constructions using a .txt file with the coordinates of each cube to place.

License: Apache License 2.0

Lua 54.50% Python 45.50%

minecraft-building-turtle's Introduction

Minecraft-building-turtle

What is it

A minecraft turtle script able to build constructions using a .txt file with the coordinates of each cube to place. It includes the parser to read the file, and the logic to sort the instructions in order for the turtle to choose short paths.

How to use

  • Go to https://drububu.com/miscellaneous/voxelizer/?out=obj or use any other website or software allowing you to convert a 3D model into a voxel model, and save it as a list of voxel coordinates (choose .txt file format on voxelizer). Voxelizer tells you how many cubes the model is made of, and thus how many your turtle will need. An example file is provided (torus.txt).
  • Rename the model file "model.txt".
  • Download the builder.lua script and your model.txt on your turtle, at the same level in the hierarchy.
  • Place your turtle below a chest containing the materials it will need if it goes out of material. It will save the location into memory.
  • Launch the program.

Don't forget to provide the turtle enough material (any placable cube) and fuel for it to run. It will search for fuel at startup and after each layer of material placed in its whole inventory. In case of lack of fuel it will sleep until refilled. In case of lack of material, it will go back to it's spawning position and try to get material from the chest below it. Also provide it a large enough and unobstructed space for it to build your model. Also be aware that going too far from the turtle, or disconnecting from a local world, will cause it to be unloaded and promptly stop it's labor. You might want a world anchor in the case of a live server. In the case of a local world, well you can't quit the game until it has finished.

Provided model (castle) required 24880 blocks.

minecraft-building-turtle's People

Contributors

myrmecoman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.