▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Sheepish's API
Sheepish's API

Sheepish's API

Adds a bit of functionality which I believe should be in vanilla

Оцените первым
53
1

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

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:3 недели назад
Обновлён:2 недели назад
Главная