Shifting-Wares: VillagerConfig Addon 图标

Shifting-Wares: VillagerConfig Addon

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.1.0+1.21.5
本资源为搬运资源,原资源地址: https://modrinth.com/mod/shiftingwares-villagerconfig-addon
资源信息

Minecraft 版本: 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: fabric

标签: economy game-mechanics

资源介绍

Shifting-Wares: VillagerConfig Addon

Compatibility addon that enables ShiftingWares rerolls to use the custom trades and layouts defined by VillagerConfig.

Shifting Wares v2

In order for Shifting Ware's map caching to work properly, Exploration Map trades must use the same item-naming convention as vanilla trades. Behaviour is undefined otherwise.

Shifting Wares v3

With this addon, map persistence can be defined in the trade themselves, alongside to the costs and result:

  • shiftingwares:isPersistent: (boolean) Forcibly marks the trade as persistent. This trade's rerollability will be limited to the same conditions as for map trades.
  • shiftingwares:tradeId: (Identifier) When defined, this allows ShiftingWares to associate an existing trade to its source in the datapack, and prevent duplicates of that trade from being generated.

Example:

{
    "shiftingwares:isPersistent": true,
    "shiftingwares:tradeId": "minecraft:on_ocean_explorer_maps",
    "cost_a": { "type": "minecraft:item", "name": "minecraft:emerald" },
    "cost_b": { "type": "minecraft:item", "name": "minecraft:compass" },
    "result": {
        "type": "minecraft:item",
        "name": "minecraft:map",
        "functions": [
            {
                "decoration": "minecraft:monument",
                "destination": "minecraft:on_ocean_explorer_maps",
                "function": "minecraft:exploration_map",
                "search_radius": 100
            }
        ],
    }
}

This data will not be present by default when VillagerConfig generates data from vanilla trades, but map trades will still be made persistent even without it. Setting the trade Id is still recommended to avoid duplicatas.
The trade Id is not required to match the map's destination; this example is just how ShiftingWares handles them without villager config.

Versions Coverage

Minecraft VC SW Addon Status
1.21.11
1.21.5
v4.4 v3 v2.1+1.21.5 Maintained
1.21.4 v4.4 v3 v2.1+1.21.4 Maintained
1.21.3
1.21.2
v4.3 v3 v2.0+1.21.3 Discontinued
1.21.1
1.21.0
v4.4 v3 v2.1+1.21.4 Maintained
1.20.6
1.20.5
v4.1 v2 v1.0+1.20.6 Discontinued
1.20.4
1.20.0
v4.1 v2 v1.0+1.20.2 Discontinued
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Villainous Fish AI

价格:0 墨喵币
下载量:0

查看详情
80% Abandoned Villages

价格:0 墨喵币
下载量:0

查看详情
Explorify

价格:0 墨喵币
下载量:0

查看详情
Aerie Shaders

价格:0 墨喵币
下载量:0

查看详情