I have a group of attack turtles collecting xp from a mob grinder and another turtle that comes around and is supposed to take the xp they have collected and use it to enchant. however the get() getUp() and getDown() commands don't seem to transfer xp at all.
This if the code for the attack turtles.
and the code for the other turtle is this.
This if the code for the attack turtles.
Code:
m = peripheral.wrap("right")
m.setAutoCollect(true)
while true do
if turtle.attack() then
for i = 1,16 do
turtle.select(i)
turtle.dropDown()
end
end
end
Code:
m = peripheral.wrap("left")
while true do
for i=1,8 do
turtle.forward()
m.getDown()
end
turtle.turnRight()
turtle.turnRight()
for i = 1,8 do
turtle.forward()
end
sleep(60)
end