feat: dark matter overhaul

This commit is contained in:
Timo Ley 2023-11-27 14:34:06 +01:00
parent a206ae2bdd
commit eef3f158de
9 changed files with 116 additions and 4 deletions

View file

@ -29,9 +29,11 @@ public class InputReplacements implements IEventBusRegisterable {
) )
); );
var philosopherStoneMapper = new InputReplaceRecipeMapper().replace( var philosopherStoneMapper = new InputReplaceRecipeMapper()
"#forge:gems/diamond", "#ntx4core:darkmatter" .replace("#forge:gems/diamond", "ae2:singularity")
); .replace("#forge:dusts/redstone", "chemlib:erbium_dust")
.replace("#forge:dusts/glowstone", "psi:ivory_substance")
;
ev.mapRecipeID( ev.mapRecipeID(
new Identifier("projecte", "philosophers_stone"), philosopherStoneMapper new Identifier("projecte", "philosophers_stone"), philosopherStoneMapper
); );

View file

@ -19,6 +19,8 @@ public class RecipeRemovals implements IEventBusRegisterable {
ev.removeRecipesMatching(new RecipeContainsPredicate( ev.removeRecipesMatching(new RecipeContainsPredicate(
Util.stackFromRegistry(new Identifier("projecte", "transmutation_table")) Util.stackFromRegistry(new Identifier("projecte", "transmutation_table"))
)); ));
ev.removeRecipeID(new Identifier("projecte", "red_matter_alt"));
ev.removeRecipeID(new Identifier("draconicevolution", "components/awakened_core"));
} }
@Override @Override

View file

@ -160,11 +160,24 @@ public class RecipeReplacements implements IEventBusRegisterable {
-> new ShapedRecipeBuilder(Ntx4Core.id("dark_matter"), r.getOutput()) -> new ShapedRecipeBuilder(Ntx4Core.id("dark_matter"), r.getOutput())
.pattern("DFD", "FSF", "DFD") .pattern("DFD", "FSF", "DFD")
.ingredient('F', "projecte:aeternalis_fuel") .ingredient('F', "projecte:aeternalis_fuel")
.ingredient('S', "ae2:singularity") .ingredient('S', "mekanism:pellet_antimatter")
.ingredient('D', "#forge:ingots/draconium") .ingredient('D', "#forge:ingots/draconium")
.build() .build()
); );
ev.mapRecipeID(
new Identifier("projecte", "red_matter"),
r
-> new ShapedRecipeBuilder(Ntx4Core.id("red_matter"), r.getOutput())
.pattern("CDC", "QSE", "CDC")
.ingredient('D', "projecte:dark_matter")
.ingredient('Q', "assemblylinemachines:quark_matter")
.ingredient('E', "dmlreforged:pristine_matter_dragon")
.ingredient('S', "ae2:singularity")
.ingredient('C', "powah:crystal_nitro")
.build()
);
ev.mapRecipeID( ev.mapRecipeID(
new Identifier("quantumquarryplus", "qqprcp"), new Identifier("quantumquarryplus", "qqprcp"),
r r

View file

@ -1,5 +1,6 @@
package net.anvilcraft.ntx4core.recipes; package net.anvilcraft.ntx4core.recipes;
import net.anvilcraft.anvillib.Util;
import net.anvilcraft.anvillib.event.Bus; import net.anvilcraft.anvillib.event.Bus;
import net.anvilcraft.anvillib.event.IEventBusRegisterable; import net.anvilcraft.anvillib.event.IEventBusRegisterable;
import net.anvilcraft.anvillib.recipe.RecipesEvent; import net.anvilcraft.anvillib.recipe.RecipesEvent;
@ -28,6 +29,15 @@ public class ShapedRecipes implements IEventBusRegisterable {
.ingredient('C', "mekanism:teleportation_core") .ingredient('C', "mekanism:teleportation_core")
.ingredient('E', "mekanism:energy_tablet") .ingredient('E', "mekanism:energy_tablet")
.build()); .build());
ev.registerRecipe(new ShapedRecipeBuilder(
Ntx4Core.id("dark_matter_conversion"),
Util.stackFromRegistry(new Identifier("projecte", "dark_matter"))
)
.pattern("FDF", "DDD", "FDF")
.ingredient('D', "nuclearscience:celldarkmatter")
.ingredient('F', "projecte:aeternalis_fuel")
.build()
);
} }
@Override @Override

View file

@ -0,0 +1,12 @@
{
"type": "mekanism:oxidizing",
"input": {
"ingredient": {
"item": "nuclearscience:cellantimatterverylarge"
}
},
"output": {
"gas": "mekanism:antimatter",
"amount": 1200
}
}

View file

@ -0,0 +1,12 @@
{
"type": "mekanism:oxidizing",
"input": {
"ingredient": {
"item": "nuclearscience:cellantimatterlarge"
}
},
"output": {
"gas": "mekanism:antimatter",
"amount": 400
}
}

View file

@ -0,0 +1,12 @@
{
"type": "mekanism:oxidizing",
"input": {
"ingredient": {
"item": "nuclearscience:cellantimattersmall"
}
},
"output": {
"gas": "mekanism:antimatter",
"amount": 50
}
}

View file

@ -0,0 +1,12 @@
{
"type": "mekanism:oxidizing",
"input": {
"ingredient": {
"item": "ftbic:antimatter"
}
},
"output": {
"gas": "mekanism:antimatter",
"amount": 1
}
}

View file

@ -0,0 +1,37 @@
{
"type": "draconicevolution:fusion_crafting",
"result": {
"item": "draconicevolution:awakened_core"
},
"catalyst": {
"item": "projecte:red_matter"
},
"total_energy": 10000000,
"tier": "WYVERN",
"ingredients": [
{
"item": "draconicevolution:wyvern_core"
},
{
"item": "draconicevolution:wyvern_core"
},
{
"tag": "forge:ingots/draconium_awakened"
},
{
"tag": "forge:ingots/draconium_awakened"
},
{
"tag": "forge:ingots/draconium_awakened"
},
{
"tag": "forge:ingots/draconium_awakened"
},
{
"item": "draconicevolution:wyvern_core"
},
{
"item": "draconicevolution:wyvern_core"
}
]
}