Enchanting Turtle

  • 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

MonthOLDpickle

New Member
Jul 29, 2019
219
0
0
I want to set up a enchanting turtle (no auto cow/book farm) that will hold exp and you can enchant. Than have some attack turtles..anybody got a good program? I find in google ones from like 2012.
 

Neirin

New Member
Jul 29, 2019
590
0
0
There are some pretty decent ones on the Computercraft Forums and I know Direwolf20 put his enchanting script on pastebin somewhere.

I also wrote my own rudimentary auto-enchanting program if you're interested.

As for attack turtles: everything is just a variation on
Code:
while true do
turtle.attack()
sleep(0.5)
end
I personally use a script that incorporates a check for redstone signal, but that's not necessary for operation.
 

Neirin

New Member
Jul 29, 2019
590
0
0
Edited attack script to drop all items down when its inventory is full: link
Edited attack script where turtle drops items down after every attack (did 4 slots because I figure that should cover all the drops from most mobs): link

I assume you want the XP turtle to go down one when depositing the enchanted books? If so: link
 

Neirin

New Member
Jul 29, 2019
590
0
0
Looks like it'd work. Do read the whole OP for that one - the code has changed some since the video was made. For instance: bookshelves aren't actually required.
 

MonthOLDpickle

New Member
Jul 29, 2019
219
0
0
Yes it is sphax with ftb support. You can get at bdcraft.net. Download the main one, I don't recommend higher than 64 since you probably want ftb textures. Once download click on patch then mod pack..find ftb. Once you have both you will add the patch to the main texture zip file.
 
  • Like
Reactions: Bomb Bloke

menzok

New Member
Jul 29, 2019
7
0
0
I wrote a program, to enchant and anvil you might like, keeps track of how many levels its used and outputs directions to a monitor, the turtle its self has a menu to choose what you would like to do.

http://pastebin.com/JkS8etbR
jd1V3WZ28203T.png
 
  • Like
Reactions: YX33A

MonthOLDpickle

New Member
Jul 29, 2019
219
0
0
I wrote a program, to enchant and anvil you might like, keeps track of how many levels its used and outputs directions to a monitor, the turtle its self has a menu to choose what you would like to do.

http://pastebin.com/JkS8etbR
jd1V3WZ28203T.png

I don't know how to use the monitor (or how to get since my enchanting turtle is below). I guess I could move it up..can it actually suck up XP from above? Also..I assume I add an anvil to my enchanting turtle...right?
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
  1. anvil = peripheral.wrap("right")
  2. xp = peripheral.wrap("left")
  3. m=peripheral.wrap("top")
 

menzok

New Member
Jul 29, 2019
7
0
0
yes it can suck exp from anywhere nearby, it doesnt even need to face the exp farm.

If you would like ill pretty up the code later on with lots of comments, so its easy to understand what everything does. Yes i know its not pretty code but i wrote it ingame in like 15 min for a friend.
 

menzok

New Member
Jul 29, 2019
7
0
0
no fuel needed, its stationary. there would be no way to output to the monitor otherwise, since theres no place for a modem. it does all the enchanting right where it is.
 

MonthOLDpickle

New Member
Jul 29, 2019
219
0
0
Also where does it put enchanted books? Oh....it only enchants one book at a time no way to have it store and than maybe throw back or front? I have a transposer in mine on ground to pick up lose ends.
 

menzok

New Member
Jul 29, 2019
7
0
0
sure, you can throw the books out te top, front or bottom of the turtle, even into a chest. However its not really an automated program, due to the anvil functionality. id have to strip out the anvil function to have it automatic