githubEdit

Mutation Data

Mutations are the repurposing of a vanilla mechanic: pollination effect. When a bee pollinates a flower and is returning to a hive, any flower it flies over has a chance to be fertilized (have a growth tick applied to it). It can do this up to 10 times before it needs to visit a hive to reset the counter.

Mutations reuse the vanilla mechanic by allowing bees to transform one object into another. The bee would simply fly over a target item|block|fluid|entity and the target would be transformed into different item|block|fluid|entity.

The mutation customization component simply contains the recipe ID for the mutations which the bee can perform and the mutation limit.

Template:
"resourcefulbees:mutation/v1": {
  "count": 5,
  "mutation": "resourcefulbees:mutations/template"
}

Identifier


The root JSON of the mutation customization component looks like this:

"resourcefulbees:mutation/v1": {
    ...
}

The identifier of the component is as such:

resourcefulbees:mutation/v1

Customization Options


count

The number of mutations that can be performed before the bee needs to visit a hive to reset the counter.


circle-info

Name: Mutation Count

Key: count

Type: Integer

Default: 10

chevron-rightExamplehashtag

mutation

The ID for the mutation recipe. The format is that of a ResourceLocationarrow-up-right.


circle-info

Name: Mutation

Key: mutation

Type: ResourceLocationarrow-up-right

Default: No Mutation

chevron-rightExamplehashtag

Last updated

Was this helpful?