githubEdit

Bee Family

A bee family consists of four key pieces of information necessary for breeding a bee:

  • The first parent required

  • The second parent required

  • The weighting of how likely the child is to be selected among potential candidates

  • The chance the child is created if selected

Template:
"resourcefulbees:breeding/v1": {
  "parents": [
    {
      "parent1": "diamond",
      "parent2": "coal",
      "weight": 75.0,
      "chance": 0.67
    }
  ]
}

Customization Options


weight

For all possible children these two parents can create how likely is it this one will be picked? Weight affects the result distribution among potential outcomes.

chevron-rightCalculating Weight Distributions:hashtag

A pair of parents has five different child options.

The weights are as follows:

The chances each child has of being selected are as follows:

To calculate the chance:

  1. Add up all the weights

  2. Divide the weight you wish to check by the total in step 1


circle-info

Name: Weight

Key: weight

Type: Double

Range: ≥0.0

Default: 10

chevron-rightExamplehashtag

chance

Once this child has been chosen as the result type, what is the chance that it will be created?

circle-check

circle-info

Name: Chance

Key: chance

Type: Double

Range: 0.0 - 1.0

Default: 1

chevron-rightExamplehashtag

parent1

The ID of the first parent.

triangle-exclamation

circle-info

Name: Parent 1

Key: parent1

Type: String

Default: 1

Required: If not provided family will be ignored.

chevron-rightExamplehashtag

parent2

The ID of the second parent.

triangle-exclamation

circle-info

Name: Parent 2

Key: parent2

Type: String

Default: 1

Required: If not provided family will be ignored.

chevron-rightExamplehashtag

Last updated

Was this helpful?