1. Wiki
  2. /Entities
  3. /minecraft:offspring

minecraft:offspring

Don't want to write this by hand? GodCraft sets minecraft:offspring for you with a switch.Get GodCraft

Overview

minecraft:offspring is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Controls the baby that is made when two of these entities breed: which entity it is and what it inherits from its parents. Use it alongside a breeding component.

Fields

FieldTypeDefaultDescription
blend_attributesBoolean"true"If true, the baby mixes stats such as health from both parents.
deny_parents_variantJSON ObjectnoneChance that a baby of two same-variant parents picks a random variant from a range instead.
inherit_tamedBoolean"true"If true, babies of tamed parents start out tamed.
mutation_factorJSON ObjectnoneChance (0.0 to 1.0) that the baby gets a different look than its parents; higher means more surprises.
offspring_pairsListnoneWhich partner entities this mob can breed with and what baby each pair makes.
parent_centric_attribute_blendingListnoneStats that are blended around the parents' values, like a horse's speed and jump.
property_inheritanceListnoneEntity properties the baby copies from its parents, with a chance to change.
random_extra_variant_mutation_intervalRange [a, b]"0"Range used to pick a random extra variant when a mutation happens.
random_variant_mutation_intervalRange [a, b]"0"Range used to pick a random variant when a mutation happens.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:offspring": {
    "blend_attributes": "true",
    "deny_parents_variant": {},
    "inherit_tamed": "true",
    "mutation_factor": {},
    "offspring_pairs": {},
    "parent_centric_attribute_blending": {},
    "property_inheritance": {},
    "random_extra_variant_mutation_interval": "0"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more