Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello. I'm making a mod and want to make a custom tree. But I can't seem to find any good tutorials of any.  If any of you know of a good one please tell me.

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

  • Author

Please anyone?

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

Hi

 

I haven't ever seen a tutorial specifically for trees.

 

I think your best bet is to check out the vanilla code

eg

WorldGenBigTree.generate

 

If you copy it to your own code, you can fiddle with various bits to see how it works and what each part does.  Should be an interesting challenge.  Once you've figured it out you could even write your own tutorial for it :-)

 

-TGG

  • Author

Hi

 

I haven't ever seen a tutorial specifically for trees.

 

I think your best bet is to check out the vanilla code

eg

WorldGenBigTree.generate

 

If you copy it to your own code, you can fiddle with various bits to see how it works and what each part does.  Should be an interesting challenge.  Once you've figured it out you could even write your own tutorial for it :-)

 

-TGG

 

Any idea what package its in?

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

Hi

 

Are you using eclipse or IntelliJ IDEA for your programming environment?

 

If so, there is a command to find a particular class, i.e. you type WorldGenBigTree and it opens the class for you without you having to go hunt for it.

 

I use it myself all the time, saves a huge amount of effort.

 

-TGG

  • Author

Hi

 

Are you using eclipse or IntelliJ IDEA for your programming environment?

 

If so, there is a command to find a particular class, i.e. you type WorldGenBigTree and it opens the class for you without you having to go hunt for it.

 

I use it myself all the time, saves a huge amount of effort.

 

-TGG

 

1.I do you eclipse

2. What command are you talking about? The search command(Control+H) or what?

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

i'd suggest creating a sapling block, then catch when a randomblockupdate happens and do some algorithms to spawn a tree-like structure

  • Author

I used these vids to learn how to make and generate trees.

 

//Tree Generation

//Biome Tree Generation

 

Will try these videos.

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.