consolidate miscellaneous kjs scripts into one file

less fragmenting
This commit is contained in:
ursamina
2024-07-06 20:37:23 +01:00
parent 59f9663771
commit 820debe993
4 changed files with 50 additions and 48 deletions

View File

@@ -1,12 +0,0 @@
ServerEvents.recipes((event) => {
event.remove({ id: "craftingstation:crafting_station" });
event.shapeless("craftingstation:crafting_station", [
"minecraft:crafting_table",
"#forge:tools/saws",
]);
event.remove({ id: "craftingstation:crafting_station_slab" });
event.shapeless("craftingstation:crafting_station_slab", [
"craftingstation:crafting_station",
"#forge:tools/saws",
]);
});

View File

@@ -1,21 +0,0 @@
ServerEvents.recipes((event) => {
// Void Portal
event.remove({ id: "javd:portal_block" });
event.shaped(`javd:portal_block`, ["PPP", "PEP", "PPP"], {
P: "#forge:plates/obsidian",
E: "gtceu:ender_pearl_block",
});
event.remove({ id: "travelanchors:travel_anchor" });
event.shaped(`travelanchors:travel_anchor`, ["SGS", "GPG", "SGS"], {
S: "#forge:plates/black_steel",
G: "#forge:plates/green_sapphire",
P: "ender_pearl",
});
event.remove({ id: "travelanchors:travel_staff" });
event.shaped(`travelanchors:travel_staff`, [" P", " R ", "R "], {
R: "#forge:rods/black_steel",
P: "gtceu:green_sapphire_gem",
});
});

View File

@@ -0,0 +1,50 @@
ServerEvents.recipes((event) => {
// Void Portal
event.remove({ id: "javd:portal_block" });
event.shaped(`javd:portal_block`, ["PPP", "PEP", "PPP"], {
P: "#forge:plates/obsidian",
E: "gtceu:ender_pearl_block",
});
// Travel Anchors
event.remove({ id: "travelanchors:travel_anchor" });
event.shaped(`travelanchors:travel_anchor`, ["SGS", "GPG", "SGS"], {
S: "#forge:plates/black_steel",
G: "#forge:plates/green_sapphire",
P: "ender_pearl",
});
event.remove({ id: "travelanchors:travel_staff" });
event.shaped(`travelanchors:travel_staff`, [" P", " R ", "R "], {
R: "#forge:rods/black_steel",
P: "gtceu:green_sapphire_gem",
});
// Crafting Station
event.remove({ id: "craftingstation:crafting_station" });
event.shapeless("craftingstation:crafting_station", [
"minecraft:crafting_table",
"#forge:tools/saws",
]);
event.remove({ id: "craftingstation:crafting_station_slab" });
event.shapeless("craftingstation:crafting_station_slab", [
"craftingstation:crafting_station",
"#forge:tools/saws",
]);
// Tool Belt
event.remove({ id: "toolbelt:belt" });
event.shaped("toolbelt:belt", ["SLS", "C C", "LIL"], {
S: "minecraft:string",
L: "minecraft:leather",
I: "#forge:plates/steel",
C: "#forge:screws/steel",
});
event.remove({ id: "toolbelt:pouch" });
event.shaped("toolbelt:pouch", [" G ", "LSL", " "], {
G: "#forge:rings/gold",
L: "minecraft:leather",
S: "#forge:plates/steel",
});
});

View File

@@ -1,15 +0,0 @@
ServerEvents.recipes((event) => {
event.remove({ id: "toolbelt:belt" });
event.shaped("toolbelt:belt", ["SLS", "C C", "LIL"], {
S: "minecraft:string",
L: "minecraft:leather",
I: "#forge:plates/steel",
C: "#forge:screws/steel",
});
event.remove({ id: "toolbelt:pouch" });
event.shaped("toolbelt:pouch", [" G ", "LSL", " "], {
G: "#forge:rings/gold",
L: "minecraft:leather",
S: "#forge:plates/steel",
});
});