feat: dark matter overhaul
This commit is contained in:
parent
a206ae2bdd
commit
eef3f158de
9 changed files with 116 additions and 4 deletions
|
@ -29,9 +29,11 @@ public class InputReplacements implements IEventBusRegisterable {
|
|||
)
|
||||
);
|
||||
|
||||
var philosopherStoneMapper = new InputReplaceRecipeMapper().replace(
|
||||
"#forge:gems/diamond", "#ntx4core:darkmatter"
|
||||
);
|
||||
var philosopherStoneMapper = new InputReplaceRecipeMapper()
|
||||
.replace("#forge:gems/diamond", "ae2:singularity")
|
||||
.replace("#forge:dusts/redstone", "chemlib:erbium_dust")
|
||||
.replace("#forge:dusts/glowstone", "psi:ivory_substance")
|
||||
;
|
||||
ev.mapRecipeID(
|
||||
new Identifier("projecte", "philosophers_stone"), philosopherStoneMapper
|
||||
);
|
||||
|
|
|
@ -19,6 +19,8 @@ public class RecipeRemovals implements IEventBusRegisterable {
|
|||
ev.removeRecipesMatching(new RecipeContainsPredicate(
|
||||
Util.stackFromRegistry(new Identifier("projecte", "transmutation_table"))
|
||||
));
|
||||
ev.removeRecipeID(new Identifier("projecte", "red_matter_alt"));
|
||||
ev.removeRecipeID(new Identifier("draconicevolution", "components/awakened_core"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -160,11 +160,24 @@ public class RecipeReplacements implements IEventBusRegisterable {
|
|||
-> new ShapedRecipeBuilder(Ntx4Core.id("dark_matter"), r.getOutput())
|
||||
.pattern("DFD", "FSF", "DFD")
|
||||
.ingredient('F', "projecte:aeternalis_fuel")
|
||||
.ingredient('S', "ae2:singularity")
|
||||
.ingredient('S', "mekanism:pellet_antimatter")
|
||||
.ingredient('D', "#forge:ingots/draconium")
|
||||
.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(
|
||||
new Identifier("quantumquarryplus", "qqprcp"),
|
||||
r
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package net.anvilcraft.ntx4core.recipes;
|
||||
|
||||
import net.anvilcraft.anvillib.Util;
|
||||
import net.anvilcraft.anvillib.event.Bus;
|
||||
import net.anvilcraft.anvillib.event.IEventBusRegisterable;
|
||||
import net.anvilcraft.anvillib.recipe.RecipesEvent;
|
||||
|
@ -28,6 +29,15 @@ public class ShapedRecipes implements IEventBusRegisterable {
|
|||
.ingredient('C', "mekanism:teleportation_core")
|
||||
.ingredient('E', "mekanism:energy_tablet")
|
||||
.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
|
||||
|
|
12
src/main/resources/data/ntx4core/recipes/animatter_12g.json
Normal file
12
src/main/resources/data/ntx4core/recipes/animatter_12g.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"ingredient": {
|
||||
"item": "nuclearscience:cellantimatterverylarge"
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"gas": "mekanism:antimatter",
|
||||
"amount": 1200
|
||||
}
|
||||
}
|
12
src/main/resources/data/ntx4core/recipes/animatter_4g.json
Normal file
12
src/main/resources/data/ntx4core/recipes/animatter_4g.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"ingredient": {
|
||||
"item": "nuclearscience:cellantimatterlarge"
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"gas": "mekanism:antimatter",
|
||||
"amount": 400
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"ingredient": {
|
||||
"item": "nuclearscience:cellantimattersmall"
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"gas": "mekanism:antimatter",
|
||||
"amount": 50
|
||||
}
|
||||
}
|
12
src/main/resources/data/ntx4core/recipes/animatter_ftb.json
Normal file
12
src/main/resources/data/ntx4core/recipes/animatter_ftb.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"ingredient": {
|
||||
"item": "ftbic:antimatter"
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"gas": "mekanism:antimatter",
|
||||
"amount": 1
|
||||
}
|
||||
}
|
37
src/main/resources/data/ntx4core/recipes/awakened_core.json
Normal file
37
src/main/resources/data/ntx4core/recipes/awakened_core.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue