1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-09-19 21:03:20 +02:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/minecraft/trapdoor.js

27 lines
770 B
JavaScript
Raw Permalink Normal View History

2024-06-22 21:59:23 +02:00
// Modifies the recipes for trapdoors to match the Gregified Integrations recipes
ServerEvents.recipes((event) => {
[
"minecraft:oak_trapdoor",
"minecraft:spruce_trapdoor",
"minecraft:birch_trapdoor",
"minecraft:jungle_trapdoor",
"minecraft:acacia_trapdoor",
"minecraft:dark_oak_trapdoor",
"minecraft:mangrove_trapdoor",
"minecraft:cherry_trapdoor",
"minecraft:bamboo_trapdoor",
"minecraft:crimson_trapdoor",
"minecraft:warped_trapdoor",
].forEach((d) => gregifyTrapdoorRecipe(event, "<identifier>:<name>", d));
gregifyTrapdoorRecipe(
event,
"<identifier>:<name>",
"minecraft:iron_trapdoor",
["gtceu:iron_plate", "#forge:rods/iron"]
);
event.remove({ id: "regions_unexplored:oak_trapdoor" });
});