Sheepish's API
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: fabric
标签: game-mechanics management utility
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 TrackingFeatures 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 RecipesNew 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 RecipesNew 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
请登录后举报
暂无评论,抢个沙发吧~