Download PortalTransform — Minecraft Mods — MetaMods

PortalTransform

Active

Downloads

0

Last update

2 months ago

Versions

1.21.1 — 1.21.6
Client and server
Neoforge
Adventure
Game mechanics
Magic
Addons

PortalTransform - Item Transformation Through Portals

Example GUI

Magical Portal Alchemy - this mod allows players to transform items by throwing them into portals of any type. Items undergo elemental transmutation that can produce byproducts. The system is fully customizable through datapacks - you can create custom transformation chains using JSON configurations.

Configuration JSON files should be placed in the directory: /data/portaltransform/recipe/

{
    "type": "portaltransform:portal_transform",
    "input": {
        "item": "minecraft:diamond"
    },
    "result": {
        "id": "minecraft:emerald"
    },
    // Optional: dimension restrictions
    // "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", // can take values "any", "clear", "rain", "thunder"
        0.1
    );
})
Project members
QiHuang02

QiHuang02

Developer

Created: 9 May 2025

ID: 88303