Compatibility
Minecraft: Java Edition
1.21.1–1.21.11
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 4 days ago
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:
- "mirror_horizontal" - works like normal shaped recipes (boolean)
- "mirror_vertical" - allows for upside down crafting entry (boolean)
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:
- Custom Advancement Types


