Fixes to using AE2 in the pack
This commit is contained in:
parent
4a5c89e63f
commit
9a33b120f8
6 changed files with 733 additions and 731 deletions
|
|
@ -3,24 +3,15 @@ onEvent("recipes", (event) => {
|
|||
event.remove({ output: "appliedenergistics2:controller" });
|
||||
event.remove({ output: "appliedenergistics2:inscriber" });
|
||||
|
||||
event.smithing(
|
||||
"appliedenergistics2:controller",
|
||||
"storagenetwork:master",
|
||||
"appliedenergistics2:engineering_processor"
|
||||
);
|
||||
|
||||
event.smithing(
|
||||
"appliedenergistics2:inscriber",
|
||||
"#harmeng:presses",
|
||||
"appliedenergistics2:purified_fluix_crystal"
|
||||
);
|
||||
event.smithing("appliedenergistics2:controller", "storagenetwork:master", "appliedenergistics2:engineering_processor");
|
||||
event.smithing("appliedenergistics2:inscriber", "#harmeng:presses", "appliedenergistics2:purified_fluix_crystal");
|
||||
|
||||
// AE2 crushing in IE Crusher
|
||||
event.custom({
|
||||
type: "immersiveengineering:crusher",
|
||||
secondaries: [],
|
||||
result: {
|
||||
item: "emendatusenigmatica:certus_quartz_dust",
|
||||
item: "appliedenergistics2:certus_quartz_dust",
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/certus_quartz",
|
||||
|
|
@ -32,7 +23,7 @@ onEvent("recipes", (event) => {
|
|||
type: "immersiveengineering:crusher",
|
||||
secondaries: [],
|
||||
result: {
|
||||
item: "emendatusenigmatica:fluix_dust",
|
||||
item: "appliedenergistics2:fluix_dust",
|
||||
},
|
||||
input: {
|
||||
tag: "forge:gems/fluix",
|
||||
|
|
@ -52,3 +43,16 @@ onEvent("recipes", (event) => {
|
|||
energy: 1600,
|
||||
});
|
||||
});
|
||||
|
||||
/* Replaces all thrown certus with AE2 Certus */
|
||||
onEvent("entity.spawned", (event) => {
|
||||
if (event.getEntity().getType() === "minecraft:item") {
|
||||
const itemEntity = event.getEntity();
|
||||
if (itemEntity.getItem().getId() === "emendatusenigmatica:charged_certus_quartz_gem") {
|
||||
itemEntity.setItem(Item.of(`${itemEntity.getItem().getCount()}x appliedenergistics2:charged_certus_quartz_crystal`));
|
||||
}
|
||||
if (itemEntity.getItem().getId() === "emendatusenigmatica:certus_quartz_gem") {
|
||||
itemEntity.setItem(Item.of(`${itemEntity.getItem().getCount()}x appliedenergistics2:certus_quartz_crystal`));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue