Skip to content

Adjusting Generation Probabilities

DaFuqs edited this page Dec 12, 2022 · 1 revision

Starry Skies generates it's spheroids based on generation groups. Each of the overworld/nether/end dimensions uses a list of those group that have different weights attached to them.

A generation group looks like this:

{
	"dimension": "overworld",
	"weight": 10
}
  • dimension: The dimension this group is associated with. Can be overworld, nether or end
  • weight: How often this generation group generates in relation to the other generation groups in the same dimension. A Group with a weight of 10 will generates 10x as often as a group with a weight of 1

Each type of spheroid is included in one of those generation groups. For example:

  • the builtin generation group essential contains spheres, like grass, sand or gravel, making sure the player always has access to those
  • the builtin generation group wood contains all kinds of wood (vanilla and the ones added by mod integration), making sure that the player always has access to wood close by

Each time a spheroid should generate, one of these generation groups is picked randomly adjusted by it's weight and then one spheroid that is contained in this group picked at random, too. So if you add a mod that adds 20 new wood types, the player will still run into wood spheroids just as frequently as before, but oak wood will be a bit rarer (substituted by other types of wood)

If you are creating a story driven mod pack that comes with special spheroids that should be found frequently, adding an additional generation group and adding all your mod packs spheroids to it will be your best bet assuring the player will be stumbling across those frequently enough.

There are a list of default generation groups that contain all of the spheroids Starry Skies comes with.

Clone this wiki locally