Skip to content

Commit

Permalink
Add upgrade recipe for regular energy card to greater
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Oct 16, 2022
1 parent e56bf3f commit 6f2c3b1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ protected void buildCraftingRecipes(@NotNull Consumer<FinishedRecipe> consumer)
.unlockedBy("has_advanced_card", has(AEItems.ADVANCED_CARD))
.unlockedBy("has_mega_energy_cell", has(MEGABlocks.MEGA_ENERGY_CELL))
.save(consumer, MEGACells.makeId("crafting/greater_energy_card"));
ShapelessRecipeBuilder.shapeless(MEGAItems.GREATER_ENERGY_CARD)
.requires(AEItems.ENERGY_CARD)
.requires(MEGABlocks.MEGA_ENERGY_CELL)
.unlockedBy("has_advanced_card", has(AEItems.ADVANCED_CARD))
.unlockedBy("has_mega_energy_cell", has(MEGABlocks.MEGA_ENERGY_CELL))
.save(consumer, MEGACells.makeId("crafting/greater_energy_card_upgraded"));
}

private void component(Consumer<FinishedRecipe> consumer, MEGATier tier, ItemLike binder) {
Expand Down

0 comments on commit 6f2c3b1

Please sign in to comment.