Inactive [FUN/MISC] Giant Trees v0.4.3 - Make Massive Trees in Minecraft [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by Connor Mahaffey, Jun 13, 2011.

  1. Offline

    Connor Mahaffey

  2. Offline

    opoq

    Love the plugin :)
    I know you've said you're still tweaking the tree appearance, so I thought I'd give my two cents on what would make this plugin really stand out. Apologies if these are repetitive, I don't plan on reading the whole thread :p

    1) Optional roots!
    2) Variability in the trunk, especially at the base - just a little randomness
    3) Choice in the kind of tree spawned
    4) This is the big one for me - the ability to specify density at the top would make this plugin fanTAStic. I'm talking all the way from a mid-winter bare tree right up to a treehouse-perfect mass of dense foliage.

    Thanks for your hard work!!
     
    Connor Mahaffey likes this.
  3. Offline

    Icedew123

    @Connor Mahaffey Sorry man. My bad. My permissions plugin was messed up. Thanks for the plugin :) Now I have tree of Life.
     
  4. Offline

    Connor Mahaffey

    Just a fun update about progress in 0.3 with some pictures of different tree log/leaf types.
    Note: I haven't messed with the algorithm much so far, so as far as where leaves are, they will look about the same as 0.2.1

    Spruce: http://img571.imageshack.us/img571/936/20110619000058.png
    Birch: http://img135.imageshack.us/img135/1962/20110619000145.png
    Diamond/Iron Block Custom: http://img825.imageshack.us/img825/5431/20110619000233.png

    Command: /gt <height> <width> <logtype> <leaftype>
    Example command: /gt 24 4 spruce spruce
    Or for custom trees, /gt 24 4 42 57 (for the iron base tree with diamond block leaves - block ids)
    Note: You can still use /gt 24 4 without these parameters to make normal trees

    I personally think the custom block trees are pretty ugly, but I could see how they could be useful. For example on Halloween you could have jack-o-lantern trees. Since you specify the leaves and logs, you can of course have something like /gt 24 4 birch spruce

    If you're unsure about what trees are which, check this out: http://www.minecraftwiki.net/wiki/Data_values#Wood

    This update will come out, along with a permissions node to allow custom trees (tnt trees or just ugly trees made by users could be a pain). It should also include a slightly better algorithm. I think its worth mentioning that trees cannot have a 0 block value, or air (currently) - it really messes up the program. I'll try and find a solution, I know a couple of you want "winter trees".

    Anyway, just preparing you guys for update 0.3. Let me know what you think :)
     
  5. Offline

    terwilliker

    The alternate material could be nice for petrified trees or J. G. Ballard crystal world type environments / encroachments.
     
    Connor Mahaffey likes this.
  6. Offline

    Zarius

    Howdy, alternate materials are cool - could you allow for the default enum values to be used? eg. ICE, IRON_BLOCK, etc. then use eg.
    Code:
    int materialId = Material.valueof("IRON_BLOCK").getId();
     
  7. Offline

    Connor Mahaffey

    I could I guess, but I'd be afraid that if I tell people "yeah, just type in the name of the block" they'll try things like "iron block" and "wood block" - both of which are wrong. Enum values aren't the best solution of typical users.
     
  8. Offline

    Pablomittens

    Great Plugin I made a awesome spawn tree for my new players =D thanks alot! Keep it up.
     
    Connor Mahaffey likes this.
  9. Offline

    Zarius

    You could wrap the test in a try/catch and report "invalid block type, please check list of valid blocks in readme" or something like that. I find it a lot easier to remember the correct enum than the correct data value (which I have to go look up on minecraft wiki all the time). Can still support data values by testing if the argument is an integer first.
     
  10. Offline

    Connor Mahaffey

    I know I can, problem is, its not set up to stop if its wrong. Right now, if you give it an incorrect type, it defaults to a normal tree.

    I don't know, I'll consider it.
     
  11. Offline

    zookalicious

    Tried this out today. So damn cool! I like all of the options by the way, especially manually designating the size and having the ability to undo them :) made a wicked treehouse.
     
    Connor Mahaffey likes this.
  12. Offline

    tocan115

    No point to this but i love it!!:)
     
    Connor Mahaffey likes this.
  13. Offline

    G1R Productions

    This is awesome made a couple cool trees though a few strange 1s that looks like the leafs exploded out of the tree in all directions and somewhat hollow on the inside.
     
  14. Offline

    chubbz

    With the future update Of the trees look will they look like the pic I put on the request
     
  15. Offline

    dark1256

    wow great plugin! I will use it on my server!
     
    Connor Mahaffey likes this.
  16. Offline

    Tux2

    Any way I can get the development source? I want to see about making the leaf density look more natural in the larger trees, I just don't want to make changes to an old copy of the code. (GitHub would be really nice here.)
     
  17. Offline

    Connor Mahaffey

    Just about done. Leaves are pretty dense in larger trees now. There will be an option to select how dense they are as well. Something like /gt 24 4 birch spruce <density> (<density> being a number between 0 and 30 or so, 20 is "normal" density).

    I'll try and add GitHub support this time. I know its been on my to-do list, but this plugin got kinda popular and I've been really busy with giving it updates. Just warning you though, the code is not the cleanest. I've tried, but its gotten a little sloppy as time has gone on.

    I doubt it'll ever look as awesome as the one in the picture, that'd be almost impossible to code. And I'm pretty sure someone made that from logs and leaves, it didn't spawn. Very hard to do something like that.

    They should look a little better after the next update, and you can specify density if they seem too bare for you, but the default is a lot more dense now for larger trees.

    UPDATE

    Version 0.3 is released! New custom trees are now available, the tree algorithm has been modified, and there is a new permission (gianttrees.custom).

    Custom wood and leaf type tree: http://img823.imageshack.us/img823/6313/20110620115619.png
    (birch wood and spruce leaves)
    Custom block tree: http://img5.imageshack.us/img5/9571/20110620010343.png
    (birch wood and tnt leaves)

    @Tux2 I'll put it on GitHub this afternoon after I eat lunch. If you want to grab the source right now you can, that will be the same source that goes on GitHub.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  18. Offline

    Tux2

    @Connor Mahaffey Nice! I know the first time I used gitorious (I didn't know about github, or it didn't exist at the time) it took a bit to set up, but once you get your setup all up and going it is really easy, especially with git integration in Eclipse. As far as your code goes, no worries. I have a few projects that I would need to clean up if I released the source code: more comments, better file structure, a readme, etc. I'm also pretty good at figuring out how something works, even if it doesn't have comments, so no worries if your code isn't the cleanest.
     
  19. Offline

    Connor Mahaffey

    Awesome, should be no problem for you then. And yea, that's the problem, I don't use Eclipse I use Netbeans. I'd switch but I've heard Eclipse uses a lot more RAM/processing power, and that just isn't an option for me. Plus I've already learned how to do everything in Netbeans :/ Hopefully I can get it working. I know there's a good tutorial on GitHub about how to set it up.
     
  20. Offline

    G1R Productions

    Dont know if anyone else said this but maybe you should add large branches that stick out of the trunks of the taller trees so it isn't just all leafy at the top?
     
  21. Offline

    commandantjones

    Hehe. Love the plugin, but the first time I used it, I tried to chop my way into the middle of my first giant tree, only to find out that I had Choptree installed on my server. Forgot about that one. Whoops!
     
  22. Offline

    Connor Mahaffey

    There are branches there, they just aren't very thick. If you don't believe me, do /gt 24 4 oak oak 0 - for a leafless tree. But maybe I should make them thicker.

    Hahahah nice one :D good thing there's an undo feature now.
     
  23. Offline

    G1R Productions

    Oh i see, but i was talking about the giant trees that are 60 blocks tall, there is alot of trunk then a huge bush at top maybe add branches like half way up along with the bush on top. If possible of course.

    EDIT: Maybe something like the pine trees with the layers of leafs.
     
  24. Offline

    Connor Mahaffey

    Oh ok I see, so like a random branch or two on the way up. It'd be neat for sure.
     
    Kccool2 likes this.
  25. Offline

    Kmus255

    great plugin thank you :)
     
    Connor Mahaffey likes this.
  26. Offline

    Eviltelly

    I tried to do a tree on a square of dirt that was 150x150 and the tree was /gt 100 20 and it said there wasn't enough room, why is that?
     
  27. Offline

    Kccool2

    Wow.. the trees this plugin creates are simply astounding! You have done one hell of a job with this. Massive, massive kudos Connor. :)
     
    Connor Mahaffey likes this.
  28. Offline

    Connor Mahaffey

    Well, the Minecraft world is only 128 blocks tall, so unless you were very far underground there probably wasn't enough room height-wise to make the tree. Try making a smaller tree or going deeper underground (you can press F3 to view coordinates. The Y value is where you are height-wise in the world. So if Y = 60.8675309 then you can only build a tree that is 68 tall )
     
  29. Offline

    Eviltelly

    well, we were at y: 29.8675309 and still could only get a max of /gt 55 10
     
  30. Offline

    Ambedrake

    Note to self : Don't use ICE, Sugar Cane, Mushrooms, or any other non stackable item that breaks when stacked. Makes server VERY angry with admin lol. Anyways, probably should put some form of restriction checks on these, I know I had to use world edit to remove lave/water when spawned as part of these (yes I am that insane I like to test thouroughly) and ICE when hit with the undo command turns completely into water source, yet another thing to check out. Anyways I had a BLAST crashing my server every which way I could find tonight testing this baby out and I LOVE IT!!!

    Keep it up!
    Ambe
     
  31. Offline

    G1R Productions

    Thanks it would be awesome, ill look forward to it.
     

Share This Page