Mrbysco / ForceCraft

A mod inspired by DartCraft
https://curseforge.com/minecraft/mc-mods/forcecraft
GNU General Public License v3.0
12 stars 6 forks source link

[Suggestion]: Config to decrease Force Tree spawn rate. #77

Closed Verbina29 closed 1 year ago

Verbina29 commented 1 year ago

General Info

Suggestion Description

They seem too common, so it'd be nice if the rate were configurable.

Mrbysco commented 1 year ago

In 1.19+ the rarity can be changed using a datapack

Verbina29 commented 1 year ago

Ah, how do you do that?

Mrbysco commented 1 year ago

Have a look at this page written by Darkosto https://moddertools.darkosto.com/datapacks

Verbina29 commented 1 year ago

I meant "How do I make Force Trees less common with a datapack", not "How do I make a datapack".

Mrbysco commented 1 year ago

Oh, I'm used to being asked how do I create a datapack... You can change the rarity by adjusting the rarity value found in data/forcecraft/worldgen/placed_feature/force_tree.json https://github.com/Mrbysco/ForceCraft/blob/1.19.x/src/generated/resources/data/forcecraft/worldgen/placed_feature/force_tree.json#L4-L7

Mrbysco commented 1 year ago

If you put a changed version of that file in your datapack under the same folder structure it'll reduce/increase the rarity based on what you've set it to :)