krutotwitter.blogg.se

Original strafe texture pack
Original strafe texture pack










placeDir is the direction to place the block in. placeDir is a bit more difficult to understand.Possible directions: "forward","up","down","right","left","back". It is the direction the turtle travels to. t.placeRow( placeDir, block, travelDir, length).The following function places a row of blocks: If there is another block in the way, it will break it, unless it is the same type of block. This way you can later easily see which block must go in which slot. "stoneBrick = 1" at the beginning of the code. Here, ' block' is a number between 1 and 16. These will not be stopped by blocks or mobs.

original strafe texture pack

So if sand falls down, it will dig as long as necessary. These will dig as long as there is a block in the way. Most of the function names are the same, but instead of writing "turtle." in front, you now write "t.". There are also some functions that combine default functions for ease of use. Before using the API you'll have to load it: os.loadAPI("t").Ī lot of the functions do the same as the default turtle API, except with additional checks.Open the computer you want to download the API into and type: ' pastebin get 0TnEBf2P t' (without the quotes) to download and save the API as 't'.The API will automatically be loaded for every Turtle.

original strafe texture pack original strafe texture pack

  • The name of the file will determine the name of the API (If you save it as 't' you'd call the 'forward()' function like so: t.forward()).
  • original strafe texture pack

  • Download the API and save it in the 'assets/computercraft/lua/rom/apis/turtle' directory inside the resource pack.
  • Create and install a new resource pack on the client (if playing singleplayer) or the server (if playing multiplayer).
  • When traveling, for example, it will not get stopped by mobs, players, sand, or any other block. It also strives to make coding a turtle easier. This API extends on the original turtle API and makes it more robust. This means that you have to install it manually.












    Original strafe texture pack