Ultimate Wood Chopper [Selfbuilding][Menu]

  • 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

UNOBTANIUM

New Member
Jul 29, 2019
11
0
0
20121227223708.png


Hello Minecraftcommunity,

i presenting you my fully automated Ultimate Wood Chopper (UWC) for ComputerCraft and its Turtles.
This pack inculdes 10 programs written by myself. I hope you enjoy
biggrin.png

Feel free to leave some feedback.

What does Ultimate Wood Chopper?
This program can chop down single trees, both 1x1 and 2x2. You also can set up an automatic farm which replants trees either with or without bonemeal and chops it down. The farm is selfbuilding and i recommend using Fir Wood for it, because the Fir Saplings dont check if there are leafs above and instantly grow if bonmeal is used on them. Without using bonemeal, you can use Jungle Tree (Saplings) too. You also can set specific variables of the program for your personal usage.

Features:
- very easy and user friendly
- menu
- just needs one mining turtle
- rednet (startup versions)

- Farm
-- saves and starts where it was left before the chunk unloaded (session permission)
-- selfbuilding
-- selfsustaining
-- with and without bonemeal
-- fairly cheap
-- controlled shutdown by a user's redstone signal or pressing a key
-- debug
-- expandable
-- change variables for the personal usage

- Single tree
-- 1x1
-- 2x2
-- any height

Download & more information:
Link to the original post
If this link does not work simply google "Computercraft Forum Ultimate Wood Chopper".


If there are any questions, suggestions, errors or bugs, feel free to leave a comment to improve this program pack.
Thank you for your attention.
UNOBTANIUM
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
Just saying, but I see quite a lot of "turtle.forward()" and such that are not inside while loops, meaning that a block, a mob or you standing before the turtle could potentially mess it quite a bit.

But it's nice to see that your "build" part also takes care of the chests and pipes.
Although, I am not certain if the iron pipe will always face the intended way, but seeing as you mention it in the message you print, that should be fine.

Having already coded my logger program, I think I won't have to use yours, but it seems quite well done.
 

Saice

New Member
Jul 29, 2019
4,020
0
1
Nice setup.

I have been poking turtles a little but to do something like this with rubber trees.
 

UNOBTANIUM

New Member
Jul 29, 2019
11
0
0
Hey, Thank you everybody.
Yeah i tough about the problem if something bad happens that the user has to dig down everything and then start the program again. I accually placed this wood farm in the sky so nothing is blocking it ;D
I tought about the iron pipe and did some experiments with it. Even if you dont use a wrech on it it sends the coal back. Some minutes ago i uploaded a new version where the woodenpipe doesnt have to be switched too.
I didnt get into rubber tree and how they accually work at the moment :/ I will try to add more freatures to make an ultimate wood cutter pack ;D
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
Well, even if only to be sure, I always use this loop to move the turtle:

Code:
while (not turtle.forward()) do
  if (turtle.detect()) then
    turtle.dig()
  else
    turtle.attack()
  end
end
It sounded quite stupid the first time I saw that, but it basically ensures that if anything comes in the way, that thing will be removed and it will resume its move correctly.

Not being as good as many, I mostly limit myself in making little specific programs, so it might not help you, but I thought I might as well throw it in there, in case it could help.
 

UNOBTANIUM

New Member
Jul 29, 2019
11
0
0
I know how it works. This function might be a bit overkilling because the player maybe get killed if he stays afk :D
And i dont want this :D
i maybe just make this
Code:
while not turtle.forward() then end
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
Yeah, could work, but it's "do" instead of "then".

My programs are designed to work even in the dark, so I set to attack so that they get rid of anything in the way, but that's not really the same as your program, so that might be sufficient.
 

UNOBTANIUM

New Member
Jul 29, 2019
11
0
0
ops yeah ^^
Yeah, if the turtle just wait for let the player solve the problem it should be fine. I mean he will realize if something is wrong if the turlte is stuck in front of a block ;D
 

Fuzzlewhumper

New Member
Jul 29, 2019
500
0
0
I don't have an account on the programming forums you use for this wonderful program but I figured out why your turtle.compareUp() isn't working for 75% of the people using your program.

Seems you have to set up the turtle while facing west if you want compareUp() to function properly. The Fir tree's trunk in that position is a match for the wood cut from the Fir tree. There are actually four unique trunk pieces that make up the trunk. When the tree is chopped down all pieces convert to just one piece of wood instead of the four individual pieces.

So if someone builds their tree farm facing west, the program can use turtle.compareUp() as you had programmed otherwise they have to use turtle.detectUp() instead and occasionally grab saplings when nearing the top of the tree (no biggie and is actually how I've kept it)