Jump to content

Recommended Posts

Posted

From what I've seen, ore generation has changed from 1.16.1 to 1.16.3. Can anyone point me in the right direction for solving this in 1.16.3? A link to a tutorial or a repo with an example I could look over maybe. Anything helps.

 

Thanks in advance!

Isaiah

Posted

First, you need to register a ConfiguredFeature into a vanilla registry. A feature can have multiple placements now and their order does have an effect on how they spawn. After you registered one, you attach the feature within BiomeLoadingEvent with the provided generations builder.

  • 2 weeks later...
Posted

Hi Champion,

 

do you have example code? I have made a custom block for testing ("Opal Ore" ;) ), and it works (in creative). Now I want it to be generated, when I start with a new world - probability between gold and diamond -, but it seems that all tutorials are written for older versions and they don´t work for 1.16.3 and higher. Or I am not doing it right....

 

So it woul be great, to get a code example. Can you post something?

 

Thank you very much!

 

NMG

Posted
On 11/15/2020 at 8:38 AM, NewModGuy said:

but it seems that all tutorials are written for older versions

And so? A tutorial will not be written for everything you want to do. This is why you must inspect what I said and deduce how to use it. You're already given the event needed to attach the feature to a pre-existing biome. Now what you need is a ConfiguredFeature, which the class Features should provide many examples of.

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.