Jump to content

LiamOwenWolfe

Vintarian
  • Posts

    8
  • Joined

  • Last visited

Posts posted by LiamOwenWolfe

  1. {
        ingredientPattern: "LL,LL",
        ingredients: {
            "L": { type: "item", code: "stone-*", name: "rock", allowedVariants: ["andesite", "chalk", "chert", "conglomerate", "limestone", "claystone", "granite", "sandstone", "shale", "basalt", "peridotite", "phyllite", "slate", "bauxite"] }
        },
        width: 2,
        height: 2,
        output: { type: "block", code: "rock-{rock}", quantity: 1 }
    }

    Please can someone tell me why this kills ALL grid recipes in 1.15.5? I am making a simple mistake somewhere but I can not see it.

    All the mod is supposed to do is take a 2x2 grid of any stone type and output 1 raw stone block matching the input. I had it working just fine in 1.14x

    Thanks

    • Wolf Bait 1
  2. 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  }
    	}
    
    ]
        

     

  3. 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 :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.