PortalTransform
Modby Qihuang02
Added a new portal recipe.
Description
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/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.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
Mini PC for Self-Hosting
A low-power box that can sit in a cupboard and run a modded server around the clock.
Minecraft Enderman Character Plush
Enderman plush toys, and a reliable gift for a younger player.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
PixelGO - Items (for Pixelmon)
Add new items to Pixelmon (Shiny Swapper, Skin Swapper, Random Level, Random IV, Add IV, Add EV)
Chest Stealer
A mod that allows you to quickly and automatically loot items from a chest when you open it.
Swirling Smoke
Swirling Smoke adds dynamic, weather-driven wind that makes smoke flow naturally through the environment.
chunktreefix
Fixes trees/structures cut off at chunk borders (MC-224729) on NeoForge 1.21.1.
PSWG Addon: Star Wars Adventures EP I
A small modpack that adds survival features to the Parzi's Galaxies Mod.
Love Core
Romantic Suits, Food and Decoration!