Too Many Attributes
» Entity actions » Breed

Breed

too-many-attributes:breedbi-entity action

The actor and the target have a baby, as if they had just been bred. Neither needs to be in love mode or off its breeding cooldown. It has no fields.

  • Both must be adult animals of the same kind. A horse and a donkey also work, and give a mule.
  • Afterwards it works like normal breeding: both parents get their breeding cooldown, and experience drops if doMobLoot is on.
  • It does nothing in any other case.
  • From Overgrown's Apoli: works the same.

Example: "Matchmaker". Right-clicking a cow makes it breed with every other adult cow within 8 blocks.

json
{
  "type": "origins:action_on_entity_use",
  "bientity_action": {
    "type": "origins:target_action",
    "action": {
      "type": "origins:area_of_effect",
      "radius": 8,
      "bientity_condition": {
        "type": "origins:both",
        "condition": {
          "type": "origins:entity_type",
          "entity_type": "minecraft:cow"
        }
      },
      "bientity_action": {
        "type": "too-many-attributes:breed"
      }
    }
  }
}