nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
PortalTransform

PortalTransform

Mod

Added a new portal recipe.

Client and server AdventureGame MechanicsMagic

7 downloads
1 follower

PortalTransform Recipe

  • 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/fantasytools/recipe/

{
        "type": "fantasytools: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.fantasytools.portal_transform(
        'minecraft:paper',
        'minecraft:iron_ingot',
        // Optional: Dimension constraints
        'the_nether',
        'overworld',
        [
            Byproducts.of('minecraft:redstone', 0.9, 1, 3)
        ]
    ).id("paper_to_iron");
})

External resources


Project members

QiHuang02

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID