Jump to content

[1.8] Is there a way to replace a specific block in a specific biome?


Kander16

Recommended Posts

Hi,

 

I want to replace all 'leaves' blocks into 'blossom_leaves' withing specific biomes.

So that it checks what blocks in the 'forest' biome is leaves, then replace the leaves into another block.

Is there a way to do this?

 

Thanks.

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

Link to comment
Share on other sites

I wrote my own tree growth routine for certain style trees in a DayZ world I made.

 

I supposed you could create a custom worldGen and reference a custom method to do it.

 

Been a while since I messed with that part of my mods so I don't remember it clearly.  Just an idea to explore.

Long time Bukkit & Forge Programmer

Happy to try and help

Link to comment
Share on other sites

An idea that may work for you is to create a world generator that would replace leaves with new leaves and bumping chances up. Because basically default world generator replaces stone with ores, but you can use it to replace (with chance if needed) any other blocks...

 

As for new grown trees - there's event, as diesieben said...

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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