Developers
Landing Page
Custom Bees
Custom Bees
  • Creating A Custom Bee
    • The Custom Bee JSON
    • Core Data
    • Render Data
      • Layer Data
      • Color Data
    • Breed Data
      • Bee Family
    • Combat Data
    • Mutation Data
      • Mutation Recipe
        • Mutation Type
    • Trait Data
      • Bee Aura
      • Potion Effect
      • Damage Effect
      • Damage Type
    • Trade Data
Powered by GitBook
On this page
  • Identifier
  • Customization Options
  • parents
  • feedItem
  • feedReturnItem
  • feedAmount
  • childGrowthDelay
  • breedDelay

Was this helpful?

Edit on GitHub
Export as PDF
  1. Creating A Custom Bee

Breed Data

The breeding customization component is responsible for defining relationships between bees. Bees can have many different breeding relationships.

Template:
"resourcefulbees:breeding/v1": {
  "feedAmount": 2,
  "childGrowthDelay": -45000,
  "breedDelay": 2400,
  "parents": [
    {
      "parent1": "diamond",
      "parent2": "coal",
      "weight": 75.0,
      "chance": 0.67
    },
    {
      "parent1": "diamond",
      "parent2": "diamond",
      "weight": 24.0,
      "chance": 0.67
    }
  ],
  "feedItem": [
    "minecraft:poppy",
    "minecraft:carrot"
  ],
  "feedReturnItem": {
    "id": "minecraft:bucket",
    "count": 1,
    "nbt": {
      "this_is": "an_nbt_tag"
    }
  }
}

Identifier


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

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

The identifier of the component is as such:

resourcefulbees:breeding/v1

Customization Options


parents

A list of bee pairs that can be used to breed this bee.


Name: Parents

Key: parents

Default: Empty List

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

feedItem

The item(s) which can be fed to the bee to trigger its love state.

Note: This value only applies when this bee is being used to breed another bee


Name: Feed Item

Key: feedItem

Default: minecraft:poppy

"resourcefulbees:breeding/v1": {
  "feedItem": "#minecraft:candles"
}
"resourcefulbees:breeding/v1": {
  "feedItem": [
    "minecraft:poppy",
    "minecraft:carrot"
  ]
}
"resourcefulbees:breeding/v1": {
  "feedItem": "minecraft:carrot"
}

feedReturnItem

Item returned to the player after the feed item has been consumed. Useful for returning container-like items after consuming the contents.

Note: This value only applies when this bee is being used to breed another bee


Name: Feed Return Item

Key: feedReturnItem

Type: ItemStack

Default: Optional

Example
"resourcefulbees:breeding/v1": {
  "feedReturnItem": {
    "id": "minecraft:bucket",
    "count": 1,
    "nbt": {
      "this_is": "an_nbt_tag"
    }
  }
}

feedAmount

The amount of feed items required to be given to the bee to trigger its love state.

Note: This value only applies when this bee is being used to breed another bee


Name: Feed Return Item

Key: feedAmount

Type: Integer

Range: ≥1

Default: 1

Example
"resourcefulbees:breeding/v1": {
  "feedAmount": 2
}

childGrowthDelay

The time in ticks that a baby bee will stay a baby bee.


Name: Child Growth Delay

Key: childGrowthDelay

Type: Integer

Range: ≤0

Default: -24000

Example
"resourcefulbees:breeding/v1": {
  "childGrowthDelay": -45000
}

breedDelay

The time in ticks until the bee's love state can be triggered again.


Name: Breed Delay

Key: breedDelay

Type: Integer

Range: ≥1

Default: 6000

Example
"resourcefulbees:breeding/v1": {
  "breedDelay": 2400
}

PreviousColor DataNextBee Family

Last updated 1 year ago

Was this helpful?

Type:

Type:

BeeFamily[]
HolderSet<Item>