Skip to content

mc-cc-scripts/turtleController-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turtleController-lib

Library for basic turtle-controls

Refuels automaticly, if any fuel blocks are in the Inventory


Main Functions


Find an item in the turtle-inventory

turtleController:findItemInInventory(<table>|<string>): number

Example

local coalSlot = turtleController:findItemInInventory('minecraft:charcoal')

Turtle Movement

function turtleController:tryMove(<string>): boolean

Example: Going in a circle

local success = turtleController:compactMove('f4, u2, b4, d2')

Important things to know


Feel free to override the current default settings:

turtleController.freeRefuelSlot = true
turtleController.refuelSlot = 1
turtleController.canBreakBlocks = false

About

Library for basic turtle-controls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages