Tweaks and custom items!

This commit is contained in:
oitsjustjose 2022-01-20 23:15:42 -06:00
commit 845732c492
22 changed files with 312 additions and 93 deletions

View file

@ -2,5 +2,5 @@
# printDispenserBehaviorReplacements - Should Blame print out to the log all registry replaced Dispenser Behaviors?
# Set this to true if you noticed that Dispensers are not working properly. Might help narrow down the cause.
#
#Thu Jan 20 19:10:50 CST 2022
#Thu Jan 20 21:55:38 CST 2022
printDispenserBehaviorReplacements=false

View file

@ -0,0 +1,65 @@
#
#Elite Constructor Speed
#Range: 1 ~ 20
eliteconstructorspeed = 2
#
#Elite Destructor Speed
#Range: 1 ~ 20
elitedestructorspeed = 2
#
#Elite Disk Manipulator Speed
#Range: 1 ~ 20
elitediskmanipulatorspeed = 2
#
#Ultra Exporter Speed
#Range: 1 ~ 9
ultraexporterspeed = 6
#
#Elite Importer Speed
#Range: 1 ~ 9
eliteimporterspeed = 2
#
#Elite Exporter Speed
#Range: 1 ~ 9
eliteexporterspeed = 2
#
#Elite Requester Max Craft Amount
#Range: > 1
eliterequestermaxcraftamount = 2000
#
#Ultra Constructor Speed
#Range: 1 ~ 20
ultraconstructorspeed = 6
#
#Creative Importer Fluid Block Blacklist
#For Example mekanism:creative_fluid_tank
creativeImporterFluidBlockBlacklist = ["mekanism:creative_fluid_tank", "cookingforblockheads:sink"]
#
#Ultra Importer Speed
#Range: 1 ~ 9
ultraimporterspeed = 6
#
#Ultra Requester Max Craft Amount
#Range: > 1
ultrarequestermaxcraftamount = 6000
#
#Ultra Disk Manipulator Speed
#Range: 1 ~ 20
ultradiskmanipulatorspeed = 6
#
#Ultra Energy Cost Multiplier
#Range: > 0
ultraenergycost = 4
#
#Creative Energy Cost Multiplier
#Range: > 0
creativeenergycost = 0
#
#Ultra Destructor Speed
#Range: 1 ~ 20
ultradestructorspeed = 6
#
#Elite Energy Cost Multiplier
#Range: > 0
eliteenergycost = 2

View file

@ -13,48 +13,31 @@
x: 12.0d
y: 1.5d
shape: "hexagon"
subtitle: "This thing looks horrible! I need to sand it down"
description: [
"Without better processing, you're going to need to get some Andesite Alloy"
""
"Fortunately, with your Saw, some pebbles, some raw ferrous metal and clay as a binder you can form a very crude version of this alloy which you can use to make some very basic machines."
"Fortunately, with your Saw, some pebbles, some raw ferrous metal and clay as a binder you can form a very crude version of this alloy which you can sand down to bring to a workable shape to be used in basic mechanical machinery."
""
"If you need more Sandpaper, there is a repeatable quest off to the side to get yourself some more."
]
id: "69FF3D884B1E8649"
tasks: [{
id: "0FD7B1C3DE551305"
id: "6B4BDBD0FABAABA6"
type: "item"
item: "kubejs:crude_andesite_alloy"
}]
rewards: [{
id: "4F16D565A7399F36"
type: "item"
item: {
id: "create:andesite_alloy"
id: "create:sand_paper"
Count: 1b
tag: {
display: {
Name: "{\"text\": \"Crude Andesite Alloy\", \"italic\": \"false\"}"
}
Damage: 0
}
}
count: 4L
}]
rewards: [
{
id: "00730FA6AB7C5E95"
type: "item"
item: {
id: "create:andesite_alloy"
Count: 1b
tag: {
display: {
Name: "{\"text\": \"Crude Andesite Alloy\", \"italic\": \"false\"}"
}
}
}
count: 2
}
{
id: "7CF9D79BDC1DF63E"
type: "item"
item: "minecraft:oak_button"
count: 64
}
]
}
{
title: "Rotational Energy"
@ -70,15 +53,7 @@
rewards: [{
id: "1B4AD0F55D9C44D9"
type: "item"
item: {
id: "create:andesite_alloy"
Count: 1b
tag: {
display: {
Name: "{\"text\": \"Crude Andesite Alloy\", \"italic\": \"false\"}"
}
}
}
item: "create:andesite_alloy"
random_bonus: 1
}]
}
@ -280,5 +255,60 @@
item: "immersiveengineering:craftingtable"
}]
}
{
title: "Sand Paper Trader"
icon: {
id: "create:sand_paper"
Count: 1b
tag: {
Damage: 0
}
}
disable_toast: true
x: 14.0d
y: 2.5d
shape: "diamond"
hide_dependency_lines: true
dependencies: ["69FF3D884B1E8649"]
optional: true
id: "78777AEE4C8C1401"
tasks: [{
id: "0B3EC475833ED32D"
type: "item"
title: "Any Log"
item: {
id: "itemfilters:tag"
Count: 1b
tag: {
value: "minecraft:logs"
}
}
count: 8L
consume_items: true
}]
rewards: [
{
id: "1F695235F286DB81"
type: "item"
auto: "enabled"
item: {
id: "create:sand_paper"
Count: 1b
tag: {
Damage: 0
}
}
}
{
id: "7684CFABF4CAB07C"
type: "command"
title: "Repeatable"
icon: "thermal:machine_cycle_augment"
auto: "invisible"
command: "/ftbquests change_progress @p reset 78777AEE4C8C1401"
player_command: false
}
]
}
]
}

View file

@ -34,7 +34,7 @@
}
{
title: "Actual Plastic"
x: -2.0d
x: -3.75d
y: -1.5d
shape: "gear"
description: [
@ -425,5 +425,32 @@
random_bonus: 2
}]
}
{
x: -0.2857142857142847d
y: -1.482142857142854d
shape: "gear"
description: [
"As you've no doubt noticed, a lot of specialty devices require you to *manually* craft them in a Sewing or Smithing Table. These, unfortunately, cannot be automated - but in the spirit of \"automate all teh things!\" these recipes are also made compatible in the Mekanism Combiner."
""
"The Combiner is your *only* hope to getting these recipes automated, so if you don't like manually crafting things like Ender Chests or XNet Cables, you might want to look into this guy!"
]
hide_dependency_lines: true
dependencies: ["548FF0C4E700EFE2"]
size: 1.5d
optional: true
id: "286F8D75386E6071"
tasks: [{
id: "79BD655760AEA4F6"
type: "item"
item: "mekanism:combiner"
}]
rewards: [{
id: "58348A63D191C65C"
type: "item"
item: "emendatusenigmatica:cobalt_ingot"
count: 2
random_bonus: 2
}]
}
]
}

View file

@ -187,9 +187,9 @@
item: "enderstorage:ender_chest"
}]
rewards: [{
id: "3536C90D3DB4051A"
type: "xp_levels"
xp_levels: 15
id: "0F1957B48E096382"
type: "xp"
xp: 100
}]
}
{

View file

@ -110,7 +110,7 @@
]
}
{
x: -0.5d
x: 0.0d
y: -4.0d
description: ["Save yourself a lot of hassle by making yourself an extra multiservo press just for Gearworking!"]
hide_dependency_lines: true
@ -148,7 +148,7 @@
}
{
title: "Flux Trinkets"
x: -0.5d
x: 0.0d
y: 0.0d
shape: "hexagon"
description: ["Thermal Expansion adds lots of lovely tools and weapons to add to your arsenal! Do so now if you want to make your life a bunch easier in the long-run!"]
@ -196,7 +196,7 @@
}]
}
{
x: -0.5d
x: 0.0d
y: -2.0d
description: ["The Tinkers' Workbench will allow you to charge and augment various Flux-based tools and trinkets!"]
dependencies: ["5DD16A26B44A2290"]
@ -213,8 +213,8 @@
}]
}
{
x: -2.5d
y: 2.0d
x: -4.5d
y: 2.25d
shape: "gear"
description: ["These Resonant Components contain all of the Spatiotemporal Technology you could possibly need thanks to those Endermen. Now you can get into some pretty advanced technology as you progress into Mekanism - Nicely Done!!!"]
hide_dependency_lines: true
@ -234,5 +234,37 @@
random_bonus: 2
}]
}
{
disable_toast: true
x: -0.75d
y: 2.25d
shape: "gear"
description: [
"By subduing the Core of the Enderman to survive the harsh cold of the blast chiller, you've managed to crack the key to the ability for Endermen to teleport."
""
"By manipulating these Cores to persist in Water (regardless of their hydrophobic nature), you've managed to create a Singularity from the rift between the Electrical Machinery you used and the eldritch power of the Enderman to teleport."
""
"Maybe you can use this in some practical applications?"
]
hide_dependency_lines: true
dependencies: ["5DD16A26B44A2290"]
hide_text_until_complete: true
size: 1.5d
id: "640B69585836A6F1"
tasks: [{
id: "3D628A058F526F4A"
type: "item"
item: "kubejs:ender_singularity"
}]
rewards: [{
id: "5991D5FD1395365B"
type: "command"
title: "??"
icon: "tconstruct:enderman_head"
auto: "invisible"
command: "/msg @p You hear the distant sound of an Enderman's core being torn apart"
player_command: false
}]
}
]
}

View file

@ -1,4 +1,5 @@
{
"item.kubejs.cloth_covered_windmill_blade": "Cloth-Covered Windmill Blade",
"item.kubejs.ender_singularity": "Ender Singularity"
"item.kubejs.ender_singularity": "Ender Singularity",
"item.kubejs.crude_andesite_alloy": "Crude Andesite Alloy"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

View file

@ -429,11 +429,4 @@ onEvent("jei.information", (event) => {
onEvent("jei.add.items", (event) => {
event.add(Item.of("customizableelytra:customizable_elytra"));
event.add(
Item.of("create:andesite_alloy", {
display: {
Name: '{"text": "Crude Andesite Alloy", "italic": "false"}',
},
})
);
});

View file

@ -55,19 +55,31 @@ onEvent("server.datapack.first", (_) => {
return [stripLogWithSaw, planksFromStrippedAxe, planksFromStrippedSaw];
};
/**
*
* @param {event} evt
* @param {IngredientJS} left
* @param {IngredientJS} right
* @param {ItemStackJS} output
*/
global.genCombinedRecipe = (evt, left, right, output) => {
const leftInput = left.includes("#") ? { tag: left.replace(/#/g, "") } : { item: left };
const rightInput = right.includes("#") ? { tag: right.replace(/#/g, "") } : { item: right };
evt.smithing(output, left, right);
evt.custom({
type: "mekanism:combining",
mainInput: { ingredient: leftInput },
extraInput: { amount: 1, ingredient: rightInput },
output: { item: output },
mainInput: JSON.parse(left.toJson()),
extraInput: JSON.parse(right.toJson()),
output: output.toResultJson(),
});
};
/**
*
* @param {RecipeEventJS} evt
* @param {IngredientJS} left
* @param {IngredientJS} right
* @param {ItemStackJS} output
* @param {Number} spoolCt
*/
global.genCombinedRecipeSewing = (evt, left, right, output, spoolCt) => {
const main = JSON.parse(left.toJson());
const extra = JSON.parse(right.toJson());

View file

@ -25,6 +25,58 @@ const campfire = (event) => {
};
const crafting = (event) => {
event.remove({ output: "create:andesite_alloy" });
// Combining
event.custom({
type: "mekanism:combining",
mainInput: { ingredient: { tag: "chipped:andesite" } },
extraInput: { ingredient: { tag: "forge:ingots/zinc" } },
output: {
item: "create:andesite_alloy",
count: 2,
},
});
// Induction Smelter
event.custom({
type: "thermal:smelter",
ingredients: [
{
value: [{ tag: "chipped:andesite" }],
count: 1,
},
{
value: [{ tag: "forge:ingots/zinc" }],
count: 1,
},
],
result: [
{
item: "create:andesite_alloy",
count: 2,
},
],
energy: 9600,
});
// Alloy Kiln
event.custom({
type: "immersiveengineering:alloy",
time: 400,
input0: { base_ingredient: { tag: "chipped:andesite" } },
input1: { tag: "forge:ingots/zinc" },
result: { count: 2, base_ingredient: { item: "create:andesite_alloy" } },
});
// Create Mixing
event.custom({
type: "create:mixing",
ingredients: [{ tag: "chipped:andesite" }, { tag: "forge:ingots/zinc" }],
results: [{ item: "create:andesite_alloy", count: 2 }],
heatRequirement: "heated",
});
event.custom({
type: "natural-progression:damage_tools",
ingredients: [
@ -45,13 +97,8 @@ const crafting = (event) => {
},
],
result: {
item: "create:andesite_alloy",
item: "kubejs:crude_andesite_alloy",
count: 1,
nbt: {
display: {
Name: '{"text": "Crude Andesite Alloy", "italic": "false"}',
},
},
},
});
@ -75,16 +122,25 @@ const crafting = (event) => {
},
],
result: {
item: "create:andesite_alloy",
item: "kubejs:crude_andesite_alloy",
count: 1,
nbt: {
display: {
Name: '{"text": "Crude Andesite Alloy", "italic": "false"}',
},
},
},
});
event.custom({
type: "create:sandpaper_polishing",
ingredients: [
{
item: "kubejs:crude_andesite_alloy",
},
],
results: [
{
item: "create:andesite_alloy",
},
],
});
event.custom({
type: "natural-progression:damage_tools",
ingredients: [
@ -552,7 +608,7 @@ onEvent("recipes", (event) => {
woodcutter(event);
global.minecraftColors.forEach((color) => {
global.genCombinedRecipe(event, `minecraft:${color}_shulker_box`, "#forge:ingots/iron", `storage_overhaul:${color}_shulker_box`);
global.genCombinedRecipe(event, Ingredient.of(`minecraft:${color}_shulker_box`), Ingredient.of("#forge:ingots/iron"), Item.of(`storage_overhaul:${color}_shulker_box`));
});
// Ender Singularity Crafting

View file

@ -21,8 +21,8 @@ onEvent("recipes", (event) => {
S: "kubejs:ender_singularity",
});
global.genCombinedRecipe(event, "storagenetwork:master", "appliedenergistics2:engineering_processor", "appliedenergistics2:controller");
global.genCombinedRecipe(event, "#harmeng:presses", "appliedenergistics2:purified_fluix_crystal", "appliedenergistics2:inscriber");
global.genCombinedRecipe(event, Ingredient.of("storagenetwork:master"), Ingredient.of("appliedenergistics2:engineering_processor"), Item.of("appliedenergistics2:controller"));
global.genCombinedRecipe(event, Ingredient.of("#harmeng:presses"), Ingredient.of("appliedenergistics2:purified_fluix_crystal"), Item.of("appliedenergistics2:inscriber"));
event.shaped("1x appliedenergistics2:wireless_receiver", [" S ", "IFI", " I "], {
S: "kubejs:ender_singularity",

View file

@ -2,7 +2,7 @@ onEvent("recipes", (event) => {
event.remove({ output: "chickenchunks:chunk_loader" });
event.remove({ output: "chickenchunks:spot_loader" });
global.genCombinedRecipe(event, "minecraft:enchanting_table", "moreminecarts:chunkrodite", "chickenchunks:chunk_loader");
global.genCombinedRecipe(event, Ingredient.of("minecraft:enchanting_table"), Ingredient.of("moreminecarts:chunkrodite"), Item.of("chickenchunks:chunk_loader"));
event.shaped("1x chickenchunks:chunk_loader", ["xxx", "xxx", "xxx"], {
x: "chickenchunks:spot_loader",

View file

@ -7,9 +7,9 @@ onEvent("recipes", (event) => {
event.remove({ output: "compactmachines:machine_giant" });
event.remove({ output: "compactmachines:machine_maximum" });
global.genCombinedRecipe(event, "minecraft:iron_block", "minecraft:redstone", "compactmachines:wall");
global.genCombinedRecipe(event, "immersiveengineering:heavy_engineering", "immersiveengineering:circuit_board", "compactmachines:machine_tiny");
global.genCombinedRecipe(event, "compactmachines:machine_tiny", "immersiveengineering:maintenance_kit", "compactmachines:machine_small");
global.genCombinedRecipe(event, "compactmachines:machine_small", "immersivepetroleum:projector", "compactmachines:machine_normal");
global.genCombinedRecipe(event, "compactmachines:machine_normal", "entangled:block", "compactmachines:machine_large");
global.genCombinedRecipe(event, Ingredient.of("minecraft:iron_block"), Ingredient.of("minecraft:redstone"), Item.of("16x compactmachines:wall"));
global.genCombinedRecipe(event, Ingredient.of("immersiveengineering:heavy_engineering"), Ingredient.of("immersiveengineering:circuit_board"), Item.of("compactmachines:machine_tiny"));
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_tiny"), Ingredient.of("immersiveengineering:maintenance_kit"), Item.of("compactmachines:machine_small"));
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_small"), Ingredient.of("immersivepetroleum:projector"), Item.of("compactmachines:machine_normal"));
global.genCombinedRecipe(event, Ingredient.of("compactmachines:machine_normal"), Ingredient.of("entangled:block"), Item.of("compactmachines:machine_large"));
});

View file

@ -3,7 +3,7 @@ onEvent("recipes", (event) => {
event.remove({ output: "enderstorage:ender_tank" });
event.remove({ output: "enderstorage:ender_pouch" });
global.genCombinedRecipe(event, "minecraft:ender_chest", "#forge:storage_blocks/enderium", "enderstorage:ender_chest");
global.genCombinedRecipe(event, "#harmeng:basic_tank", "#forge:storage_blocks/enderium", "enderstorage:ender_tank");
global.genCombinedRecipe(event, "improvedbackpacks:large_pocket", "#forge:storage_blocks/enderium", "enderstorage:ender_pouch");
global.genCombinedRecipe(event, Ingredient.of("minecraft:ender_chest"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_chest"));
global.genCombinedRecipe(event, Ingredient.of("#harmeng:basic_tank"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_tank"));
global.genCombinedRecipeSewing(event, Ingredient.of("improvedbackpacks:large_pocket"), Ingredient.of("kubejs:ender_singularity"), Item.of("enderstorage:ender_pouch"), 2);
});

View file

@ -1,4 +1,4 @@
onEvent("recipes", (event) => {
event.remove({ output: "entangled:block" });
global.genCombinedRecipe(event, "thermal:machine_frame", "kubejs:ender_singularity", "entangled:block");
global.genCombinedRecipe(event, Ingredient.of("thermal:machine_frame"), Ingredient.of("kubejs:ender_singularity"), Item.of("entangled:block"));
});

View file

@ -38,7 +38,7 @@ onEvent("recipes", (event) => {
event.remove({ output: `${modid}:hemp_fabric` });
event.remove({ output: `${modid}:windmill_sail` });
global.genCombinedRecipe(event, "createdeco:dean_bricks", "minecraft:sandstone", `${modid}:alloybrick`);
global.genCombinedRecipe(event, Ingredient.of("createdeco:dean_bricks"), Ingredient.of("minecraft:sandstone"), Item.of(`${modid}:alloybrick`));
event.shaped(`27x ${modid}:blastbrick`, ["CHC", "BSB", "CBC"], {
C: "minecraft:clay",

View file

@ -27,7 +27,7 @@ onEvent("recipes", (event) => {
P: "refinedstorage:advanced_processor",
});
global.genCombinedRecipe(event, "storagenetwork:master", "refinedstorage:advanced_processor", "refinedstorage:controller");
global.genCombinedRecipe(event, Ingredient.of("storagenetwork:master"), Ingredient.of("refinedstorage:advanced_processor"), Item.of("refinedstorage:controller"));
event.custom({
type: "mekanism:combining",
mainInput: {

View file

@ -1,4 +1,4 @@
onEvent("recipes", (event) => {
event.remove({ output: "storagedrawers:controller" });
global.genCombinedRecipe(event, "storagedrawers:controller_slave", "mekanism:ultimate_control_circuit", "storagedrawers:controller");
global.genCombinedRecipe(event, Ingredient.of("storagedrawers:controller_slave"), Ingredient.of("mekanism:ultimate_control_circuit"), Item.of("storagedrawers:controller"));
});

View file

@ -2,13 +2,15 @@ onEvent("recipes", (event) => {
const cableVariants = ["red", "green", "blue", "yellow", "routing"];
// Cables
cableVariants.forEach((x) => event.remove({ id: `xnet:netcable_${x}` }));
cableVariants.forEach((x) => global.genCombinedRecipe(event, "pipez:universal_pipe", `#forge:dyes/${x === "routing" ? "black" : x}`, `32x xnet:netcable_${x}`));
cableVariants.forEach((x) =>
global.genCombinedRecipe(event, Ingredient.of("pipez:universal_pipe"), Ingredient.of(`#forge:dyes/${x === "routing" ? "black" : x}`), Item.of(`32x xnet:netcable_${x}`))
);
// Connectors
cableVariants.forEach((x) => event.remove({ id: `xnet:connector_${x}` }));
cableVariants.forEach((x) => global.genCombinedRecipe(event, `xnet:netcable_${x}`, "#forge:ingots/gold", `1x xnet:connector_${x}`));
cableVariants.forEach((x) => global.genCombinedRecipe(event, Ingredient.of(`xnet:netcable_${x}`), Ingredient.of("#forge:ingots/gold"), Item.of(`1x xnet:connector_${x}`)));
// Advanced Connectors
cableVariants.forEach((x) => event.remove({ id: `xnet:advanced_connector_${x}` }));
cableVariants.forEach((x) => global.genCombinedRecipe(event, `xnet:connector_${x}`, "#forge:ingots/cobalt", `1x xnet:advanced_connector_${x}`));
cableVariants.forEach((x) => global.genCombinedRecipe(event, Ingredient.of(`xnet:connector_${x}`), Ingredient.of("#forge:ingots/cobalt"), Item.of(`1x xnet:advanced_connector_${x}`)));
event.remove({ id: "xnet:connector_upgrade" });

View file

@ -3,6 +3,7 @@
onEvent("item.registry", (event) => {
event.create("cloth_covered_windmill_blade").texture("kubejs:item/cloth_covered_windmill_blade");
event.create("ender_singularity").texture("kubejs:item/ender_singularity");
event.create("crude_andesite_alloy").texture("kubejs:item/crude_andesite_alloy");
});
onEvent("item.modification", (event) => {