Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Excrete_netherrack()
- local holder = turtle.getSelectedSlot();
- for i=1,16,1 do
- local x = turtle.getItemDetail(i)
- if x == nil then
- -- break;
- else
- if x.name == 'minecraft:netherrack' then
- turtle.select(i);
- turtle.drop();
- end
- end
- end
- turtle.select(holder);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement