Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteorite spawn options #7243

Open
generrosity opened this issue Jun 28, 2023 · 9 comments
Open

Meteorite spawn options #7243

generrosity opened this issue Jun 28, 2023 · 9 comments

Comments

@generrosity
Copy link

Describe the feature

The way the documentation is worded suggests that the mood knows when it is attempting to place an underground or surface meteor.

Some previous mods had have the ability to choose to restrict to one of the other, or to set a max-y-level

Looking for this to have a more vanilla+ feel to world generation with mods based on exploration and mods interaction (compass)

Reasons why it should be considered

Mod pack options, more server owner options

Additional details

No response

@Technici4n
Copy link
Member

What do you mean exactly? You'd want an option to prevent meteorites from being placed above some y level?

@generrosity
Copy link
Author

Yes - that is one way to achieve this

@Inaaca
Copy link

Inaaca commented Oct 4, 2023

Yes, the main issue I have with this mod is how frequently the meteorites destroy the natural environment. They generate far too excessively imo, even in clusters of 2 or more at a time. A way to reduce (or eliminate entirely) the frequency of them generating on the surface is a needed option.

The config file used to have this and allowed some control over meteorite generation rates. Why it was removed I have no idea.

@Ezoteric
Copy link

I would like to have the following options.

  • Spawn rate setting
  • Spawn Dimension setting

They spawn way too much and i dont want them to spawn in the overworld.

Thnx in advance

@shartte
Copy link
Member

shartte commented Mar 29, 2024

I would like to have the following options.

* Spawn rate setting

* Spawn Dimension setting

They spawn way too much and i dont want them to spawn in the overworld.

Thnx in advance

This is handled using Vanilla datapacks and there's not going to be (nor can there be) an additional config setting for this.

@Ezoteric
Copy link

Ezoteric commented Mar 29, 2024

I would like to have the following options.

* Spawn rate setting

* Spawn Dimension setting

They spawn way too much and i dont want them to spawn in the overworld.
Thnx in advance

This is handled using Vanilla datapacks and there's not going to be (nor can there be) an additional config setting for this.

Thnx m8, yeah sorry I havent been playing for years, is there any datapack guide for those settings or are you willing to show/give me one ?

Thnx in advance

@shartte
Copy link
Member

shartte commented Mar 29, 2024

Thnx m8, yeah sorry I havent been playing for years, is there any datapack guide for those settings or are you willing to show/give me one ?

No sadly not. Not having a guide for those settings is definitely a shortcoming we have and we have to do something about that. :-(
What you can do is extract the AE2 jar and grab the files from data/ae2/worldgen/structure* and put those into a datapack.

A note on dimensions: You cannot control which dimensions spawn structures. What you can do however is control this via biomes. We use a biome tag to control this ( "biomes": "#ae2:has_meteorites",) .

For spawn rate, check the structure_set file.

@Ezoteric
Copy link

Thnx m8, yeah sorry I havent been playing for years, is there any datapack guide for those settings or are you willing to show/give me one ?

No sadly not. Not having a guide for those settings is definitely a shortcoming we have and we have to do something about that. :-( What you can do is extract the AE2 jar and grab the files from data/ae2/worldgen/structure* and put those into a datapack.

A note on dimensions: You cannot control which dimensions spawn structures. What you can do however is control this via biomes. We use a biome tag to control this ( "biomes": "#ae2:has_meteorites",) .

For spawn rate, check the structure_set file.

Thnx m8, thats exactly why i think a config file is for the best as it speaks for it self.
Anyway, i did the following;
copy ae2\worldgen\structure_set\meteorite.json and changed the following:

{
"placement": {
"type": "minecraft:random_spread",
"salt": 124895654,
"separation": 32, <-- changed
"spacing": 196 <-- changed
},
"structures": [
{
"structure": "ae2:meteorite",
"weight": 2 <-- changed
}
]
}

I asume weight 2 means 50%, weight 3 means 33%, etc. like most mods? as default was 1
Just testing this out so hope it works :)

@shartte
Copy link
Member

shartte commented Mar 31, 2024

You should check Vanilla tutorials on structure datapacks. This is not custom AE2 code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants