Posted October 6, 201311 yr I am having trouble finding the method, or variables, in BlockSapling to be able to use four saplings + bonemeal to generate my custom tree. I can get the Big and normal trees and huge trees to work with one sapling, but I want to use four like you would with a jungle tree. Any help is appreciated, thanks.
October 6, 201311 yr How do you logically thing it would work? and what code have you tried to use? Edit: Okay here's some hints: You can use the method of World called getBlockId(int, int, int) which gets the block ID of the block at coords (x,y,z) you pass into it. Use that to check for which blocks are where in relation to the current block If you guys dont get it.. then well ya.. try harder...
October 22, 201311 yr Author How do you logically thing it would work? and what code have you tried to use? Edit: Okay here's some hints: You can use the method of World called getBlockId(int, int, int) which gets the block ID of the block at coords (x,y,z) you pass into it. Use that to check for which blocks are where in relation to the current block I see where you are coming from, and I might need a little more to go on about the coords and all, I haven't really dabbled to much into that to be familiar with how that works. Though in the sapling class there is a line that checks for "isSameSapling" I am just not understanding why it is not working for my custom sapling.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.