PortalTransform 图标

PortalTransform

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.7.2+1.20.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/portaltransform
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: adventure game-mechanics magic

资源介绍

PortalTransform Recipe

Example GUI

Portal Transmutation - When players hurl items into portals, they undergo elemental conversion with possible byproducts. Full datapack extensibility! Design custom transmutation chains through JSON configurations.

This JSON file should be placed in the following directory: /data/portaltransform/recipe/

{
        "type": "portaltransform:portal_transform",
        "input": {
            "item": "minecraft:diamond",
        },
        "result": {
            "id": "minecraft:emerald"
        },
        // Optional: Dimension constraints
        // "current_dimension": "minecraft:overworld",
        // "target_dimension": "minecraft:the_nether",
        "byproducts": [
            {
                "byproduct": { "id": "minecraft:lapis_lazuli" },
                "chance": 0.9,
                "counts": {
                    "min": 1,
                    "max": 3
                }
            }
        ]
    }
ServerEvents.recipes((event) => {
    event.recipes.portaltransform.item_transform(
        "minecraft:cobblestone",
        "minecraft:prismarine",
        [
                 Byproduct.of("minecraft:redstone", 0.8, 1, 4)
        ],
        {
            current: "minecraft:overworld",
            target: "minecraft:the_nether"
        },
        "any", // It can be "any", "clear", "rain", "thunder"
        0.1
    );
})

If you find errors according to the code on this page, you may need to check here.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TarkovCraft: Core

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

查看详情
AeronauticsCiC

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

查看详情
Sodium & Addons - Русский перевод

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

查看详情
Deeper and Slimier

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

查看详情