Skip to content

Commit

Permalink
Add block recipes for materials that has only dust and block (#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKono authored Feb 3, 2025
1 parent 71a2fe1 commit 225a53f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ public static void processDust(OrePrefix dustPrefix, Material mat, DustProperty
.inputs(dustStack)
.outputs(OreDictUnifier.get(OrePrefix.plate, mat))
.buildAndRegister();
} else if (!OreDictUnifier.get(block, mat).isEmpty()) {
COMPRESSOR_RECIPES.recipeBuilder()
.input(dust, mat, (int) (block.getMaterialAmount(mat) / M))
.output(block, mat)
.duration(300).EUt(2).buildAndRegister();
}

// Some Ores with Direct Smelting Results have neither ingot nor gem properties
Expand Down

0 comments on commit 225a53f

Please sign in to comment.