Skip to content

Slime type files ​

One file per slime type, at data/<namespace>/productiveslimes/slime_type/<name>.json.

Example ​

The built-in Iron Slime:

json
{
  "color": "#D8D8D8",
  "food": "minecraft:raw_iron",
  "squeeze_result": {
    "id": "minecraft:iron_ingot",
    "count": 1
  },
  "production_time": 3600,
  "tier": 3,
  "breeding": {
    "parent_a": "productiveslimes:copper",
    "parent_b": "productiveslimes:stone",
    "catalyst": "minecraft:iron_block"
  }
}

Fields ​

FieldTypeRequiredMeaning
color"#RRGGBB"yesTint for the slime, its slimeballs, jar and spawn egg.
fooditem, list of items, or #tagyesWhat it eats to grow and breed, and what the Slime Pen's food slot accepts.
squeeze_resultitem stackyesWhat one slimeball gives in the Slime Squeezer. count defaults to 1.
production_timeticksyesLength of one Slime Pen batch with no food or upgrades. 20 ticks = 1 second. Wild slimes take twice as long.
tiernumbernoUsed to sort types in JEI and the creative tab. Defaults to 0.
breedingobjectnoHow to breed this type. Leave it out for types that only spawn or come from spawn eggs.
natural_spawnbooleannotrue lets this type spawn in the Slimy Land. Defaults to false.

breeding ​

FieldTypeRequiredMeaning
parent_aslime type idyesOne parent.
parent_bslime type idyesThe other parent. Order does not matter, and both can be the same type.
catalystblock, list of blocks, or #tagnoA block that must be within 2 blocks of the parents. Leave it out for no catalyst.
consume_catalystbooleannotrue destroys the catalyst block when the baby is born. Defaults to false.

When several types share the same parents, the one whose catalyst is nearby wins, then the one with no catalyst. See Breeding.

Adding a type ​

data/mypack/productiveslimes/slime_type/emerald.json:

json
{
  "color": "#41F384",
  "food": "minecraft:emerald",
  "squeeze_result": { "id": "minecraft:emerald", "count": 1 },
  "production_time": 7200,
  "tier": 5,
  "breeding": {
    "parent_a": "productiveslimes:gold",
    "parent_b": "productiveslimes:lapis",
    "catalyst": "minecraft:emerald_block"
  }
}

Then give it a name in a resource pack ("slime_type.mypack.emerald": "Emerald") and start a new world or reopen yours. It shows up in JEI, the creative tab and the breeding rules right away.

Released under the MIT License.