Setting Up Xp Turtles

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Kewlaid

New Member
Jul 29, 2019
8
0
0
Ive been seeing videos on making Autonated XP Farms with These "xp turtles".

are their commands?
how do i set one of these up just to collect Exp

Thanks and im New
 

BlackFire

New Member
Jul 29, 2019
344
0
0
There are commands however if you want easy you can just get Direwolf's xp program off of his pastebin.

If you go to the misc. peripherals thread on the Computercraft forums, the commands are listed there.
 

egor66

New Member
Jul 29, 2019
1,235
0
0
Direwolf20 made a couple of vids about this I dont remember what ones there in a couple of his LP's single & server, but it works like this anyway, you make the normal turtle grinder setup & then make a xp turtle (turtle + enchanting table) place the turtle down & as always set a label, then turn it left or right twice so its facing you, this is the DW code I beleave its ok to repost it, in the turtle type pastebin get R1jes23i book (the book is the name change it to what ever you like) the just type book to run it, place a chest in front of the xp turtle & add some books to the first slot top left, thats about it, remember is is not my code its DW's that he posted for others to use I use it my self & edit a little to better fit the needs of the grinder its used with, his code was a bit better than mine so :).
 

Kewlaid

New Member
Jul 29, 2019
8
0
0
so theirs no simple command like the other turtle.. just to collect XP?

and also thanks for helping me out
 

BlackFire

New Member
Jul 29, 2019
344
0
0
so theirs no simple command like the other turtle.. just to collect XP?

abd also thanks for helping me out
I know there is 3 but off of the top of my head I can't remember.

One to collect xp
One to enchant using so many levels
And one to...can't remember[DOUBLEPOST=1372205423][/DOUBLEPOST]Found it

add(amount): Adds XP from XP bottles or monster eggs, using amount (optional, defaults to as much as possible) of the item in the current slot. Returns the amount of XP added.

get(): Returns the total amount of XP on the turtle.

getLevels(): Returns the amount of XP levels on the turtle.

collect(): Collects XP from XP orbs on the ground in a 2 block radius around the turtle. Returns the amount of XP collected.

setAutoCollect(autoCollect): If autoCollect is true, allow the turtle to automatically collect XP periodically.

enchant(levels): Enchants the item in the current slot using the specified levels. Returns true if successful, false if not.

get/getUp/getDown(): Gets XP from the xp sources
 

Kewlaid

New Member
Jul 29, 2019
8
0
0
hmm i have it working atm... it picks up a few orbs then just stops collecting..

using DW pastebin
 

Enigmius1

New Member
Jul 29, 2019
499
0
0
hmm i have it working atm... it picks up a few orbs then just stops collecting..

using DW pastebin

Dag nabbit. There's a command to enable perpetual auto-collection of xp. More importantly, when you're wanting to learn what commands are available to you with different peripherals on a turtle, if you google the kind of turtle you're wanting to know the details on, you'll often end up at the MiscPeripherals page where it shows you all of the peripherals and all of the commands that come with their API. It's delicious. 5 more minutes of google-y oogle and you could have come back and said, "Got it sorted...look what I did!" Instead you get, "Copied from someone else. Status quo all up in my face."
 
  • Like
Reactions: tehBlobLord