Compare commits
No commits in common. "64c9dc48a350a8adb8f6f2296ca460e8327e78ce" and "4c7d8d4eeb0e3e4214771dad572334eb53b85b33" have entirely different histories.
64c9dc48a3
...
4c7d8d4eeb
3 changed files with 20 additions and 108 deletions
|
@ -13,7 +13,5 @@ class Main {
|
|||
Settings.logErroringRecipes = true;
|
||||
|
||||
Events.onEvent(EventType.RecipesEventType, Recipes.onEvent);
|
||||
Events.onEvent(EventType.ItemTagsEventType, Tags.onItemTagsEvent);
|
||||
Events.onEvent(EventType.BlockTagsEventType, Tags.onBlockTagsEvent);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ class Recipes {
|
|||
shapedRecipes(event);
|
||||
shapelessRecipes(event);
|
||||
customRecipes(event);
|
||||
replaceInputs(event);
|
||||
}
|
||||
|
||||
static function shapedRecipes(event:RecipesEvent) {
|
||||
|
@ -147,6 +146,26 @@ class Recipes {
|
|||
E: "minecraft:ender_eye",
|
||||
C: "mekanism:teleportation_core"
|
||||
});
|
||||
|
||||
// Steel Fix
|
||||
event.shaped("assemblylinemachines:simple_grinder", ["sss", "rdr", "iii"], {
|
||||
s: "#forge:ingots/steel",
|
||||
i: "#forge:ingots/iron",
|
||||
r: "#forge:dusts/redstone",
|
||||
d: "assemblylinemachines:hand_grinder"
|
||||
});
|
||||
|
||||
event.shaped("assemblylinemachines:steel_blade_piece", [" y ", "yxy"], {
|
||||
x: "#forge:ingots/steel",
|
||||
y: "#forge:nuggets/steel"
|
||||
});
|
||||
|
||||
event.shaped("assemblylinemachines:steel_fluid_tank", ["rsr", "gwg", "rsr"], {
|
||||
r: "assemblylinemachines:steel_rod",
|
||||
g: "#forge:glass_panes",
|
||||
s: "#forge:ingots/steel",
|
||||
w: "assemblylinemachines:wooden_fluid_tank"
|
||||
});
|
||||
}
|
||||
|
||||
static function shapelessRecipes(event:RecipesEvent) {
|
||||
|
@ -179,74 +198,5 @@ class Recipes {
|
|||
}
|
||||
]
|
||||
});
|
||||
|
||||
// Resourceful bees honey to honey block in blast chiller
|
||||
event.custom({
|
||||
type: "thermal:chiller",
|
||||
ingredient: {
|
||||
fluid: "resourcefulbees:honey",
|
||||
amount: 1000
|
||||
},
|
||||
result: [
|
||||
{
|
||||
item: "minecraft:honey_block"
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
// Ore processing fixes
|
||||
var enrichmentChamberOreRecipes = [
|
||||
["forge:ores/nickel", "thermal:nickel_dust"],
|
||||
["forge:ores/silver", "thermal:silver_dust"],
|
||||
["forge:ores/aluminum", "silents_mechanisms:aluminum_dust"],
|
||||
["forge:ores/yellorite", "bigreactors:yellorium_dust"]
|
||||
];
|
||||
|
||||
var bothOreRecipes = [
|
||||
["forge:ores/bismuth", "silents_mechanisms:bismuth_dust"]
|
||||
];
|
||||
|
||||
for (r in enrichmentChamberOreRecipes.concat(bothOreRecipes)) {
|
||||
event.custom({
|
||||
type: "mekanism:enriching",
|
||||
input: {
|
||||
ingredient: {
|
||||
tag: r[0]
|
||||
}
|
||||
},
|
||||
output: {
|
||||
item: r[1],
|
||||
count: 2
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
for (r in bothOreRecipes) {
|
||||
event.custom({
|
||||
type: "thermal:pulverizer",
|
||||
ingredient: {
|
||||
tag: r[0]
|
||||
},
|
||||
result: [
|
||||
{
|
||||
item: r[1],
|
||||
chance: 2.0
|
||||
},
|
||||
{
|
||||
item: "minecraft:gravel",
|
||||
chance: 0.2
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
static function replaceInputs(event:RecipesEvent) {
|
||||
// ALM Fixes
|
||||
var almFixesFilter = {mod: "assemblylinemachines"};
|
||||
event.replaceInput(almFixesFilter, "assemblylinemachines:steel_ingot", "#forge:ingots/steel");
|
||||
event.replaceInput(almFixesFilter, "assemblylinemachines:steel_plate", "#forge:plates/steel");
|
||||
event.replaceInput(almFixesFilter, "assemblylinemachines:steel_rod", "#forge:rods/steel");
|
||||
event.replaceInput(almFixesFilter, "assemblylinemachines:plastic_sheet", "#forge:plastic");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
package;
|
||||
|
||||
import kubejs.events.server.TagsEvent;
|
||||
|
||||
class Tags {
|
||||
public static function onItemTagsEvent(event:TagsEvent) {
|
||||
itemAndBlockTags(event);
|
||||
itemTags(event);
|
||||
}
|
||||
|
||||
public static function onBlockTagsEvent(event:TagsEvent) {
|
||||
itemAndBlockTags(event);
|
||||
}
|
||||
|
||||
static function itemAndBlockTags(event:TagsEvent) {
|
||||
// Fix ore tags
|
||||
event.add("forge:ores/copper", ["electrodynamics:orecopper"]);
|
||||
event.add("forge:ores/tin", ["electrodynamics:oretin"]);
|
||||
event.add("forge:ores/silver", ["electrodynamics:oresilver"]);
|
||||
event.add("forge:ores/lead", ["electrodynamics:orelead"]);
|
||||
event.add("forge:ores/sulfur", ["electrodynamics:oresulfur"]);
|
||||
|
||||
event.add("forge:ores/yellorite", ["bigreactors:yellorite_ore"]);
|
||||
|
||||
// Trapdoor tags
|
||||
var trapdoors = ["ars_nouveau:archwood_trapdoor", "rats:pirat_trapdoor"];
|
||||
event.add("minecraft:trapdoors", trapdoors);
|
||||
event.add("minecraft:wooden_trapdoors", trapdoors);
|
||||
}
|
||||
|
||||
static function itemTags(event:TagsEvent) {
|
||||
event.add("forge:plates/iron", ["assemblylinemachines:iron_plate"]);
|
||||
event.add("forge:plates/steel", ["assemblylinemachines:steel_plate"]);
|
||||
event.add("forge:plastic", ["assemblylinemachines:plastic_sheet"]);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue