add first patch
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
console.info("[SOCIETY] addBottleRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const bottleRecipes = (item, fluid, amount, container) => {
|
||||
e.custom({
|
||||
type: "create:filling",
|
||||
ingredients: [
|
||||
{
|
||||
item: container,
|
||||
},
|
||||
{
|
||||
amount: amount,
|
||||
fluid: fluid,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: item,
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:emptying",
|
||||
ingredients: [
|
||||
{
|
||||
item: item,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: container,
|
||||
},
|
||||
{
|
||||
amount: amount,
|
||||
fluid: fluid,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
const recipes = [
|
||||
{
|
||||
item: "vinery:apple_juice",
|
||||
fluid: "vinery:apple_juice",
|
||||
amount: 250,
|
||||
container: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:ancient_juice",
|
||||
fluid: "society:ancient_fruit_juice",
|
||||
amount: 250,
|
||||
container: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:starfruit_juice",
|
||||
fluid: "society:starfruit_juice",
|
||||
amount: 250,
|
||||
container: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:mana_fruit_juice",
|
||||
fluid: "society:mana_fruit_juice",
|
||||
amount: 250,
|
||||
container: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:sparkpod_juice",
|
||||
fluid: "society:sparkpod_juice",
|
||||
amount: 250,
|
||||
container: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
item: "relics:relic_experience_bottle",
|
||||
fluid: "relics:relic_experience",
|
||||
amount: 50,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:pine_tar",
|
||||
fluid: "society:pine_tar",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:oak_resin",
|
||||
fluid: "society:oak_resin",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:mystic_syrup",
|
||||
fluid: "society:mystic_syrup",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:maple_syrup",
|
||||
fluid: "society:maple_syrup",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "society:aloe_preserves",
|
||||
fluid: "create_central_kitchen:aloe_gel",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "vintagedelight:vinegar_bottle",
|
||||
fluid: "society:vinegar",
|
||||
amount: 250,
|
||||
container: "minecraft:glass_bottle",
|
||||
},
|
||||
{
|
||||
item: "vintagedelight:vinegar_mason_jar",
|
||||
fluid: "society:vinegar",
|
||||
amount: 750,
|
||||
container: "bakery:jar",
|
||||
},
|
||||
];
|
||||
recipes.forEach((recipe) => {
|
||||
bottleRecipes(recipe.item, recipe.fluid, recipe.amount, recipe.container);
|
||||
});
|
||||
e.custom({
|
||||
type: "create:filling",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "society:raw_logs",
|
||||
},
|
||||
{
|
||||
amount: 50,
|
||||
fluid: "society:oak_resin",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "society:treated_log",
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
// REMOVED
|
||||
@@ -0,0 +1,53 @@
|
||||
console.info("[SOCIETY] addCompactingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const compact = (output, compactInput, count) => {
|
||||
e.shapeless(`${count}x ${compactInput}`, [output]);
|
||||
e.shapeless(output, [`${count}x ${compactInput}`]);
|
||||
};
|
||||
compact("numismatics:bevel", "numismatics:spur", 8);
|
||||
compact("numismatics:sprocket", "numismatics:bevel", 2);
|
||||
compact("numismatics:cog", "numismatics:sprocket", 4);
|
||||
compact("numismatics:crown", "numismatics:cog", 8);
|
||||
compact("numismatics:sun", "numismatics:crown", 8);
|
||||
|
||||
compact("society:sparkstone_block", "society:sparkstone", 9);
|
||||
compact("society:animal_feed_sack", "society:animal_feed", 9);
|
||||
compact("herbalbrews:coffee_beans_sack", "herbalbrews:coffee_beans", 9);
|
||||
compact("herbalbrews:rooibos_leaf_block", "herbalbrews:rooibos_leaf", 9);
|
||||
compact("herbalbrews:yerba_mate_leaf_block", "herbalbrews:yerba_mate_leaf", 9);
|
||||
compact("society:ancient_fruit_crate", "society:ancient_fruit", 9);
|
||||
compact("society:blueberry_crate", "society:blueberry", 9);
|
||||
compact("society:eggplant_crate", "society:eggplant", 9);
|
||||
compact("society:tubabacco_leaf_block", "society:tubabacco_leaf", 9);
|
||||
compact("society:tubasmoke_carton", "society:tubasmoke_stick", 9);
|
||||
compact("society:mana_fruit_crate", "society:mana_fruit", 9);
|
||||
compact("society:sparkpod_crate", "society:sparkpod", 9);
|
||||
compact("society:prismatic_shard_block", "society:prismatic_shard", 9);
|
||||
compact("society:sturdy_bamboo_block", "minecraft:bamboo_block", 9);
|
||||
|
||||
compact("numismatics:neptunium_coin", "numismatics:sun", 8);
|
||||
compact("numismatics:ancient_coin", "numismatics:neptunium_coin", 8);
|
||||
compact("numismatics:prismatic_coin", "numismatics:ancient_coin", 64);
|
||||
|
||||
compact("etcetera:bismuth_ingot", "etcetera:bismuth_nugget", 9);
|
||||
const milks = [
|
||||
"milk",
|
||||
"goat_milk",
|
||||
"buffalo_milk",
|
||||
"sheep_milk",
|
||||
"warped_milk",
|
||||
"grain_milk",
|
||||
"amethyst_milk",
|
||||
"tri_bull_milk",
|
||||
];
|
||||
milks.forEach((milk) => {
|
||||
compact(`society:large_${milk}`, `society:${milk}`, 4);
|
||||
});
|
||||
e.shapeless("9x nethervinery:warped_grape", ["nethervinery:warped_grape_crate"]);
|
||||
e.shapeless("9x nethervinery:crimson_grape", ["nethervinery:crimson_grape_crate"]);
|
||||
compact("society:salmonberry_crate", "society:salmonberry", 9);
|
||||
compact("society:boysenberry_crate", "society:boysenberry", 9);
|
||||
compact("society:cranberry_crate", "society:cranberry", 9);
|
||||
compact("society:crystalberry_crate", "society:crystalberry", 9);
|
||||
});
|
||||
@@ -0,0 +1,86 @@
|
||||
console.info("[SOCIETY] addCrushingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const crushedRecipes = (input, output, outputCount, ignoreMincer) => {
|
||||
if (!ignoreMincer) {
|
||||
e.custom({
|
||||
type: "farm_and_charm:mincer",
|
||||
ingredient: {
|
||||
item: input,
|
||||
},
|
||||
recipe_type: "MEAT",
|
||||
result: {
|
||||
count: outputCount,
|
||||
item: output,
|
||||
},
|
||||
});
|
||||
}
|
||||
e.custom({
|
||||
type: "create:milling",
|
||||
ingredients: [
|
||||
{
|
||||
item: input,
|
||||
},
|
||||
],
|
||||
processingTime: 40,
|
||||
results: [
|
||||
{
|
||||
count: outputCount,
|
||||
item: output,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
crushedRecipes("society:neptuna", "aquaculture:neptunium_nugget", 2);
|
||||
crushedRecipes("aquaculture:worm", "crabbersdelight:crab_trap_bait", 2);
|
||||
crushedRecipes("aquaculture:minnow", "crabbersdelight:crab_trap_bait", 16);
|
||||
crushedRecipes("aquaculture:leech", "crabbersdelight:crab_trap_bait", 32);
|
||||
|
||||
crushedRecipes("pamhc2trees:cinnamonitem", "society:ground_cinnamon", 4);
|
||||
crushedRecipes("herbalbrews:coffee_beans", "herbalbrews:ground_coffee", 1);
|
||||
crushedRecipes("minecraft:beef", "farm_and_charm:minced_beef", 1, true);
|
||||
crushedRecipes("minecraft:mutton", "farm_and_charm:lamb_ham", 1, true);
|
||||
crushedRecipes("minecraft:baked_potato", "brewery:mashed_potatoes", 2, true);
|
||||
crushedRecipes("society:sparkpod", "society:sparkstone", 3);
|
||||
e.custom({
|
||||
type: "farmersdelight:cutting",
|
||||
ingredients: [
|
||||
{
|
||||
tag: "forge:dough",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "farm_and_charm:raw_pasta",
|
||||
},
|
||||
],
|
||||
tool: {
|
||||
tag: "forge:tools/knives",
|
||||
},
|
||||
});
|
||||
e.custom({
|
||||
type: "farmersdelight:cutting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:cooked_chicken",
|
||||
},
|
||||
],
|
||||
result: [
|
||||
{
|
||||
item: "brewery:half_chicken",
|
||||
},
|
||||
],
|
||||
tool: {
|
||||
tag: "forge:tools/knives",
|
||||
},
|
||||
});
|
||||
const spoutingRecipes = [
|
||||
{ input: "create:crushed_raw_iron", output: ["minecraft:raw_iron"] },
|
||||
{ input: "minecraft:raw_copper", output: ["create:crushed_raw_copper"] },
|
||||
{ input: "minecraft:raw_gold", output: ["create:crushed_raw_gold"] },
|
||||
{ input: "create:raw_zinc", output: ["create:crushed_raw_zinc"] },
|
||||
{ input: "oreganized:raw_lead", output: ["oreganized:raw_lead"] },
|
||||
{ input: "oreganized:raw_silver", output: ["create:crushed_raw_silver"] },
|
||||
{ input: "etcetera:raw_bismuth", output: ["create:crushed_raw_bismuth"] },
|
||||
];
|
||||
});
|
||||
@@ -0,0 +1,34 @@
|
||||
console.info("[SOCIETY] addCupRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
e.shapeless("8x herbalbrews:water_cup", ["minecraft:water_bucket"]);
|
||||
e.shapeless("herbalbrews:milk_coffee", ["herbalbrews:coffee", "#society:small_milk"]);
|
||||
e.shapeless("society:chai_blend", [
|
||||
"herbalbrews:dried_black_tea",
|
||||
"minecraft:sugar",
|
||||
"society:ground_cinnamon",
|
||||
]);
|
||||
e.shapeless("society:latte", ["society:espresso", "society:espresso", "society:steamed_milk"]);
|
||||
e.shapeless("society:mocha", [
|
||||
"society:espresso",
|
||||
"bakery:chocolate_jam",
|
||||
"society:steamed_milk",
|
||||
"minecraft:sugar",
|
||||
]);
|
||||
e.shapeless("society:dirty_chai", [
|
||||
"society:espresso",
|
||||
"herbalbrews:chai_tea",
|
||||
"society:steamed_milk",
|
||||
]);
|
||||
e.shapeless("society:bowl_of_soul", [
|
||||
"herbalbrews:rooibos_tea",
|
||||
"society:ground_cinnamon",
|
||||
"society:steamed_milk",
|
||||
]);
|
||||
e.shapeless("society:truffle_tea", [
|
||||
"herbalbrews:yerba_mate_tea",
|
||||
"society:truffle",
|
||||
"society:dried_tubabacco_leaf",
|
||||
"society:steamed_milk",
|
||||
]);
|
||||
});
|
||||
@@ -0,0 +1,35 @@
|
||||
console.info("[SOCIETY] addFishBaits.js loaded");
|
||||
|
||||
ServerEvents.highPriorityData((e) => {
|
||||
global.fish.forEach((fish) => {
|
||||
const splitFish = fish.item.split(":");
|
||||
let fishId = splitFish[1];
|
||||
if (
|
||||
["barrel", "roe", "meat"].some((denied) => splitFish[1].includes(denied))
|
||||
)
|
||||
return;
|
||||
if (fishId.includes("raw_")) {
|
||||
if (fishId === "raw_snowflake") fishId = "frosty_fin";
|
||||
else fishId = fishId.substring(4, fishId.length);
|
||||
}
|
||||
e.addJson(
|
||||
`crabbersdelight:loot_tables/gameplay/crab_trap_loot/society/${fishId}_bait.json`,
|
||||
{
|
||||
type: "minecraft:fishing",
|
||||
pools: [
|
||||
{
|
||||
rolls: 1,
|
||||
bonus_rolls: 0,
|
||||
entries: [
|
||||
{
|
||||
type: "minecraft:item",
|
||||
weight: 1,
|
||||
name: fish.item,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,256 @@
|
||||
console.info("[SOCIETY] addGrapeJuiceRecipes.js loaded");
|
||||
|
||||
const netherGrapeJuices = ["crimson", "warped"];
|
||||
const nethergrapes = ["crimson_grape", "warped_grape"];
|
||||
const nether = ["crimson", "warped"];
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const juiceFromPress = (juice, grape) => {
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${grape}`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 50,
|
||||
fluid: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${juice}_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
const spoutBottling = (juice) => {
|
||||
e.custom({
|
||||
type: "create:filling",
|
||||
ingredients: [
|
||||
{
|
||||
item: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluidTag: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${juice}_grape_juice`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${juice}_grapejuice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:emptying",
|
||||
ingredients: [
|
||||
{
|
||||
item: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${juice}_grapejuice`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluid: `${
|
||||
nether.includes(juice) ? "nethervinery" : "vinery"
|
||||
}:${juice}_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
const spoutBasicBottling = (juice, color) => {
|
||||
e.custom({
|
||||
type: "create:filling",
|
||||
ingredients: [
|
||||
{
|
||||
item: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluidTag: `vinery:${juice}_grape_juice`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: `vinery:${color}_grapejuice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
netherGrapeJuices.forEach((juice, index) => {
|
||||
juiceFromPress(juice, nethergrapes[index]);
|
||||
spoutBottling(juice, nethergrapes[index]);
|
||||
});
|
||||
|
||||
e.custom({
|
||||
type: "create:emptying",
|
||||
ingredients: [
|
||||
{
|
||||
item: `vinery:white_grapejuice`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluid: `vinery:white_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
e.custom({
|
||||
type: "create:emptying",
|
||||
ingredients: [
|
||||
{
|
||||
item: `vinery:red_grapejuice`,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "vinery:wine_bottle",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluid: `vinery:red_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
["red", "red_savanna", "red_jungle", "red_taiga"].forEach((juice, index) => {
|
||||
spoutBasicBottling(juice, "red");
|
||||
});
|
||||
["white", "white_savanna", "white_jungle", "white_taiga"].forEach(
|
||||
(juice, index) => {
|
||||
spoutBasicBottling(juice, "white");
|
||||
}
|
||||
);
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
[
|
||||
{ item: "vinery:red_grape" },
|
||||
{ item: "vinery:savanna_grapes_red" },
|
||||
{ item: "vinery:jungle_grapes_red" },
|
||||
{ item: "vinery:taiga_grapes_red" },
|
||||
],
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 50,
|
||||
fluid: `vinery:red_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
[
|
||||
{ item: "vinery:white_grape" },
|
||||
{ item: "vinery:savanna_grapes_white" },
|
||||
{ item: "vinery:jungle_grapes_white" },
|
||||
{ item: "vinery:taiga_grapes_white" },
|
||||
],
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 50,
|
||||
fluid: `vinery:white_grape_juice`,
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:apple",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "vinery:apple_mash",
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "vinery:apple_mash",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "vinery:apple_juice",
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:ancient_fruit",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:ancient_fruit_juice",
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "pamhc2trees:starfruititem",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:starfruit_juice",
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:sparkpod",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:sparkpod_juice",
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:mana_fruit",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:mana_fruit_juice",
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,42 @@
|
||||
console.info("[SOCIETY] addHammerRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const materials = ["stone", "iron", "gold", "diamond", "netherite"];
|
||||
const cores = ["", "impact"];
|
||||
|
||||
materials.forEach((material, materialIndex) => {
|
||||
// Base hammer recipes
|
||||
e.shaped(`justhammers:${material}_hammer`, ["BcB", "BsB", " s "], {
|
||||
B: material == "stone" ? "minecraft:stone" : `minecraft:${material}_block`,
|
||||
s: "minecraft:stick",
|
||||
c: "justhammers:small_core",
|
||||
});
|
||||
// Base upgrade material
|
||||
if (material !== "netherite") {
|
||||
e.shaped(`justhammers:${materials[materialIndex + 1]}_hammer`, [" B ", "BhB", " B "], {
|
||||
B: `minecraft:${materials[materialIndex + 1]}_block`,
|
||||
h: `justhammers:${material}_hammer`,
|
||||
});
|
||||
}
|
||||
cores.forEach((core, coreIndex) => {
|
||||
if (coreIndex > 0 && material !== "netherite") {
|
||||
// Upgrading materials at each core
|
||||
e.shaped(
|
||||
`justhammers:${materials[materialIndex + 1]}_${core}_hammer`,
|
||||
[" B ", "BhB", " B "],
|
||||
{
|
||||
B: `minecraft:${materials[materialIndex + 1]}_block`,
|
||||
h: `justhammers:${material}_${core}_hammer`,
|
||||
}
|
||||
);
|
||||
}
|
||||
if (coreIndex > 0) {
|
||||
// Upgrading core recipes
|
||||
e.shapeless(`justhammers:${material}_${core}_hammer`, [
|
||||
`justhammers:${material}_hammer`,
|
||||
`justhammers:${core}_core`,
|
||||
]);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,66 @@
|
||||
console.info("[SOCIETY] addKineticsRecipes.jsloaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
e.shaped("2x society:kinetic_blueprint", [
|
||||
"ppp",
|
||||
"pBp",
|
||||
"ppp"
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
p: "minecraft:paper",
|
||||
})
|
||||
|
||||
e.shaped("create:windmill_bearing", [
|
||||
" B ",
|
||||
"aCa",
|
||||
"asa"
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
C: "oreganized:lead_block",
|
||||
s: "create:shaft",
|
||||
a: "create:andesite_casing"
|
||||
}).keepIngredient("society:kinetic_blueprint")
|
||||
|
||||
e.shaped("create:water_wheel", [
|
||||
"LlL",
|
||||
"lBl",
|
||||
"LlL"
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
L: "oreganized:lead_ingot",
|
||||
l: "meadow:fire_log",
|
||||
}).keepIngredient("society:kinetic_blueprint")
|
||||
|
||||
e.shaped("create:steam_engine", [
|
||||
" B ",
|
||||
" L ",
|
||||
" c "
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
L: "oreganized:lead_block",
|
||||
c: "create:copper_casing"
|
||||
}).keepIngredient("society:kinetic_blueprint")
|
||||
|
||||
e.shaped("create:mechanical_bearing", [
|
||||
" B ",
|
||||
"CbC",
|
||||
"asa"
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
C: "oreganized:lead_block",
|
||||
s: "create:shaft",
|
||||
b: "society:battery",
|
||||
a: "create:andesite_casing"
|
||||
}).keepIngredient("society:kinetic_blueprint")
|
||||
|
||||
e.shaped("create:cart_assembler", [
|
||||
" B ",
|
||||
"bEb",
|
||||
"l l"
|
||||
], {
|
||||
B: "society:kinetic_blueprint",
|
||||
E: "oreganized:electrum_block",
|
||||
l: "oreganized:lead_ingot",
|
||||
b: "create:brass_casing"
|
||||
}).keepIngredient("society:kinetic_blueprint")
|
||||
});
|
||||
@@ -0,0 +1,42 @@
|
||||
console.info("[SOCIETY] addMailboxRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const recipes = [
|
||||
{ type: "autumnity:maple", mailbox: "everycomp:rfm/autumnity/maple_mail_box" },
|
||||
{ type: "atmospheric:kousa", mailbox: "everycomp:rfm/atmospheric/kousa_mail_box" },
|
||||
{ type: "meadow:pine", mailbox: "everycomp:rfm/meadow/pine_mail_box" },
|
||||
{ type: "atmospheric:aspen", mailbox: "everycomp:rfm/atmospheric/aspen_mail_box" },
|
||||
{ type: "atmospheric:yucca", mailbox: "everycomp:rfm/atmospheric/yucca_mail_box" },
|
||||
{ type: "atmospheric:rosewood", mailbox: "everycomp:rfm/atmospheric/rosewood_mail_box" },
|
||||
{ type: "atmospheric:morado", mailbox: "everycomp:rfm/atmospheric/morado_mail_box" },
|
||||
{ type: "beachparty:palm", mailbox: "everycomp:rfm/beachparty/palm_mail_box" },
|
||||
{ type: "atmospheric:grimwood", mailbox: "everycomp:rfm/atmospheric/grimwood_mail_box" },
|
||||
{ type: "atmospheric:laurel", mailbox: "everycomp:rfm/atmospheric/laurel_mail_box" },
|
||||
{ type: "vinery:dark_cherry", mailbox: "everycomp:rfm/vinery/dark_cherry_mail_box" },
|
||||
{ type: "betterarcheology:rotten", mailbox: "everycomp:rfm/betterarcheology/rotten_mail_box" },
|
||||
{ type: "quark:ancient", mailbox: "everycomp:rfm/quark/ancient_mail_box" },
|
||||
{ type: "quark:azalea", mailbox: "everycomp:rfm/quark/azalea_mail_box" },
|
||||
{ type: "quark:blossom", mailbox: "everycomp:rfm/quark/blossom_mail_box" },
|
||||
{ type: "botania:dreamwood", mailbox: "everycomp:rfm/botania/dreamwood_mail_box" },
|
||||
{ type: "botania:livingwood", mailbox: "everycomp:rfm/botania/livingwood_mail_box" },
|
||||
{ type: "minecraft:pale_oak", mailbox: "everycomp:rfm/minecraft/pale_oak_mail_box", },
|
||||
{ type: "windswept:chestnut", mailbox: "everycomp:rfm/windswept/chestnut_mail_box", },
|
||||
{ type: "windswept:pine", mailbox: "everycomp:rfm/windswept/pine_mail_box", },
|
||||
{ type: "windswept:holly", mailbox: "everycomp:rfm/windswept/holly_mail_box", },
|
||||
{ type: "cluttered:poplar", mailbox: "everycomp:rfm/cluttered/poplar_mail_box", },
|
||||
{ type: "cluttered:willow", mailbox: "everycomp:rfm/cluttered/willow_mail_box", },
|
||||
{ type: "cluttered:sycamore", mailbox: "everycomp:rfm/cluttered/sycamore_mail_box", },
|
||||
];
|
||||
|
||||
recipes.forEach((recipe) => {
|
||||
const { type, mailbox } = recipe;
|
||||
// Thanks Vaskii for having slabs be x_planks_slab
|
||||
e.shaped(mailbox, ["sss", "pbp", " f "], {
|
||||
s:
|
||||
type.includes("botania") || type.includes("quark") ? `${type}_planks_slab` : `${type}_slab`,
|
||||
p: `${type}_planks`,
|
||||
b: "minecraft:barrel",
|
||||
f: `${type}_fence`,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,43 @@
|
||||
console.info("[SOCIETY] addChunkroditeRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const addDrainRecipe = (item, amount) => {
|
||||
e.custom({
|
||||
type: "create:emptying",
|
||||
ingredients: [
|
||||
{
|
||||
item: item,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
amount: amount,
|
||||
fluid: "society:milk",
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
[
|
||||
"society:large_milk",
|
||||
"society:large_goat_milk",
|
||||
"society:large_buffalo_milk",
|
||||
"society:large_sheep_milk",
|
||||
"society:large_warped_milk",
|
||||
"society:large_grain_milk",
|
||||
"society:large_amethyst_milk"
|
||||
].forEach((milk) => {
|
||||
addDrainRecipe(milk, 1000);
|
||||
});
|
||||
[
|
||||
"society:goat_milk",
|
||||
"society:milk",
|
||||
"society:buffalo_milk",
|
||||
"society:warped_milk",
|
||||
"society:sheep_milk",
|
||||
"society:grain_milk",
|
||||
"society:amethyst_milk"
|
||||
|
||||
].forEach((milk) => {
|
||||
addDrainRecipe(milk, 250);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,62 @@
|
||||
console.info("[SOCIETY] addMillingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const addKnifeRecipe = (input, output, outputCount) => {
|
||||
e.custom({
|
||||
type: "farmersdelight:cutting",
|
||||
ingredients: [{ item: input }],
|
||||
tool: { tag: "forge:tools/knives" },
|
||||
result: [{ item: output, count: outputCount }],
|
||||
});
|
||||
};
|
||||
const addMillRecipe = (input, output, outputCount) => {
|
||||
e.custom({
|
||||
type: "create:milling",
|
||||
ingredients: [
|
||||
{
|
||||
item: input,
|
||||
},
|
||||
],
|
||||
processingTime: 400,
|
||||
results: [
|
||||
{
|
||||
count: outputCount,
|
||||
item: output,
|
||||
},
|
||||
],
|
||||
});
|
||||
e.custom({
|
||||
type: "farm_and_charm:mincer",
|
||||
ingredient: {
|
||||
item: input,
|
||||
},
|
||||
recipe_type: "STONE",
|
||||
result: {
|
||||
count: outputCount,
|
||||
item: output,
|
||||
},
|
||||
});
|
||||
};
|
||||
e.custom({
|
||||
type: "farmersdelight:cutting",
|
||||
ingredients: [{ item: "minecraft:flint" }],
|
||||
tool: { tag: "forge:tools/pickaxes" },
|
||||
result: [{ item: "twigs:pebble", count: 2 }],
|
||||
});
|
||||
addKnifeRecipe("farm_and_charm:barley", "society:animal_feed", 2);
|
||||
addKnifeRecipe("farm_and_charm:corn", "society:animal_feed", 4);
|
||||
addKnifeRecipe("farm_and_charm:oat", "society:animal_feed", 6);
|
||||
addKnifeRecipe("minecraft:wheat", "society:animal_feed", 8);
|
||||
addMillRecipe("farm_and_charm:barley_ball", "society:animal_feed_sack", 2);
|
||||
addMillRecipe("farm_and_charm:corn_bag", "society:animal_feed_sack", 4);
|
||||
addMillRecipe("farm_and_charm:oat_ball", "society:animal_feed_sack", 6);
|
||||
addMillRecipe("minecraft:hay_block", "society:animal_feed_sack", 8);
|
||||
addMillRecipe("society:animal_feed_sack", "society:animal_feed", 9);
|
||||
|
||||
addMillRecipe('farm_and_charm:barley', 'farm_and_charm:flour', 1);
|
||||
addMillRecipe('farm_and_charm:corn', 'farm_and_charm:flour', 3);
|
||||
addMillRecipe('farm_and_charm:oat', 'farm_and_charm:flour', 6);
|
||||
addMillRecipe('minecraft:wheat', 'farm_and_charm:flour', 9);
|
||||
addMillRecipe('society:sparkstone', 'society:sparkstone_dust', 1);
|
||||
addMillRecipe('minecraft:flint', 'twigs:pebble', 2);
|
||||
});
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,41 @@
|
||||
console.info("[SOCIETY] addPlankRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
[
|
||||
{ plank: "autumnity:maple_planks", slab: "autumnity:maple_slab" },
|
||||
{ plank: "atmospheric:kousa_planks", slab: "atmospheric:kousa_slab" },
|
||||
{ plank: "meadow:pine_planks", slab: "meadow:pine_slab" },
|
||||
{ plank: "atmospheric:aspen_planks", slab: "atmospheric:aspen_slab" },
|
||||
{ plank: "atmospheric:yucca_planks", slab: "atmospheric:yucca_slab" },
|
||||
{ plank: "atmospheric:rosewood_planks", slab: "atmospheric:rosewood_slab" },
|
||||
{ plank: "atmospheric:morado_planks", slab: "atmospheric:morado_slab" },
|
||||
{ plank: "beachparty:palm_planks", slab: "beachparty:palm_slab" },
|
||||
{ plank: "atmospheric:grimwood_planks", slab: "atmospheric:grimwood_slab" },
|
||||
{ plank: "atmospheric:laurel_planks", slab: "atmospheric:laurel_slab" },
|
||||
{ plank: "vinery:dark_cherry_planks", slab: "vinery:dark_cherry_slab" },
|
||||
{ plank: "minecraft:pale_oak_planks", slab: "minecraft:pale_oak_slab" },
|
||||
].forEach((recipe) => {
|
||||
const { plank, slab } = recipe;
|
||||
e.shaped(`6x ${slab}`, [" ", "ppp", " "], {
|
||||
p: plank,
|
||||
});
|
||||
});
|
||||
|
||||
[
|
||||
"atmospheric:kousa_planks",
|
||||
"atmospheric:laurel_planks",
|
||||
"atmospheric:morado_planks",
|
||||
"atmospheric:yucca_planks",
|
||||
"autumnity:maple_planks",
|
||||
"atmospheric:rosewood_planks",
|
||||
"atmospheric:grimwood_planks",
|
||||
"betterarcheology:rotten_planks",
|
||||
"meadow:pine_planks",
|
||||
"beachparty:palm_planks",
|
||||
"minecraft:pale_oak_planks"
|
||||
].forEach((plank) => {
|
||||
e.shaped("minecraft:chest", ["ppp", "p p", "ppp"], {
|
||||
p: plank,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,424 @@
|
||||
console.info("[SOCIETY] addMixerRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const createMixerRecipe = (inputs, output, count) => {
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
results: [
|
||||
{
|
||||
item: output,
|
||||
count: count,
|
||||
},
|
||||
],
|
||||
ingredients: inputs,
|
||||
});
|
||||
};
|
||||
|
||||
const recipes = [
|
||||
{
|
||||
output: "candlelight:mozzarella",
|
||||
inputs: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "minecraft:water",
|
||||
},
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:milk",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "farm_and_charm:butter",
|
||||
inputs: [
|
||||
{
|
||||
amount: 250,
|
||||
fluid: "society:milk",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:tomato_mozzarella_salad",
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
tag: "forge:cheeses",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:salad",
|
||||
count: 4,
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
tag: "forge:vegetables/cabbage",
|
||||
},
|
||||
{
|
||||
tag: "forge:cheeses",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:fresh_garden_salad",
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
tag: "forge:vegetables/cabbage",
|
||||
},
|
||||
{
|
||||
item: "minecraft:carrot",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:beef_tartare",
|
||||
count: 2,
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:onion",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:minced_beef",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:harvest_plate",
|
||||
count: 3,
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
{
|
||||
item: "minecraft:carrot",
|
||||
},
|
||||
{
|
||||
item: "minecraft:potato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "candlelight:beetroot_salad",
|
||||
count: 2,
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:bowl",
|
||||
},
|
||||
{
|
||||
tag: "forge:cheeses",
|
||||
},
|
||||
{
|
||||
item: "minecraft:beetroot",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "farm_and_charm:farmer_salad",
|
||||
count: 2,
|
||||
inputs: [
|
||||
{
|
||||
tag: "forge:vegetables/cabbage",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:strawberry",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:onion",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "brewery:potato_salad",
|
||||
count: 2,
|
||||
inputs: [
|
||||
{
|
||||
item: "minecraft:beetroot",
|
||||
},
|
||||
{
|
||||
tag: "forge:vegetables/cabbage",
|
||||
},
|
||||
{
|
||||
item: "farmersdelight:tomato",
|
||||
},
|
||||
{
|
||||
item: "minecraft:baked_potato",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
output: "farm_and_charm:oatmeal_with_strawberries",
|
||||
count: 2,
|
||||
inputs: [
|
||||
{
|
||||
amount: 1000,
|
||||
fluid: "society:milk",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:oat",
|
||||
},
|
||||
{
|
||||
item: "farm_and_charm:strawberry",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
recipes.forEach((recipe) => {
|
||||
createMixerRecipe(recipe.inputs, recipe.output, recipe.count || 1);
|
||||
});
|
||||
// Additional recipes that don't fit the simple format
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:lapis_lazuli",
|
||||
},
|
||||
{
|
||||
fluid: "society:ancient_fruit_juice",
|
||||
amount: 100,
|
||||
},
|
||||
{
|
||||
fluid: "create_enchantment_industry:experience",
|
||||
amount: 100,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "create_enchantment_industry:hyper_experience",
|
||||
amount: 20,
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:pristine_star_shards",
|
||||
},
|
||||
{
|
||||
fluid: "society:starfruit_juice",
|
||||
amount: 100,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "create_enchantment_industry:experience",
|
||||
amount: 20,
|
||||
},
|
||||
{
|
||||
item: "society:pristine_star_shards",
|
||||
},
|
||||
],
|
||||
heatRequirement: "heated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:prismatic_shard",
|
||||
},
|
||||
{
|
||||
fluid: "create_enchantment_industry:hyper_experience",
|
||||
amount: 20,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "relics:relic_experience",
|
||||
amount: 20,
|
||||
},
|
||||
{
|
||||
item: "society:prismatic_shard",
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:glowstone_dust",
|
||||
},
|
||||
{
|
||||
fluid: "society:ancient_fruit_juice",
|
||||
amount: 250,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "supplementaries:lumisene",
|
||||
amount: 250,
|
||||
},
|
||||
],
|
||||
heatRequirement: "heated",
|
||||
});
|
||||
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:ancient_fruit",
|
||||
},
|
||||
{
|
||||
fluid: "society:oak_resin",
|
||||
amount: 50,
|
||||
},
|
||||
{
|
||||
fluid: "society:vinegar",
|
||||
amount: 500,
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "society:alchemical_varnish",
|
||||
amount: 500,
|
||||
},
|
||||
],
|
||||
heatRequirement: "heated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "oreganized:lead_ingot",
|
||||
},
|
||||
{
|
||||
item: "create:powdered_obsidian",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "oreganized:molten_lead",
|
||||
amount: 200,
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:netherite_upgrade_smithing_template",
|
||||
},
|
||||
{
|
||||
item: "create:powdered_obsidian",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "oreganized:electrum_upgrade_smithing_template",
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "society:sun_candy",
|
||||
},
|
||||
{
|
||||
fluid: "create_central_kitchen:aloe_gel",
|
||||
amount: 50,
|
||||
},
|
||||
{
|
||||
fluid: "society:mystic_syrup",
|
||||
amount: 250,
|
||||
}
|
||||
],
|
||||
results: [
|
||||
{
|
||||
fluid: "society:mystic_jelly",
|
||||
amount: 250,
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "minecraft:turtle_egg"
|
||||
},
|
||||
{
|
||||
item: "society:ocean_stone",
|
||||
},
|
||||
{
|
||||
item: "gag:sacred_salt",
|
||||
},
|
||||
{
|
||||
item: "minecraft:tube_coral_block",
|
||||
},
|
||||
{
|
||||
fluid: "minecraft:water",
|
||||
amount: 500,
|
||||
},
|
||||
{
|
||||
fluid: "society:mystic_jelly",
|
||||
amount: 500,
|
||||
}
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "society:ocean_jelly",
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
e.custom({
|
||||
type: "create:mixing",
|
||||
ingredients: [
|
||||
{
|
||||
item: "species:cracked_wraptor_egg",
|
||||
},
|
||||
{
|
||||
item: "society:dried_crimson_fungus",
|
||||
},
|
||||
{
|
||||
item: "society:dried_warped_fungus",
|
||||
},
|
||||
{
|
||||
item: "netherdepthsupgrade:eyeball"
|
||||
},
|
||||
{
|
||||
fluid: "minecraft:lava",
|
||||
amount: 500,
|
||||
},
|
||||
{
|
||||
fluid: "society:mystic_jelly",
|
||||
amount: 500,
|
||||
}
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "society:nether_jelly",
|
||||
},
|
||||
],
|
||||
heatRequirement: "superheated",
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,53 @@
|
||||
console.info("[SOCIETY] addMysticalFlowerSeedRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const seedMap = new Map([
|
||||
["green", "vintagedelight:cucumber"],
|
||||
["cyan", "supplementaries:flax"],
|
||||
["light_blue", "society:ancient_fruit"],
|
||||
["blue", "society:blueberry"],
|
||||
["purple", "society:eggplant"],
|
||||
["magenta", "vintagedelight:gearo_berry"],
|
||||
["pink", "farm_and_charm:strawberry"],
|
||||
["white", "veggiesdelight:cauliflower"],
|
||||
["light_gray", "veggiesdelight:garlic"],
|
||||
["gray", "atmospheric:currant"],
|
||||
["black", "vintagedelight:ghost_charcoal"],
|
||||
["brown", "snowyspirit:ginger"],
|
||||
["red", "minecraft:beetroot"],
|
||||
["orange", 'veggiesdelight:bellpepper'],
|
||||
["yellow", "farm_and_charm:corn"],
|
||||
["lime", "farmersdelight:cabbage"],
|
||||
]);
|
||||
const addSeedRecipe = (crop, color) => {
|
||||
const seed = `botania_seeds:${color}_mystical_flower_seed`;
|
||||
e.remove({ output: seed });
|
||||
e.custom({
|
||||
type: "botania:petal_apothecary",
|
||||
ingredients: [
|
||||
{
|
||||
item: crop,
|
||||
},
|
||||
{
|
||||
item: crop,
|
||||
},
|
||||
{
|
||||
item: crop,
|
||||
},
|
||||
{
|
||||
item: crop,
|
||||
},
|
||||
],
|
||||
output: {
|
||||
item: seed,
|
||||
count: 4
|
||||
},
|
||||
reagent: {
|
||||
tag: "botania:seed_apothecary_reagent",
|
||||
},
|
||||
});
|
||||
};
|
||||
seedMap.forEach((value, key) => {
|
||||
addSeedRecipe(value, key);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,22 @@
|
||||
console.info("[SOCIETY] addPicklingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
global.picklableVegetables.forEach((pickle) => {
|
||||
e.custom({
|
||||
type: "vintagedelight:fermenting",
|
||||
processingTime: 10000,
|
||||
ingredients: [
|
||||
{ item: pickle.item },
|
||||
{ item: pickle.item },
|
||||
{ item: pickle.item },
|
||||
{ item: pickle.item },
|
||||
{ item: pickle.item },
|
||||
{ tag: "forge:salt" },
|
||||
],
|
||||
output: {
|
||||
count: 5,
|
||||
item: `society:pickled_${pickle.item.path}`,
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,57 @@
|
||||
console.info("[SOCIETY] addPressingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const createPressingRecipe = (input, output, compacting) => {
|
||||
e.custom({
|
||||
type: compacting ? "create:compacting" : "create:pressing",
|
||||
ingredients: [input],
|
||||
results: [
|
||||
{
|
||||
item: output,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
const recipes = [
|
||||
{
|
||||
input: {
|
||||
item: "oreganized:lead_ingot",
|
||||
},
|
||||
output: "oreganized:lead_sheet",
|
||||
},
|
||||
{
|
||||
input: {
|
||||
item: "oreganized:silver_ingot",
|
||||
},
|
||||
output: "oreganized:silver_sheet",
|
||||
},
|
||||
{
|
||||
input: {
|
||||
amount: 250,
|
||||
fluid: "create_central_kitchen:sap",
|
||||
},
|
||||
output: "society:sap",
|
||||
compacting: true,
|
||||
},
|
||||
];
|
||||
recipes.forEach((recipe) => {
|
||||
createPressingRecipe(recipe.input, recipe.output, recipe.compacting);
|
||||
});
|
||||
e.custom({
|
||||
type: "create:compacting",
|
||||
ingredients: [
|
||||
{
|
||||
item: "netherdepthsupgrade:lava_pufferfish",
|
||||
},
|
||||
],
|
||||
results: [
|
||||
{
|
||||
item: "netherdepthsupgrade:lava_pufferfish",
|
||||
},
|
||||
{
|
||||
amount: 10,
|
||||
fluid: "minecraft:lava",
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,22 @@
|
||||
console.info("[SOCIETY] addRefurbishedWorkbenchRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
Ingredient.of("@fantasyfurniture").stacks.forEach((item) => {
|
||||
if (item.toString().includes("furniture_station")) return;
|
||||
e.custom({
|
||||
type: "tanukidecor:diy",
|
||||
result: {
|
||||
item: item.id,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
global.lootFurniture.forEach((item) => {
|
||||
e.custom({
|
||||
type: "tanukidecor:diy",
|
||||
result: {
|
||||
item: item,
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,453 @@
|
||||
console.info("[SOCIETY] addSewingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const createSewingRecipe = (material, result, additionalItem, resultCount) => {
|
||||
let sewingInputs = [
|
||||
{
|
||||
count: 1,
|
||||
ingredient: {
|
||||
item: "society:canvas",
|
||||
},
|
||||
},
|
||||
{
|
||||
count: 1,
|
||||
ingredient: {
|
||||
item: material,
|
||||
},
|
||||
},
|
||||
];
|
||||
additionalItem && sewingInputs.push(additionalItem);
|
||||
|
||||
e.custom({
|
||||
type: "sewingkit:sewing",
|
||||
materials: sewingInputs,
|
||||
result: {
|
||||
count: resultCount || 1,
|
||||
item: result,
|
||||
},
|
||||
tool: {
|
||||
type: "sewingkit:tool_ingredient",
|
||||
tool_type: "sewingkit_sew",
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
const colorItems = new Map([
|
||||
["green", "society:malachite"],
|
||||
["cyan", "society:ghost_crystal"],
|
||||
["light_blue", "society:blueberry_preserves"],
|
||||
["blue", "society:ancient_fruit"],
|
||||
["purple", "society:amethyst_chunk"],
|
||||
["magenta", "pamhc2trees:plumitem"],
|
||||
["pink", "brewery:whiskey_lilitusinglemalt"],
|
||||
["white", "beachparty:coconut_milkshake"],
|
||||
["light_gray", "supplementaries:ash_brick"],
|
||||
["gray", "society:truffle"],
|
||||
["black", "society:smoked_wither_bonefish"],
|
||||
["brown", "pamhc2trees:cinnamonitem"],
|
||||
["red", "pamhc2trees:lycheeitem"],
|
||||
["orange", "atmospheric:orange"],
|
||||
["yellow", "pamhc2trees:bananaitem"],
|
||||
["lime", "society:jamborite"],
|
||||
]);
|
||||
[
|
||||
"etcetera:green_sweater",
|
||||
"etcetera:cyan_sweater",
|
||||
"etcetera:light_blue_sweater",
|
||||
"etcetera:blue_sweater",
|
||||
"etcetera:purple_sweater",
|
||||
"etcetera:magenta_sweater",
|
||||
"etcetera:pink_sweater",
|
||||
"etcetera:white_sweater",
|
||||
"etcetera:light_gray_sweater",
|
||||
"etcetera:gray_sweater",
|
||||
"etcetera:black_sweater",
|
||||
"etcetera:brown_sweater",
|
||||
"etcetera:red_sweater",
|
||||
"etcetera:orange_sweater",
|
||||
"etcetera:yellow_sweater",
|
||||
"etcetera:lime_sweater",
|
||||
"etcetera:white_hat",
|
||||
"etcetera:light_gray_hat",
|
||||
"etcetera:gray_hat",
|
||||
"etcetera:brown_hat",
|
||||
"etcetera:red_hat",
|
||||
"etcetera:orange_hat",
|
||||
"etcetera:yellow_hat",
|
||||
"etcetera:lime_hat",
|
||||
"etcetera:green_hat",
|
||||
"etcetera:cyan_hat",
|
||||
"etcetera:light_blue_hat",
|
||||
"etcetera:blue_hat",
|
||||
"etcetera:purple_hat",
|
||||
"etcetera:magenta_hat",
|
||||
"etcetera:pink_hat",
|
||||
].forEach((item) => {
|
||||
createSewingRecipe(
|
||||
colorItems.get(item.substring(item.indexOf(":") + 1, item.lastIndexOf("_"))),
|
||||
item,
|
||||
{ count: 16, ingredient: { item: "etcetera:cotton_flower" } }
|
||||
);
|
||||
});
|
||||
colorItems.forEach((value, key) => {
|
||||
createSewingRecipe(value, `society:${key}_sheet`, undefined, 4);
|
||||
});
|
||||
createSewingRecipe("supplementaries:globe", "etcetera:trader_hood");
|
||||
createSewingRecipe("supplementaries:globe", "etcetera:trader_robe");
|
||||
|
||||
createSewingRecipe("beachparty:honey_cocktail", "beachparty:beach_hat");
|
||||
createSewingRecipe("herbalbrews:oolong_tea", "herbalbrews:top_hat");
|
||||
createSewingRecipe("society:holy_symbol", "herbalbrews:witch_hat");
|
||||
|
||||
["meadow:fur_boots", "meadow:fur_leggings", "meadow:fur_chestplate", "meadow:fur_helmet"].forEach(
|
||||
(item) => {
|
||||
createSewingRecipe("society:aged_buffalo_cheese_block", item);
|
||||
}
|
||||
);
|
||||
[
|
||||
"vinery:winemaker_apron",
|
||||
"vinery:winemaker_boots",
|
||||
"vinery:winemaker_leggings",
|
||||
"vinery:straw_hat",
|
||||
].forEach((item) => {
|
||||
createSewingRecipe("vinery:jellie_wine", item);
|
||||
});
|
||||
[
|
||||
"brewery:brewfest_shoes",
|
||||
"brewery:brewfest_dress",
|
||||
"brewery:brewfest_blouse",
|
||||
"brewery:brewfest_hat_red",
|
||||
"brewery:brewfest_hat",
|
||||
"brewery:brewfest_boots",
|
||||
"brewery:brewfest_trousers",
|
||||
"brewery:brewfest_regalia",
|
||||
].forEach((item) => {
|
||||
createSewingRecipe("brewery:dark_brew", item);
|
||||
});
|
||||
[
|
||||
"candlelight:dress",
|
||||
"candlelight:flower_crown",
|
||||
"candlelight:shirt",
|
||||
"candlelight:trousers_and_vest",
|
||||
"candlelight:necktie",
|
||||
].forEach((item) => {
|
||||
createSewingRecipe("candlelight:lasagne", item);
|
||||
});
|
||||
[
|
||||
"candlelight:chefs_boots",
|
||||
"candlelight:chefs_pants",
|
||||
"candlelight:chefs_jacket",
|
||||
"candlelight:cooking_hat",
|
||||
].forEach((item) => {
|
||||
createSewingRecipe("farmersdelight:cooking_pot", item);
|
||||
});
|
||||
const createHatSewingRecipe = (index, materials, coinCount, result) => {
|
||||
e.custom({
|
||||
type: "sewingkit:sewing",
|
||||
materials: [
|
||||
{
|
||||
count: 1,
|
||||
ingredient: {
|
||||
item: "society:canvas",
|
||||
},
|
||||
},
|
||||
{
|
||||
count: coinCount,
|
||||
ingredient: {
|
||||
item: "numismatics:sun",
|
||||
},
|
||||
},
|
||||
{
|
||||
count: 1,
|
||||
ingredient: {
|
||||
item:
|
||||
index >= materials.length
|
||||
? materials[index % materials.length].item
|
||||
: materials[index].item,
|
||||
},
|
||||
},
|
||||
],
|
||||
result: {
|
||||
item: `simplehats:${result}`,
|
||||
},
|
||||
tool: {
|
||||
type: "sewingkit:tool_ingredient",
|
||||
tool_type: "sewingkit_sew",
|
||||
},
|
||||
});
|
||||
};
|
||||
[
|
||||
"acornhat",
|
||||
"alien_antennae",
|
||||
"astronaut",
|
||||
"bandana",
|
||||
"baseballhat",
|
||||
"beanie",
|
||||
"bicorne",
|
||||
"bigbrain",
|
||||
"bigeyes",
|
||||
"binky",
|
||||
"bowler",
|
||||
"brownbrick",
|
||||
"burgerhat",
|
||||
"bucket",
|
||||
"caddycap",
|
||||
"cardboard_box",
|
||||
"cartoonegg",
|
||||
"chalk_stick",
|
||||
"cheeseslice",
|
||||
"chefshat",
|
||||
"chickenhead",
|
||||
"circular_glasses",
|
||||
"cowboy",
|
||||
"crown",
|
||||
"cucumbereyemask",
|
||||
"cyclopseye",
|
||||
"dairyqueen",
|
||||
"dangereqsue",
|
||||
"doubletake",
|
||||
"elfhat",
|
||||
"explorerhat",
|
||||
"eyepatch",
|
||||
"fez",
|
||||
"fro",
|
||||
"gnome",
|
||||
"goggles",
|
||||
"grandmadisguise",
|
||||
"halo",
|
||||
"headshot",
|
||||
"horsemask",
|
||||
"largehorns",
|
||||
"lilbow",
|
||||
"mohawk",
|
||||
"paperbag",
|
||||
"partyhat",
|
||||
"pighead",
|
||||
"pog",
|
||||
"policebucket",
|
||||
"poofballhat",
|
||||
"popehat",
|
||||
"ranahat",
|
||||
"right_hand_hat",
|
||||
"round_purple_wig",
|
||||
"round_red_wig",
|
||||
"rubbernipple",
|
||||
"sausage",
|
||||
"scouter",
|
||||
"sheep",
|
||||
"sleepeyemask",
|
||||
"sombrero",
|
||||
"sprout",
|
||||
"stuck_lollipop",
|
||||
"swimmer",
|
||||
"tick_on_head",
|
||||
"toast",
|
||||
"tophat",
|
||||
"triangleshades",
|
||||
"tricorne",
|
||||
"udder_hat",
|
||||
"ushanka",
|
||||
"villagernose",
|
||||
"worm_hat",
|
||||
].forEach((hat, index) => {
|
||||
createHatSewingRecipe(index, global.fish, 1, hat);
|
||||
});
|
||||
const geodeMinerals = [];
|
||||
Array.prototype.push.apply(geodeMinerals, global.geodeList);
|
||||
Array.prototype.push.apply(geodeMinerals, global.frozenGeodeList);
|
||||
Array.prototype.push.apply(geodeMinerals, global.magmaGeodeList);
|
||||
|
||||
[
|
||||
"angrymask",
|
||||
"antlers",
|
||||
"apple",
|
||||
"beetle_on_head",
|
||||
"beret_ribbon",
|
||||
"bigcrown",
|
||||
"bigribbon",
|
||||
"bigstevehead",
|
||||
"breadhat",
|
||||
"camerabeard",
|
||||
"carrotonstick",
|
||||
"cat_hat",
|
||||
"chickenonhead",
|
||||
"cuphead",
|
||||
"dimmahat",
|
||||
"disguise",
|
||||
"doctorhat",
|
||||
"dorkglassesandteeth",
|
||||
"dragonhead",
|
||||
"dragonskull",
|
||||
"drinkinhat",
|
||||
"dumhat",
|
||||
"dwarfminerbeard",
|
||||
"easterhead",
|
||||
"eyeholder_dark",
|
||||
"eyeholder_evil",
|
||||
"finnhood",
|
||||
"flies",
|
||||
"frozenhead",
|
||||
"fullironhelm",
|
||||
"gnome_clover_wig",
|
||||
"greaser",
|
||||
"headbolts",
|
||||
"icedragonskull",
|
||||
"jesterhat",
|
||||
"ladybug_on_head",
|
||||
"megamanhat",
|
||||
"mimic_head",
|
||||
"monkeyking",
|
||||
"monocle",
|
||||
"moreeyes",
|
||||
"orange_hat",
|
||||
"penguinhat",
|
||||
"questbook",
|
||||
"redstache",
|
||||
"rock",
|
||||
"shakehat",
|
||||
"shrekears",
|
||||
"shroomcap",
|
||||
"springer",
|
||||
"sport_sunglasses",
|
||||
"spyzombie",
|
||||
"strawberry_hat",
|
||||
"tanuki_leaf",
|
||||
"tinkerhat",
|
||||
"toptophathat",
|
||||
"toy_story_alien",
|
||||
"unicornhorn",
|
||||
"worms_mine",
|
||||
].forEach((hat, index) => {
|
||||
createHatSewingRecipe(index, geodeMinerals, 2, hat);
|
||||
});
|
||||
|
||||
[
|
||||
"aegishat",
|
||||
"alienphil",
|
||||
"azumanga_hat",
|
||||
"baby_crewmate",
|
||||
"bee_on_head",
|
||||
"bluefireeye",
|
||||
"camera",
|
||||
"candleonhead",
|
||||
"cat_on_head",
|
||||
"caterpillar_on_head",
|
||||
"chocolate_sauced",
|
||||
"clockface",
|
||||
"dejiko",
|
||||
"demoneyes",
|
||||
"demonhorns",
|
||||
"digger",
|
||||
"dragonskullender",
|
||||
"eyeholder_warm",
|
||||
"fakefire",
|
||||
"fishonhead",
|
||||
"floatinghearts",
|
||||
"floatingstar",
|
||||
"flowercrown",
|
||||
"floweronhead",
|
||||
"foxhat",
|
||||
"hat_of_discipline",
|
||||
"holyhead",
|
||||
"hosthat",
|
||||
"lightning_eyes",
|
||||
"lil_bows",
|
||||
"madscientist",
|
||||
"medusa",
|
||||
"milady_doll",
|
||||
"mimic_head_dark",
|
||||
"mindflayer",
|
||||
"paypay",
|
||||
"penguinbaby",
|
||||
"peppino",
|
||||
"policesiren",
|
||||
"propelhat",
|
||||
"puchiko",
|
||||
"rabi_en_rose",
|
||||
"rabbitonhead",
|
||||
"redeyes",
|
||||
"simsgem",
|
||||
"slime_head",
|
||||
"smokingpipe",
|
||||
"snowmanbaby",
|
||||
"spadesoldier",
|
||||
"stress",
|
||||
"sunglasses",
|
||||
"sunglassesbig",
|
||||
"supersandhat",
|
||||
"the_noise",
|
||||
"topcathat",
|
||||
"toilet",
|
||||
"traffic_cone",
|
||||
"vikinghatbeard",
|
||||
"winghat",
|
||||
].forEach((hat, index) => {
|
||||
createHatSewingRecipe(index, global.miscAdventurer, 4, hat);
|
||||
});
|
||||
|
||||
[
|
||||
"amalgalichhat",
|
||||
"angel_and_devil",
|
||||
"artsy",
|
||||
"artsy_doll",
|
||||
"babyturtle",
|
||||
"babydolphin",
|
||||
"bandanargb",
|
||||
"baseballhatrgb",
|
||||
"beaniergb",
|
||||
"beehat",
|
||||
"burning_m_bison",
|
||||
"cowboyrgb",
|
||||
"crabonhead",
|
||||
"crystal_horns",
|
||||
"discoball",
|
||||
"druid_antlers_rare",
|
||||
"eyeholder_beeholder",
|
||||
"eyeholder_xanath",
|
||||
"fakeblight",
|
||||
"fishing_hat",
|
||||
"greenbirb",
|
||||
"headphonesblue",
|
||||
"kirbymouthful",
|
||||
"lil_termagant",
|
||||
"magikarp",
|
||||
"mimic_head_gold",
|
||||
"mindflayer_alhoon",
|
||||
"nyan_doll",
|
||||
"octodad",
|
||||
"pohatoe",
|
||||
"poofballrgb",
|
||||
"potionhead",
|
||||
"rainboworbiters",
|
||||
"raincloud",
|
||||
"rgbbigribbon",
|
||||
"rgbbowler",
|
||||
"rgbdragonskull",
|
||||
"rgbdrinkinhat",
|
||||
"rgbeasterhead",
|
||||
"rgbfullhelm",
|
||||
"rgbpartyhat",
|
||||
"rgbsmallbowler",
|
||||
"rgbsunglasses",
|
||||
"rgbtoptophathat",
|
||||
"rgbushanka",
|
||||
"slime_cube_dnd",
|
||||
"stinkycheeseman",
|
||||
"the_noisier",
|
||||
"thumbnail",
|
||||
"tomato_splats",
|
||||
"tvhead",
|
||||
"twilight_doll",
|
||||
].forEach((hat, index) => {
|
||||
createHatSewingRecipe(
|
||||
index,
|
||||
[
|
||||
{ item: "society:prismatic_shard" },
|
||||
{ item: "quark:diamond_heart" },
|
||||
{ item: "society:jade" },
|
||||
],
|
||||
8,
|
||||
hat
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
// DEPRECATED
|
||||
@@ -0,0 +1,108 @@
|
||||
console.info("[SOCIETY] addSlimeRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
e.remove({ output: "splendid_slimes:slime_heart" });
|
||||
|
||||
global.plorts.forEach((plort) => {
|
||||
e.custom({
|
||||
type: "splendid_slimes:plort_pressing",
|
||||
ingredient: {
|
||||
count: 16,
|
||||
item: "splendid_slimes:plort",
|
||||
nbt: {
|
||||
plort: {
|
||||
id: `${plort.type}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `${plort.type}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
const addFusion = (top, bottom, output) => {
|
||||
e.custom({
|
||||
type: "splendid_slimes:plort_pressing",
|
||||
ingredient: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:${top}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
output: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:${bottom}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:${output}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
const addItemFusion = (item, bottom, output) => {
|
||||
e.custom({
|
||||
type: "splendid_slimes:plort_pressing",
|
||||
ingredient: {
|
||||
item: item,
|
||||
},
|
||||
output: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:${bottom}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
result: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:${output}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
addFusion("luminous", "webby", "all_seeing");
|
||||
addFusion("boomcat", "blazing", "bitwise");
|
||||
addFusion("weeping", "puddle", "prisma");
|
||||
|
||||
addItemFusion("society:aged_chenet_wine", "slimy", "juicy");
|
||||
addItemFusion("society:magic_rock_candy", "slimy", "sweet");
|
||||
addItemFusion("numismatics:ancient_coin", "minty", "gold");
|
||||
addItemFusion("botania:life_essence", "ender", "minty");
|
||||
addItemFusion("minecraft:dragon_egg", "ender", "minty");
|
||||
addItemFusion("society:token_of_unity", "boomcat", "sparkcat");
|
||||
addItemFusion("society:magic_bulb", "orby", "mechanic");
|
||||
|
||||
e.custom({
|
||||
type: "splendid_slimes:plort_pressing",
|
||||
ingredient: {
|
||||
item: "golemoverhaul:honey_blob",
|
||||
count: 16,
|
||||
},
|
||||
result: {
|
||||
item: "splendid_slimes:slime_heart",
|
||||
nbt: {
|
||||
slime: {
|
||||
id: `splendid_slimes:bear`,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,83 @@
|
||||
console.info("[SOCIETY] addSpawnEggRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const recipes = [
|
||||
{ egg: "minecraft:wolf_spawn_egg", mineral: "society:thunder_egg", coin: "crown" },
|
||||
{ egg: "untitledduckmod:duck_spawn_egg", mineral: "society:slate", coin: "crown" },
|
||||
{ egg: "minecraft:camel_spawn_egg", mineral: "society:orpiment", coin: "crown" },
|
||||
{ egg: "minecraft:bee_spawn_egg", mineral: "society:petrified_slime", coin: "crown" },
|
||||
{ egg: "quark:crab_spawn_egg", mineral: "society:sandstone_slate", coin: "crown" },
|
||||
{ egg: "minecraft:cat_spawn_egg", mineral: "society:nekoite", coin: "crown" },
|
||||
{ egg: "minecraft:squid_spawn_egg", mineral: "society:allanite", coin: "crown" },
|
||||
{ egg: "minecraft:cow_spawn_egg", mineral: "society:calcite_gem", coin: "cog" },
|
||||
{ egg: "minecraft:allay_spawn_egg", mineral: "society:celestine", coin: "crown" },
|
||||
{ egg: "vinery:mule_spawn_egg", mineral: "society:granite_slate", coin: "crown" },
|
||||
{ egg: "minecraft:horse_spawn_egg", mineral: "society:jagoite", coin: "crown" },
|
||||
{ egg: "minecraft:llama_spawn_egg", mineral: "society:jamborite", coin: "crown" },
|
||||
{ egg: "minecraft:chicken_spawn_egg", mineral: "society:limestone_pebble", coin: "bevel" },
|
||||
{ egg: "minecraft:sheep_spawn_egg", mineral: "society:malachite", coin: "cog" },
|
||||
{ egg: "minecraft:pig_spawn_egg", mineral: "society:mudstone", coin: "crown" },
|
||||
{ egg: "minecraft:donkey_spawn_egg", mineral: "society:aerinite", coin: "crown" },
|
||||
{ egg: "minecraft:panda_spawn_egg", mineral: "society:lunarite", coin: "crown" },
|
||||
{ egg: "minecraft:dolphin_spawn_egg", mineral: "society:ocean_stone", coin: "crown" },
|
||||
{ egg: "minecraft:polar_bear_spawn_egg", mineral: "society:opal", coin: "crown" },
|
||||
{ egg: "minecraft:ocelot_spawn_egg", mineral: "society:pyrite", coin: "crown" },
|
||||
{ egg: "untitledduckmod:goose_spawn_egg", mineral: "society:soapstone", coin: "crown" },
|
||||
{ egg: "meadow:wooly_cow_spawn_egg", mineral: "society:esperite", coin: "crown" },
|
||||
{ egg: "minecraft:glow_squid_spawn_egg", mineral: "society:fluorapatite", coin: "crown" },
|
||||
{ egg: "crabbersdelight:crab_spawn_egg", mineral: "society:fairy_stone", coin: "crown" },
|
||||
{ egg: "minecraft:frog_spawn_egg", mineral: "society:geminite", coin: "crown" },
|
||||
{ egg: "minecraft:skeleton_horse_spawn_egg", mineral: "society:ghost_crystal", coin: "crown" },
|
||||
{ egg: "quark:shiba_spawn_egg", mineral: "society:hematite", coin: "crown" },
|
||||
{ egg: "minecraft:fox_spawn_egg", mineral: "society:kyanite", coin: "crown" },
|
||||
{ egg: "minecraft:rabbit_spawn_egg", mineral: "society:topaz", coin: "crown" },
|
||||
{ egg: "minecraft:axolotl_spawn_egg", mineral: "society:pure_obsidian", coin: "crown" },
|
||||
{ egg: "minecraft:turtle_spawn_egg", mineral: "society:star_shards", coin: "crown" },
|
||||
{ egg: "quark:foxhound_spawn_egg", mineral: "society:tigerseye", coin: "crown" },
|
||||
{ egg: "meadow:water_buffalo_spawn_egg", mineral: "society:neptunite", coin: "crown" },
|
||||
{ egg: "minecraft:piglin_spawn_egg", mineral: "society:ruby", coin: "crown" },
|
||||
{ egg: "minecraft:zombie_horse_spawn_egg", mineral: "society:baryte", coin: "crown" },
|
||||
{ egg: "minecraft:strider_spawn_egg", mineral: "society:basalt_shard", coin: "crown" },
|
||||
{ egg: "minecraft:goat_spawn_egg", mineral: "society:bixbyite", coin: "crown" },
|
||||
{ egg: "minecraft:bat_spawn_egg", mineral: "society:dolomite", coin: "crown" },
|
||||
{ egg: "quark:wraith_spawn_egg", mineral: "society:fire_opal", coin: "crown" },
|
||||
{ egg: "quark:stoneling_spawn_egg", mineral: "society:helvite", coin: "crown" },
|
||||
{ egg: "minecraft:parrot_spawn_egg", mineral: "society:marble", coin: "crown" },
|
||||
{ egg: "autumnity:turkey_spawn_egg", mineral: "society:jasper", coin: "sun" },
|
||||
{ egg: "autumnity:snail_spawn_egg", mineral: "society:amethyst_chunk", coin: "crown" },
|
||||
{ egg: "buzzier_bees:grizzly_bear_spawn_egg", mineral: "society:beemonican_seal", coin: "ancient_coin" },
|
||||
{ egg: "snowpig:snow_pig_spawn_egg", mineral: "society:frozen_tear", coin: "crown" },
|
||||
{ egg: "snuffles:snuffle_spawn_egg", mineral: "society:lemon_stone", coin: "crown" },
|
||||
{ egg: "wildernature:red_wolf_spawn_egg", mineral: "society:spider_silk", coin: "crown" },
|
||||
{ egg: "wildernature:cassowary_spawn_egg", mineral: "society:mini_oni_eye", coin: "crown" },
|
||||
{ egg: "wildernature:squirrel_spawn_egg", mineral: "society:living_flesh", coin: "crown" },
|
||||
{ egg: "wildernature:flamingo_spawn_egg", mineral: "society:supreme_mayonnaise", coin: "sun" },
|
||||
{ egg: "wildernature:penguin_spawn_egg", mineral: "botania:ice_pendant", coin: "sun" },
|
||||
{ egg: "wildernature:minisheep_spawn_egg", mineral: "society:lemon_stone", coin: "sun" },
|
||||
{ egg: "wildernature:raccoon_spawn_egg", mineral: "society:jade", coin: "crown" },
|
||||
{ egg: "wildernature:deer_spawn_egg", mineral: "society:source_gem", coin: "crown" },
|
||||
{ egg: "wildernature:bison_spawn_egg", mineral: "society:ember_crystal_cluster", coin: "crown" },
|
||||
{ egg: "wildernature:pelican_spawn_egg", mineral: "society:holy_symbol", coin: "crown" },
|
||||
{ egg: "wildernature:owl_spawn_egg", mineral: "society:legendary_ink", coin: "crown" },
|
||||
{ egg: "wildernature:dog_spawn_egg", mineral: "society:aquamarine", coin: "crown" },
|
||||
{ egg: "wildernature:hedgehog_spawn_egg", mineral: "society:wheel_of_adaptation", coin: "crown" },
|
||||
{ egg: "atmospheric:cochineal_spawn_egg", mineral: "society:production_science_pack", coin: "crown" },
|
||||
{ egg: "crittersandcompanions:red_panda_spawn_egg", mineral: "society:magma_geode", coin: "crown" },
|
||||
{ egg: "crittersandcompanions:ferret_spawn_egg", mineral: "society:glitched_vhs", coin: "crown" },
|
||||
{ egg: "crittersandcompanions:shima_enaga_spawn_egg", mineral: "society:steamy_gadget", coin: "crown" },
|
||||
{ egg: "meadow:wooly_sheep_spawn_egg", mineral: "minecraft:emerald", coin: "crown" },
|
||||
{ egg: "species:treeper_spawn_egg", mineral: "society:giant_bandolier_belt", coin: "crown" },
|
||||
{ egg: "minecraft:sulfur_cube_spawn_egg", mineral: "society:amulet_of_light", coin: "crown" },
|
||||
{ egg: "minecraft:armadillo_spawn_egg", mineral: "society:green_tea_honeycomb", coin: "crown" },
|
||||
];
|
||||
|
||||
recipes.forEach((recipe) => {
|
||||
const { egg, mineral, coin } = recipe;
|
||||
e.shaped(egg, ["gmg", "beb", "gbg"], {
|
||||
e: "#bakery:eggs",
|
||||
b: "minecraft:bone_block",
|
||||
g: `numismatics:${coin}`,
|
||||
m: mineral,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,32 @@
|
||||
console.info("[SOCIETY] addStrippingRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const strippedLogRecipe = (log) => {
|
||||
const splitLog = log.split(":");
|
||||
e.custom({
|
||||
type: "create:cutting",
|
||||
ingredients: [
|
||||
{
|
||||
item: log,
|
||||
},
|
||||
],
|
||||
processingTime: 50,
|
||||
results: [
|
||||
{
|
||||
count: 1,
|
||||
item: `${splitLog[0]}:stripped_${splitLog[1]}`,
|
||||
},
|
||||
],
|
||||
});
|
||||
};
|
||||
[
|
||||
"meadow:pine_log",
|
||||
"meadow:pine_wood",
|
||||
"beachparty:palm_log",
|
||||
"beachparty:palm_wood",
|
||||
"vinery:dark_cherry_log",
|
||||
"vinery:dark_cherry_wood",
|
||||
].forEach((log) => {
|
||||
strippedLogRecipe(log);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
// REMOVED
|
||||
@@ -0,0 +1,231 @@
|
||||
console.info("[SOCIETY] addToolRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
const toolTypes = ["pickaxe", "shovel", "hoe", "sword", "axe"];
|
||||
const armorTypes = ["helmet", "chestplate", "leggings", "boots"];
|
||||
|
||||
const upgradeTool = (type, modId, armor) => {
|
||||
if (!armor) {
|
||||
if (type !== "watering_can") {
|
||||
e.smithing(
|
||||
`${modId}:stone_${type}`,
|
||||
"numismatics:cog",
|
||||
`${modId}:wooden_${type}`,
|
||||
"#minecraft:stone_tool_materials"
|
||||
);
|
||||
e.smithing(
|
||||
`${modId}:iron_${type}`,
|
||||
"society:iron_upgrade_smithing_template",
|
||||
`${modId}:stone_${type}`,
|
||||
"minecraft:iron_ingot"
|
||||
);
|
||||
}
|
||||
} else {
|
||||
e.smithing(
|
||||
`${modId}:chainmail_${type}`,
|
||||
"numismatics:cog",
|
||||
`${modId}:leather_${type}`,
|
||||
"minecraft:chain"
|
||||
);
|
||||
e.smithing(
|
||||
`${modId}:iron_${type}`,
|
||||
"society:iron_upgrade_smithing_template",
|
||||
`${modId}:chainmail_${type}`,
|
||||
"minecraft:iron_ingot"
|
||||
);
|
||||
}
|
||||
e.smithing(
|
||||
`${modId}:gold${modId === "minecraft" ? "en" : ""}_${type}`,
|
||||
`society:gold_upgrade_smithing_template`,
|
||||
`${modId}:iron_${type}`,
|
||||
"minecraft:gold_ingot"
|
||||
);
|
||||
e.smithing(
|
||||
`${modId}:diamond_${type}`,
|
||||
`society:diamond_upgrade_smithing_template`,
|
||||
`${modId}:gold${modId === "minecraft" ? "en" : ""}_${type}`,
|
||||
"minecraft:diamond"
|
||||
);
|
||||
if (modId !== "aquaculture") {
|
||||
e.smithing(
|
||||
`${modId}:netherite_${type}`,
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
`${modId}:diamond_${type}`,
|
||||
"minecraft:netherite_ingot"
|
||||
);
|
||||
}
|
||||
};
|
||||
e.smithing(
|
||||
"society:galaxy_sword",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"minecraft:netherite_sword",
|
||||
"society:prismatic_shard"
|
||||
);
|
||||
e.smithing(
|
||||
"society:meowmageddon",
|
||||
"simplehats:nekoears",
|
||||
"society:galaxy_sword",
|
||||
"society:prismatic_shard"
|
||||
);
|
||||
|
||||
const manasteelUpgrades = (type) => {
|
||||
e.smithing(
|
||||
`botania:manasteel_${type === "pickaxe" ? "pick" : type}`,
|
||||
"society:botanical_tribute",
|
||||
`minecraft:golden_${type}`,
|
||||
"botania:manasteel_ingot"
|
||||
);
|
||||
};
|
||||
const elementiumUpgrades = (type) => {
|
||||
e.smithing(
|
||||
`botania:elementium_${type}`,
|
||||
"society:botanical_tribute",
|
||||
`botania:manasteel_${type === "pickaxe" ? "pick" : type}`,
|
||||
"botania:elementium_ingot"
|
||||
);
|
||||
};
|
||||
e.smithing(
|
||||
"botania:glass_pickaxe",
|
||||
"society:botanical_tribute",
|
||||
"botania:manasteel_pick",
|
||||
"botania:mana_glass"
|
||||
);
|
||||
const runes = ["spring", "summer", "autumn", "winter"];
|
||||
const terrasteelUpgrades = (type, runeIndex) => {
|
||||
e.shaped(`botania:terrasteel_${type}`, ["crc", "mTm", "cmc"], {
|
||||
T: Item.of(`botania:manasteel_${type}`),
|
||||
m: "botania:terrasteel_ingot",
|
||||
c: "society:botanical_tribute",
|
||||
r: `botania:rune_${runes[runeIndex]}`,
|
||||
}).modifyResult((grid, result) => {
|
||||
let item = grid.find(Item.of(`botania:manasteel_${type}`));
|
||||
return result.withNBT(item.nbt);
|
||||
});
|
||||
};
|
||||
const neptuniumUpgrades = (type) => {
|
||||
e.smithing(
|
||||
`aquaculture:neptunium_${type}`,
|
||||
`society:neptunium_upgrade_smithing_template`,
|
||||
`minecraft:diamond_${type}`,
|
||||
"aquaculture:neptunium_ingot"
|
||||
);
|
||||
};
|
||||
toolTypes.forEach((type) => {
|
||||
upgradeTool(type, "minecraft");
|
||||
neptuniumUpgrades(type);
|
||||
manasteelUpgrades(type);
|
||||
elementiumUpgrades(type);
|
||||
});
|
||||
armorTypes.forEach((type, index) => {
|
||||
upgradeTool(type, "minecraft", true);
|
||||
neptuniumUpgrades(type);
|
||||
manasteelUpgrades(type);
|
||||
elementiumUpgrades(type);
|
||||
terrasteelUpgrades(type, index);
|
||||
});
|
||||
e.smithing(
|
||||
`aquaculture:neptunium_bow`,
|
||||
`society:neptunium_upgrade_smithing_template`,
|
||||
`minecraft:bow`,
|
||||
"aquaculture:neptunium_ingot"
|
||||
);
|
||||
// Knives
|
||||
const knifeTiers = ["flint", "iron", "gold", "diamond", "netherite"];
|
||||
knifeTiers.forEach((tier, index) => {
|
||||
if (index > 0) {
|
||||
e.smithing(
|
||||
`farmersdelight:${tier === "gold" ? "golden" : tier}_knife`,
|
||||
tier === "netherite"
|
||||
? "minecraft:netherite_upgrade_smithing_template"
|
||||
: `society:${tier}_upgrade_smithing_template`,
|
||||
`farmersdelight:${tier === "diamond" ? "golden" : knifeTiers[index - 1]}_knife`,
|
||||
`minecraft:${tier}${tier === "diamond" ? "" : "_ingot"}`
|
||||
);
|
||||
}
|
||||
});
|
||||
const rodTiers = ["normal", "iron", "gold", "diamond", "neptunium"];
|
||||
rodTiers.forEach((tier, index) => {
|
||||
if (index > 0) {
|
||||
e.smithing(
|
||||
`aquaculture:${tier}_fishing_rod`,
|
||||
tier === "netherite"
|
||||
? "minecraft:netherite_upgrade_smithing_template"
|
||||
: `society:${tier}_upgrade_smithing_template`,
|
||||
tier === "iron"
|
||||
? "minecraft:fishing_rod"
|
||||
: `aquaculture:${rodTiers[index - 1]}_fishing_rod`,
|
||||
tier === "neptunium"
|
||||
? "aquaculture:neptunium_ingot"
|
||||
: `minecraft:${tier}${tier === "diamond" ? "" : "_ingot"}`
|
||||
);
|
||||
}
|
||||
});
|
||||
e.smithing(
|
||||
"constructionwand:iron_wand",
|
||||
"society:iron_upgrade_smithing_template",
|
||||
"constructionwand:stone_wand",
|
||||
"minecraft:iron_block"
|
||||
);
|
||||
e.smithing(
|
||||
"constructionwand:diamond_wand",
|
||||
"society:diamond_upgrade_smithing_template",
|
||||
"constructionwand:iron_wand",
|
||||
"minecraft:diamond_block"
|
||||
);
|
||||
e.smithing(
|
||||
"constructionwand:infinity_wand",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"constructionwand:diamond_wand",
|
||||
"minecraft:netherite_block"
|
||||
);
|
||||
// Misc
|
||||
e.smithing(
|
||||
"create:netherite_backtank",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"create:copper_backtank",
|
||||
"minecraft:netherite_ingot"
|
||||
);
|
||||
e.smithing(
|
||||
"create:netherite_diving_helmet",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"create:copper_diving_helmet",
|
||||
"minecraft:netherite_ingot"
|
||||
);
|
||||
e.smithing(
|
||||
"create:netherite_diving_boots",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"create:copper_diving_boots",
|
||||
"minecraft:netherite_ingot"
|
||||
);
|
||||
// Wool armor
|
||||
const upgradeWool = (type, mappedType) => {
|
||||
e.smithing(
|
||||
`minecraft:chainmail_${mappedType}`,
|
||||
"numismatics:cog",
|
||||
`sewingkit:wool_${type}`,
|
||||
"minecraft:chain"
|
||||
);
|
||||
};
|
||||
[
|
||||
{ wool: "hat", upgrade: "helmet" },
|
||||
{ wool: "shirt", upgrade: "chestplate" },
|
||||
{ wool: "pants", upgrade: "leggings" },
|
||||
{ wool: "shoes", upgrade: "boots" },
|
||||
].forEach((entry) => {
|
||||
upgradeWool(entry.wool, entry.upgrade);
|
||||
});
|
||||
e.smithing(
|
||||
"society:dragontooth_axe",
|
||||
"minecraft:netherite_upgrade_smithing_template",
|
||||
"minecraft:diamond_axe",
|
||||
"minecraft:bone_block"
|
||||
);
|
||||
// Watering Cans
|
||||
e.smithing(
|
||||
"dew_drop_watering_cans:iron_watering_can",
|
||||
"society:iron_upgrade_smithing_template",
|
||||
"dew_drop_watering_cans:copper_watering_can",
|
||||
"minecraft:iron_ingot"
|
||||
);
|
||||
upgradeTool("watering_can", "dew_drop_watering_cans");
|
||||
});
|
||||
@@ -0,0 +1,39 @@
|
||||
console.info("[SOCIETY] addMailboxRecipes.js loaded");
|
||||
|
||||
ServerEvents.recipes((e) => {
|
||||
[
|
||||
{ block: "minecraft:oak_planks", rail: "oak" },
|
||||
{ block: "minecraft:acacia_planks", rail: "acacia" },
|
||||
{ block: "minecraft:dark_oak_planks", rail: "dark_oak" },
|
||||
{ block: "minecraft:birch_planks", rail: "birch" },
|
||||
{ block: "minecraft:jungle_planks", rail: "jungle" },
|
||||
{ block: "minecraft:spruce_planks", rail: "spruce" },
|
||||
{ block: "minecraft:mangrove_planks", rail: "mangrove" },
|
||||
{ block: "minecraft:cherry_planks", rail: "cherry" },
|
||||
{ block: "minecraft:warped_planks", rail: "warped" },
|
||||
{ block: "minecraft:crimson_planks", rail: "crimson" },
|
||||
{ block: "minecraft:stripped_bamboo_block", rail: "stripped_bamboo" },
|
||||
{ block: "minecraft:bamboo_block", rail: "bamboo" },
|
||||
{ block: "quark:ancient_planks", rail: "quark_ancient" },
|
||||
{ block: "quark:azalea_planks", rail: "quark_azalea" },
|
||||
{ block: "quark:blossom_planks", rail: "quark_blossom" },
|
||||
{ block: "minecraft:end_stone", rail: "ender" },
|
||||
{ block: "minecraft:blackstone", rail: "blackstone" },
|
||||
].forEach((recipe) => {
|
||||
const { block, rail } = recipe;
|
||||
e.shapeless(`railways:track_${rail}`, ["#create:tracks", block]);
|
||||
e.shapeless(`railways:track_${rail}_wide`, [`4x railways:track_${rail}_narrow`]);
|
||||
e.shapeless(`railways:track_${rail}`, [`2x railways:track_${rail}_narrow`]);
|
||||
e.shapeless(`2x railways:track_${rail}_narrow`, [`railways:track_${rail}`]);
|
||||
e.shapeless(`2x railways:track_${rail}`, [`railways:track_${rail}_wide`]);
|
||||
e.shapeless(`railways:track_${rail}_wide`, [`2x railways:track_${rail}`]);
|
||||
});
|
||||
e.shaped("32x railways:track_oak", ["fif", "f f", "fif"], {
|
||||
i: "minecraft:iron_ingot",
|
||||
f: "meadow:fire_log",
|
||||
});
|
||||
e.shaped("32x railways:track_oak", ["fif", "f f", "fif"], {
|
||||
i: "create:zinc_ingot",
|
||||
f: "meadow:fire_log",
|
||||
});
|
||||
});
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user