Skip to main content

One post tagged with "recipes"

View All Tags

Example Script with crafts

· One min read
HollowHorizon
Developer of HE and HC
Examples
CraftingTable.replaceShaped(item("minecraft:diamond_pickaxe", 4)) {
grid( //crafting grid
"xxx",
" y ",
" y "
)

where { //items
'x' - item("minecraft:diamond_block") //if you need a tag, not a subject, then you write tag("...")
'y' - item("minecraft:cobblestone")
}

extra["stage"] = "expert" // temporarily
}

Furnace.addRecipe(item("minecraft:dirt"), item("minecraft:diamond"))

Furnace.addRecipe(item("minecraft:diamond"), item("minecraft:dirt"))