Skip to content

Commit

Permalink
feat(recipes): update creative energy cell recipe and add AE2 dependency
Browse files Browse the repository at this point in the history
- Modify the pattern and ingredients for the creative energy cell recipe to include
  vibration chamber, calculation processor, cell component256k, and singularity.
- Update the build.gradle and gradle.properties files to include the Applied Energistics 2
  dependency.
- Ensure the recipe is only available if Applied Energistics 2 is installed.

This change enhances the recipe for the creative energy cell and aligns with the
mod's integration with Applied Energistics 2, providing a more challenging and
resourceful way to craft the cell.
  • Loading branch information
cnlimiter committed Aug 1, 2024
1 parent cc4fd5f commit ccfe2f4
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 21 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ dependencies {
implementation fg.deobf("curse.maven:charm-of-undying-316873:${cou_version}")
implementation fg.deobf("curse.maven:projecte-226410:${projecte_version}")
runtimeOnly fg.deobf("curse.maven:mekanism-268560:${mek_version}")
runtimeOnly fg.deobf("curse.maven:applied-energistics-2-223794:${ae2_version}")

compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:${mixin_extras_version}"))
implementation(jarJar("io.github.llamalad7:mixinextras-forge:0.3.6")) {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ curios_version=5.4.7+1.20.1
cou_version=5159193
projecte_version=4901949
mek_version=5395221
ae2_version=5565729
mixin_extras_version=0.3.6

## Mod Properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,35 @@
"type": "avaritia:shaped_extreme_craft",
"category": "equipment",
"key": {
"A": {
"item": "ae2:vibration_chamber"
},
"B": {
"item": "ae2:calculation_processor"
},
"C": {
"item": "avaritia:infinity_ingot"
},
"D": {
"item": "ae2:cell_component_256k"
},
"X": {
"item": "ae2:engineering_processor"
"item": "ae2:singularity"
},
"Y": {
"item": "ae2:dense_energy_cell"
}
},
"pattern": [
"CCCCXCCCC",
"CYYYXYYYC",
"CYYYXYYYC",
"CYYYXYYYC",
"XXXXXXXXX",
"CYYYXYYYC",
"CYYYXYYYC",
"CYYYXYYYC",
"CCCCXCCCC"
"YYYYXYYYY",
"YCACXCACY",
"YACBXBCAY",
"YCBBXBBCY",
"XXXXDXXXX",
"YCBBXBBCY",
"YACBXBCAY",
"YCACXCACY",
"YYYYXYYYY"
],
"result": {
"item": "ae2:creative_energy_cell"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,19 +519,22 @@ protected void buildRecipes(@NotNull Consumer<FinishedRecipe> consumer) {

ConditionalRecipe.builder().addCondition(modLoaded("ae2")).addRecipe(
ModShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, ResourceLocation.tryBuild("ae2", "creative_energy_cell"))
.pattern("CCCCXCCCC")
.pattern("CYYYXYYYC")
.pattern("CYYYXYYYC")
.pattern("CYYYXYYYC")
.pattern("XXXXXXXXX")
.pattern("CYYYXYYYC")
.pattern("CYYYXYYYC")
.pattern("CYYYXYYYC")
.pattern("CCCCXCCCC")

.pattern("YYYYXYYYY")
.pattern("YCACXCACY")
.pattern("YACBXBCAY")
.pattern("YCBBXBBCY")
.pattern("XXXXDXXXX")
.pattern("YCBBXBBCY")
.pattern("YACBXBCAY")
.pattern("YCACXCACY")
.pattern("YYYYXYYYY")

.define('A', Static.getIngredient("ae2", "vibration_chamber"))
.define('B', Static.getIngredient("ae2", "calculation_processor"))
.define('C', ModItems.infinity_ingot.get())
.define('D', Static.getIngredient("ae2", "cell_component_256k"))
.define('Y', Static.getIngredient("ae2", "dense_energy_cell"))
.define('X', Static.getIngredient("ae2", "engineering_processor"))
.define('X', Static.getIngredient("ae2", "singularity"))
.unlockedBy("has_item", has(Static.getItem("ae2", "dense_energy_cell")))::save
).build(consumer, Static.rl( "ae2_creative_energy_cell"));

Expand Down

0 comments on commit ccfe2f4

Please sign in to comment.