Slab back-crafting recipes now diagonal

pull/1/head
copygirl 2 years ago
parent 1dd332e3e5
commit 365bff482d
  1. 4
      kubejs/server_scripts/recipes/essentials/slabs.js

@ -14,10 +14,10 @@ onEvent("recipes", event => {
if (/^quark:.*limestone.*$/.test(output)) return;
// ... add a recipe to craft slabs in 2x2 crafting grid.
event.shaped("4x " + output, [ "SS" ], { S: input });
event.shaped("4x " + output, [ "BB" ], { B: input });
// For this to work, "pressure_plates_use_stabs.json" must also be present.
// ... add a back-crafting recipe to turn 2x slab => 1x block.
event.shapeless(input, [ output, output ]);
event.shaped(input, [ "S ", " S" ], { S: output });
});
});

Loading…
Cancel
Save