PortalTransform

PortalTransform

Added a new portal recipe.

1 743 downloads 12 followers

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.

No gallery available for this project.

Version Minecraft Loader Download

PortalTransform 0.7.2+1.20.1

0.7.2+1.20.1

1.20.1
forge
Download

PortalTransform 0.7.2+1.21.1

0.7.2+1.21.1

1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
neoforge
Download

PortalTransform 0.6.8+1.21.1

0.6.8+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6
neoforge
Download

PortalTransform 0.6.7+1.21.1

0.6.7+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6
neoforge
Download

PortalTransform 0.6.6+1.21.1

0.6.6+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6
neoforge
Download

PortalTransform 0.6.5+1.21.1

0.6.5+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
neoforge
Download

PortalTransform 0.6.4+1.21.1

0.6.4+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
neoforge
Download

PortalTransform 0.6.1+1.21.1

0.6.1+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
neoforge
Download

PortalTransform 0.6.0+1.21.X

0.6.0+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
neoforge
Download

PortalTransform 0.5.9+1.21.X

0.5.9+1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
neoforge
Download