HomeJavaModsSheepish's API
Sheepish's API
Sheepish's API — screenshot 1Sheepish's API — screenshot 2

A helpful API for parts of mods made by Sheepish mainly serving as elements to solve issues which should be in vanilla


Features:

Non-stackable Item Advancement Tracking

Features new advancement trigger: "inventory_count"

Triggered by player gaining a count of specific item; works when picking up, updating inventory etc.
Works for non-stackable items as opposed to regular items.
Untested for stackable items to measure multiple stacks.

Example criteria taken from Hard Totems Mod (InDev):

"criteria": {
    "has_items": {
      "trigger": "sheepish_api:inventory_count",
      "conditions": {
        "item": "hard-totems:netherite_totem",
        "count": 3
      }
    }
}
Mirror-able Recipes

New Recipe Type: "mirrored_shaped"

Allows for 2 new fields:

Functions like shaped recipe

Example type and fields taken from Hard Totems Mod (InDev):

"type": "sheepish_api:mirrored_shaped",
"mirror_horizontal": true,
"mirror_vertical": true
Shaped-Shapeless Recipes

New Recipe Type: "shaped_shapeless"

Disregards any invalid recipe instances

Functions like shaped recipe with additional shapeless_ingredients field

Example field taken from GitHub Page:

{
  "type": "sheepish_api:shaped_shapeless",
  "category": "equipment",
  "pattern": [
    "# #",
    "   ",
    "   "
  ],
  "key": {
    "#": {
      "item": "minecraft:gold_ingot"
    }
  },
  "shapeless_ingredients": [
    {
      "item": "minecraft:diamond"
    },
    {
      "item": "minecraft:emerald"
    }
  ],
  "result": {
    "id": "minecraft:netherite_ingot",
    "count": 1
  }
}

PLANNED:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more