Skip to content

Axolootl Breeding

Sky James edited this page Aug 28, 2023 · 1 revision

Overview

The Axolootl Breeding Recipe contains information about the offspring that can result from breeding two axolootl variants.

Usage

Create a JSON file located at data/[namespace]/axolootl/breeding/[path].json where [namespace]:[path] is the ID of the Axolootl Breeding Recipe. Names must be lowercase and contain no spaces. For readability purposes, please include the names of the two parents in the name of the file.

Modification

When modifying existing breeding recipes, use Axolootl Breeding Modifiers instead of replacing the file. This improves compatibility between data packs that want to modify the same recipe.

Data

  • first (namespaced ID) Required
  • second (namespaced ID) Required
  • result (namespaced ID|WeightedList Required

JSON Format

The following Axolootl Breeding Recipe allows a Lapis axolootl and Netherrack axolootl to breed. The offspring has a 1/4 chance to be a Glowstone axolootl and 3/4 chance to be a Nether Quartz Axolootl.

{
  "first": "axolootl:lapis",
  "second": "axolootl:netherrack",
  "result": [
    {
      "data": "axolootl:glowstone",
      "weight": 1
    },
    {
      "data": "axolootl:quartz",
      "weight": 3
    }
  ]
}

The following Axolootl Breeding Recipe allows a Copper axolootl and Stone axolootl to breed. The offspring has a 100% chance to be an Iron axolootl.

{
  "first": "axolootl:copper",
  "second": "axolootl:stone",
  "result": "axolootl:iron"
}
Clone this wiki locally