LiamOwenWolfe Posted December 6, 2019 Report Posted December 6, 2019 I am trying to write my first and maybe only mod. Where I can take 9 (3x3) small stones of the same type eg granite to produce a matching granite block. I would like to have this be an all-in-one mod, ie it can handle all the variants and produce the correct block. Maybe there has to be one recipe per stone variant? Can this, custom recipes like this, even be done? Thanks in advance
LiamOwenWolfe Posted December 6, 2019 Author Report Posted December 6, 2019 Figured it out. This works for me, meaning the recipe. If any one else wants to use it/change it etc ... [ { ingredientPattern: "FFF FFF FFF", ingredients: { "F": { type: "item", code: "game:stone-*", name: "rock", allowedVariants: ["obsidian", "andesite", "chalk", "chert", "conglomerate", "limestone", "claystone", "granite", "sandstone", "shale", "basalt", "peridotite", "phyllite", "slate"] } }, width: 3, height: 3, output: { type: "block", code: "game:rock-{rock}", quantity: 1 } }, { ingredientPattern: "F", ingredients: { "F": { type: "item", code: "game:stone-*", quantity: 9, name: "rock", allowedVariants: ["obsidian", "andesite", "chalk", "chert", "conglomerate", "limestone", "claystone", "granite", "sandstone", "shale", "basalt", "peridotite", "phyllite", "slate"] } }, width: 1, height: 1, shapeless: true, output: { type: "block", code: "game:rock-{rock}", quantity: 1 } } ]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.