Make any bed dyeable, rather than just white

pull/1/head
copygirl 2 years ago
parent a94a19b015
commit 3dd242f8d7
  1. 8
      kubejs/server_scripts/recipes/dye_any_bed.js

@ -0,0 +1,8 @@
// priority: 0
onEvent("recipes", event => {
// Replace every bed dying recipe to accept any bed, rather than just a white one.
event.replaceInput({ id: /^minecraft:.*_from_white_bed$/ }, "minecraft:white_bed", "#minecraft:beds")
// Add a recipe to dye any bed into a white bed.
event.shapeless("minecraft:white_bed", [ "#minecraft:beds", "minecraft:white_dye" ]);
});
Loading…
Cancel
Save