feat: add more recipes
This commit is contained in:
parent
37f6d08401
commit
b6edb46c55
3 changed files with 168 additions and 2 deletions
|
@ -35,7 +35,7 @@ dependencies {
|
|||
forge "net.minecraftforge:forge:${project.forge_version}"
|
||||
|
||||
modImplementation "software.bernie.geckolib:geckolib-forge-1.18:3.0.57"
|
||||
modImplementation "net.anvilcraft:anvillib-18-forge:0.2.0"
|
||||
modImplementation "net.anvilcraft:anvillib-18-forge:1.0.0"
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
|
|
@ -5,6 +5,8 @@ import net.anvilcraft.anvillib.event.IEventBusRegisterable;
|
|||
import net.anvilcraft.anvillib.recipe.RecipesEvent;
|
||||
import net.anvilcraft.anvillib.recipe.ShapedRecipeBuilder;
|
||||
import net.anvilcraft.ntx4core.Ntx4Core;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraftforge.fml.loading.FMLEnvironment;
|
||||
|
||||
|
@ -95,7 +97,7 @@ public class RecipeReplacements implements IEventBusRegisterable {
|
|||
-> new ShapedRecipeBuilder(Ntx4Core.id("rift_orb"), r.getOutput())
|
||||
.pattern("DPD", "PCP", "DPD")
|
||||
.ingredient('D', "projecte:dark_matter")
|
||||
.ingredient('P', "minecraft:ender_eye")
|
||||
.ingredient('P', Items.ENDER_EYE)
|
||||
.ingredient('C', "ae2:singularity")
|
||||
.build()
|
||||
);
|
||||
|
@ -123,6 +125,148 @@ public class RecipeReplacements implements IEventBusRegisterable {
|
|||
.ingredient('D', "rftoolsdim:dimension_builder")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("laserio", "laser_connector"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("laser_connector"), r.getOutput())
|
||||
.pattern(" R ", "BCB", " D ")
|
||||
.ingredient('R', "#forge:dusts/redstone")
|
||||
.ingredient('B', "powah:capacitor_blazing")
|
||||
.ingredient('C', "powah:dielectric_casing")
|
||||
.ingredient('D', "powah:dielectric_rod")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("laserio", "laser_node"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("laser_node"), r.getOutput())
|
||||
.pattern("BRB", "RCR", "BRB")
|
||||
.ingredient('R', "#forge:dusts/redstone")
|
||||
.ingredient('B', "powah:crystal_blazing")
|
||||
.ingredient('C', "powah:dielectric_casing")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("dmlreforged", "simulation_chamber/simulation_chamber"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("simulation_chamber"), r.getOutput())
|
||||
.pattern("NPN", "ECE", "NDN")
|
||||
.ingredient('N', "#forge:nuggets/enderium")
|
||||
.ingredient('E', "powah:energy_cell_niotic")
|
||||
.ingredient('C', "dmlreforged:machine_casing")
|
||||
.ingredient('P', "ae2:engineering_processor")
|
||||
.ingredient('D', "integrateddynamics:part_display_panel")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("dmlreforged", "machine_casing"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("machine_casing"), r.getOutput())
|
||||
.pattern("NON", "OCO", "NON")
|
||||
.ingredient('N', "#forge:nuggets/refined_obsidian")
|
||||
.ingredient('O', "dmlreforged:soot_covered_plate")
|
||||
.ingredient('C', "rftoolsbase:machine_frame")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("dmlreforged", "extraction_chamber/extraction_chamber"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("extraction_chamber"), r.getOutput())
|
||||
.pattern("NPN", "ECE", "NDN")
|
||||
.ingredient('N', "powah:crystal_blazing")
|
||||
.ingredient('E', "powah:energy_cell_niotic")
|
||||
.ingredient('C', "dmlreforged:machine_casing")
|
||||
.ingredient('P', "ae2:logic_processor")
|
||||
.ingredient('D', Items.NETHER_STAR)
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("alchemistry", "reactor_casing"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("reactor_casing"), r.getOutput())
|
||||
.pattern("OPO", "PCP", "OPO")
|
||||
.ingredient('P', "#forge:ingots/platinum")
|
||||
.ingredient('O', "#forge:ingots/osmium")
|
||||
.ingredient('C', "mekanism:steel_casing")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("alchemistry", "fission_chamber_controller"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("fission_chamber_controller"), r.getOutput())
|
||||
.pattern("LFL", "GCA", "LFL")
|
||||
.ingredient('L', "#forge:ingots/lead")
|
||||
.ingredient('F', "mekanismgenerators:fission_reactor_casing")
|
||||
.ingredient('C', "#forge:circuits/elite")
|
||||
.ingredient('A', "#forge:alloys/advanced")
|
||||
.ingredient('G', "mekanismgenerators:reactor_glass")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("alchemistry", "fusion_chamber_controller"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("fusion_chamber_controller"), r.getOutput())
|
||||
.pattern("LFL", "GCA", "LFL")
|
||||
.ingredient('L', "#forge:ingots/steel")
|
||||
.ingredient('F', "mekanismgenerators:fusion_reactor_frame")
|
||||
.ingredient('C', "#forge:circuits/ultimate")
|
||||
.ingredient('A', "#forge:alloys/advanced")
|
||||
.ingredient('G', "mekanismgenerators:reactor_glass")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("psi", "programmer"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("psi_programmer"), r.getOutput())
|
||||
.pattern("SDS", "SCS", " S ")
|
||||
.ingredient('S', "#forge:ingots/pure_steel")
|
||||
.ingredient('D', "psi:psidust")
|
||||
.ingredient('C', "ae2:calculation_processor")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("psi", "assembler"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("psi_assembler"), r.getOutput())
|
||||
.pattern("SDS", "SCS", " S ")
|
||||
.ingredient('S', "#forge:ingots/pure_steel")
|
||||
.ingredient('D', "ae2:formation_core")
|
||||
.ingredient('C', "#forge:circuits/elite")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("sfm", "manager"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("sfm_manager"), r.getOutput())
|
||||
.pattern("SRS", "RCR", "SRS")
|
||||
.ingredient('S', "ae2:smooth_sky_stone_block")
|
||||
.ingredient('R', "dmlreforged:soot_covered_redstone")
|
||||
.ingredient('C', "ae2:logic_processor")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("sfm", "cable"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("sfm_cable"), r.getOutput())
|
||||
.pattern("SNS", "FFF", "SCS")
|
||||
.ingredient('S', "ae2:sky_dust")
|
||||
.ingredient('F', "#forge:gems/fluix")
|
||||
.ingredient('C', "#forge:gems/certus_quartz")
|
||||
.ingredient('N', "#forge:gems/quartz")
|
||||
.build()
|
||||
);
|
||||
|
||||
ev.mapRecipeID(
|
||||
new Identifier("modularrouters", "modular_router"),
|
||||
r -> new ShapedRecipeBuilder(Ntx4Core.id("modular_router"), new ItemStack(r.getOutput().getItem(), 1))
|
||||
.pattern("IFI", "NPC", "IFI")
|
||||
.ingredient('I', "#forge:ingots/iron")
|
||||
.ingredient('F', "#forge:gems/fluix")
|
||||
.ingredient('C', "#forge:gems/certus_quartz")
|
||||
.ingredient('N', "#forge:gems/quartz")
|
||||
.ingredient('P', "ae2:logic_processor")
|
||||
.build()
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
22
src/main/resources/data/ntx4core/recipes/flux.json
Normal file
22
src/main/resources/data/ntx4core/recipes/flux.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"type": "powah:energizing",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "minecraft:redstone"
|
||||
},
|
||||
{
|
||||
"tag": "forge:dusts/obsidian"
|
||||
},
|
||||
{
|
||||
"tag": "forge:dusts/ender_pearl"
|
||||
},
|
||||
{
|
||||
"item": "ae2:fluix_dust"
|
||||
}
|
||||
],
|
||||
"energy": 10000000,
|
||||
"result": {
|
||||
"item": "fluxnetworks:flux_dust",
|
||||
"count": 4
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue