-
Notifications
You must be signed in to change notification settings - Fork 0
Recipe Structure
BradleyPlaysTTV edited this page Jun 4, 2026
·
5 revisions
Adding recipes via datapacks is the easiest method. This page will teach you all you need to know about the recipe structure.
{
"type": "worldtransformations:world_transform",
"item": {
"item": "minecraft:cobblestone"
},
"result": {
"count": 1,
"id": "minecraft:gravel"
}
} "item": {
"item": "minecraft:oak_log"
} "item": {
"tag": "minecraft:logs"
}This is in seconds. The following example is a transformation time of 30s.
{
"transformTime": 30
}This requires you to throw the item onto a Magma Block.
{
"block": "minecraft:magma_block"
}Adding the fluid tag means your transformation item must be thrown into that fluid.
{
"fluid": "minecraft:water"
}You can replace fluids too!
{
"fluid": "minecraft:water",
"replaceFluid": "minecraft:air"
}With this recipe, throwing gravel into water gives you:
- 30% Chance of Raw Iron
- 20% Chance of Raw Copper
- 12% Chance of Lapis Lazuli
- 6.5% Chance of Raw Gold
- 6% Chance of Redstone
- 5% Chance of Diamond
- 2% Chance of Ancient Debris
This rolls per item in the stack thrown and can give multiple items in replace of the 1 input
{
"type": "worldtransformations:world_transform",
"item": {
"item": "minecraft:gravel"
},
"transformTime": 5,
"fluid": "minecraft:water",
"results": [
{ "id": "minecraft:raw_iron", "chance": 30 },
{ "id": "minecraft:raw_copper", "chance": 20 },
{ "id": "minecraft:lapis_lazuli", "chance": 12 },
{ "id": "minecraft:raw_gold", "chance": 6.5 },
{ "id": "minecraft:redstone", "chance": 6 },
{ "id": "minecraft:diamond", "chance": 5 },
{ "id": "minecraft:ancient_debris", "chance": 2 }
]
}